openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeremy Bauer (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (OPENJPA-2141) Lazy fetch of embedded attributes does not work properly
Date Fri, 24 Feb 2012 13:54:48 GMT

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

Jeremy Bauer commented on OPENJPA-2141:
---------------------------------------

Fix and test committed to trunk (2.3.0) under rev 1293250.
                
> Lazy fetch of embedded attributes does not work properly
> --------------------------------------------------------
>
>                 Key: OPENJPA-2141
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-2141
>             Project: OpenJPA
>          Issue Type: Bug
>          Components: jdbc
>    Affects Versions: 2.3.0, 2.2.1
>            Reporter: Jeremy Bauer
>            Assignee: Jeremy Bauer
>
> OpenJPA's @Persistent annotation and configuration via OpenJPA's xml extensions provide
a mechanism to mark embedded fields lazy.  When trying to use this facility I found a couple
bugs.
> Bug 1: The xml extension does not process the fetch attribute, so the field is never
marked lazy.
> Bug 2: If marked lazy via the annotation or xml (with a fix) the lazy field does not
get loaded along with the entity (as expected), but then will not load when accessed.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message