[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-5733) PersistenceUnitUtil.getIdentifier returns null for lazy loaded relations.

Alan O'Leary (JIRA) noreply at atlassian.com
Tue Jan 11 04:22:05 EST 2011


    [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-5733?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=39561#action_39561 ] 

Alan O'Leary commented on HHH-5733:
-----------------------------------

The test case is clear and concise and shows the problem - We have a workaround in place because of this bug at the moment. Please see test case for reproducable bug.

> PersistenceUnitUtil.getIdentifier returns null for lazy loaded relations.
> -------------------------------------------------------------------------
>
>                 Key: HHH-5733
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-5733
>             Project: Hibernate Core
>          Issue Type: Bug
>          Components: entity-manager
>    Affects Versions: 3.6.0, 3.6.1
>            Reporter: Jaroslaw Lewandowski
>         Attachments: IdentityTest.tgz
>
>
> Test unit attached. Basically when entity A references entity B which is lazy loaded then calling 
> PersistenceUnitUtil.getIdentifier(A.getB())
> might return null.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the hibernate-issues mailing list