cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nikita Timofeev (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (CAY-2210) Query cache: incorrect cache key for queries with custom value objects
Date Fri, 31 Mar 2017 14:05:41 GMT

     [ https://issues.apache.org/jira/browse/CAY-2210?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Nikita Timofeev closed CAY-2210.
--------------------------------
    Resolution: Fixed

https://github.com/apache/cayenne/commit/5e9f0e0f6dd23f34fb755dc5eef966652f1d3ded

> Query cache: incorrect cache key for queries with custom value objects
> ----------------------------------------------------------------------
>
>                 Key: CAY-2210
>                 URL: https://issues.apache.org/jira/browse/CAY-2210
>             Project: Cayenne
>          Issue Type: Bug
>            Reporter: Andrus Adamchik
>            Assignee: Nikita Timofeev
>             Fix For: 4.0.M6
>
>
> 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).



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message