Uploaded image for project: 'Cayenne'
  1. Cayenne
  2. CAY-2210

Query cache: incorrect cache key for queries with custom value objects

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.0.B1
    • Component/s: None
    • Labels:
      None

      Description

      If we map any ObjAttributes of an entity to custom value types that do not have a repeatable toString, our cache keys will stop working if these types are used as qualifier parameters.

      Per CAY-2050 ExtendedTypes now support unique toString. Perhaps we use this or a similar method for cache key generation (actually can't use ExtendedType.toString directly for the types that are trimming their display values, like arrays and Strings, so we'll need to amend that API to use for cache keys).

        Attachments

          Activity

            People

            • Assignee:
              ntimofeev Nikita Timofeev
              Reporter:
              andrus Andrus Adamchik
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: