cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrus Adamchik (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CAY-2084) ObjectIdQuery - no cache access polymorphism
Date Thu, 19 May 2016 10:40:12 GMT

    [ https://issues.apache.org/jira/browse/CAY-2084?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15290876#comment-15290876
] 

Andrus Adamchik commented on CAY-2084:
--------------------------------------

Also uncovered a similar issue in RelationshipQuery (when target uses inheritance)... Fixed
(without a test).

> ObjectIdQuery - no cache access polymorphism
> --------------------------------------------
>
>                 Key: CAY-2084
>                 URL: https://issues.apache.org/jira/browse/CAY-2084
>             Project: Cayenne
>          Issue Type: Bug
>    Affects Versions: 3.1.1, 4.0.M3
>            Reporter: Andrus Adamchik
>            Assignee: Andrus Adamchik
>            Priority: Minor
>             Fix For: 3.1.2, 4.0.M4
>
>
> https://lists.apache.org/thread.html/Zghdtqgnqhzlnxs 
> ObjectIdQuery with CACHE setting bypasses cache when the ID resolves to a subclass. E.g.
(using our unit test entities) :
> new ObjectIdQuery(
>   new ObjectId("AbstractPerson", "PERSON_ID", 1), 
>   false,
>    ObjectIdQuery.CACHE);



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message