Arseni Bulatski created CAY-2509:
------------------------------------

             Summary: Lazily faulted relationships can return not updated data
                 Key: CAY-2509
                 URL: https://issues.apache.org/jira/browse/CAY-2509
             Project: Cayenne
          Issue Type: Improvement
          Components: Core Library
    Affects Versions: 4.2.M1
            Reporter: Arseni Bulatski
             Fix For: 4.2.M1


Lazily faulted to-one and to-many relationships can return not updated data.

This happened because of getting data from snapshot cache instead of database.

Case:

1) Create context

2) Select Artist from database, than get artist's paintings

3) direct update painting (don't use commitChanges)

4) Create new context

5) Do step 2

Painting from step 5 is not updated.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to