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

Jaroslaw Lewandowski (JIRA) noreply at atlassian.com
Wed Jan 12 04:17:05 EST 2011


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

Jaroslaw Lewandowski commented on HHH-5733:
-------------------------------------------

Will you please point me to the issue which this one might duplicate?

> 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