You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openjpa.apache.org by "Rick Curtis (JIRA)" <ji...@apache.org> on 2014/08/20 04:16:19 UTC

[jira] [Closed] (OPENJPA-2524) Lazy fields are not updated in L2 cache.

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

Rick Curtis closed OPENJPA-2524.
--------------------------------

    Resolution: Duplicate

> Lazy fields are not updated in L2 cache.
> ----------------------------------------
>
>                 Key: OPENJPA-2524
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-2524
>             Project: OpenJPA
>          Issue Type: Bug
>    Affects Versions: 2.3.0
>            Reporter: brian yoder
>
> If you have a cached entity in the L2 cache and later fetch a LAZY field from the entity it will fetch it from the DB.  However it won't update the cached entity with the lazy field value, which is what I would expect.  It is prefered if the Entity would get updated in L2 cache, so that subsequent calls don't hit the DB again and again.



--
This message was sent by Atlassian JIRA
(v6.2#6252)