openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (OPENJPA-2508) LEFT JOIN FETCH not honored when data cache is enabled
Date Wed, 11 Jun 2014 22:01:05 GMT

    [ https://issues.apache.org/jira/browse/OPENJPA-2508?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14028467#comment-14028467
] 

ASF subversion and git services commented on OPENJPA-2508:
----------------------------------------------------------

Commit 1602032 from [~jpaheath] in branch 'openjpa/branches/2.2.1.x'
[ https://svn.apache.org/r1602032 ]

OPENJPA-2508: Account for JOIN FETCH statements when loading from the Query Cache.  Back ported
to 2.2.1.x Rick's trunk commit.

> 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, 2.3.0, 2.4.0
>            Reporter: Albert Lee
>            Assignee: Heath Thomann
>              Labels: datacache, querycache
>             Fix For: 2.4.0
>
>         Attachments: OPENJPA-2508.221x.patch, OPENJPA-2508.test.zip, qcsq.v2.patch
>
>
> 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)

Mime
View raw message