You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openjpa.apache.org by "Albert Lee (JIRA)" <ji...@apache.org> on 2014/06/03 22:22:01 UTC

[jira] [Updated] (OPENJPA-2508) LEFT JOIN FETCH not honored when data cache is enabled

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

Albert Lee updated OPENJPA-2508:
--------------------------------

    Attachment: OPENJPA-2508.221x.patch

> LEFT JOIN FETCH not honored when data cache is enabled
> ------------------------------------------------------
>
>                 Key: OPENJPA-2508
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-2508
>             Project: OpenJPA
>          Issue Type: Bug
>          Components: datacache
>    Affects Versions: 2.2.2, 2.2.1.1
>            Reporter: Albert Lee
>         Attachments: OPENJPA-2508.221x.patch, OPENJPA-2508.test.zip
>
>
> In a simple JPQL with left join fetch for a lazy loaded association specified and data cached enabled, first time the query executed, the lazy loaded association get loaded, returned and cached. Subsequent invocation of the same query does NOT "load" and return the association from the query invocation.
> I'll attach a test case to reproduce the problem.



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