You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cayenne.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2019/01/09 10:18:00 UTC
[jira] [Commented] (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:comment-tabpanel&focusedCommentId=16738068#comment-16738068 ]
ASF GitHub Bot commented on CAY-2509:
-------------------------------------
GitHub user aarrsseni opened a pull request:
https://github.com/apache/cayenne/pull/359
CAY-2509 Result of resolving lazily faulted relationships can be out-…
…of-date
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/aarrsseni/cayenne CAY-2509
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/cayenne/pull/359.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #359
----
commit 30b95678575e3fce71298b1cc50082000956b16a
Author: Arseni Bulatski <an...@...>
Date: 2019-01-09T10:14:49Z
CAY-2509 Result of resolving lazily faulted relationships can be out-of-date
----
> 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
>
>
> 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)