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

Richard Zowalla resolved OPENJPA-2141.
--------------------------------------
    Resolution: Fixed

Already fixed in an earlier release (d03434b55); closing.

> 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.2.1, 2.3.0
>            Reporter: Jeremy Bauer
>            Assignee: Jeremy Bauer
>            Priority: Major
>
> 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 was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to