You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cayenne.apache.org by "Arseni Bulatski (JIRA)" <ji...@apache.org> on 2019/01/18 13:18:00 UTC
[jira] [Closed] (CAY-2509) Result of resolving lazily faulted
relationships can be out-of-date
[ https://issues.apache.org/jira/browse/CAY-2509?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Arseni Bulatski closed CAY-2509.
--------------------------------
Resolution: Fixed
> Result of resolving lazily faulted relationships can be out-of-date
> -------------------------------------------------------------------
>
> Key: CAY-2509
> URL: https://issues.apache.org/jira/browse/CAY-2509
> Project: Cayenne
> Issue Type: Bug
> Components: Core Library
> Affects Versions: 4.2.M1
> Reporter: Arseni Bulatski
> Priority: Major
> Labels: pull-request-available
> Fix For: 4.2.M1
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> Resolving lazily faulted to-one and to-many relationships can be out-of-date when you expect up-to-date data from database.
> This happened because of getting data from snapshot cache instead of database.
> Case:
> 1) Create context
> 2) Select Artist from database, then get artist's paintings
> 3) direct update painting table
> 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)