cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Savva Kolbachev (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (CAY-1609) Cache becomes invalid when an object with a qualifier is added or removed
Date Thu, 12 Mar 2015 13:11:38 GMT

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

Savva Kolbachev reassigned CAY-1609:
------------------------------------

    Assignee: Savva Kolbachev

> Cache becomes invalid when an object with a qualifier is added or removed
> -------------------------------------------------------------------------
>
>                 Key: CAY-1609
>                 URL: https://issues.apache.org/jira/browse/CAY-1609
>             Project: Cayenne
>          Issue Type: Bug
>          Components: Core Library
>    Affects Versions: 3.0.2
>         Environment: Ubuntu 10.10 - OpenJDK 6 - Tomcat 6
>            Reporter: Trevor Higgins
>            Assignee: Savva Kolbachev
>
> Using a primary key to retrieve an object via DataObjectUtils and then retrieving a List
relationship via that object results in extremely stale (read: blatantly incorrect) results
when an object which is subclassed and uses a qualifier (in my case a single column single
character) is added or destroyed unless the relationship is modified on the parent object
(i.e. the one retrieved via its PK)
> In short: the relationships between two objects and the object cache become corrupt when
at least one of them uses a qualifying field unless the relationships are explicitly modified
from the retrieving side on both creation and upon deletion.
> I understand that the object cache can become stale, but this is within the same context
over and over again and it does not go away, it does not fix itself over time (which would
mean a possible race condition)



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

Mime
View raw message