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

Jaroslaw Lewandowski (JIRA) noreply at atlassian.com
Mon Jan 10 16:24:05 EST 2011


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

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

I think that the unit test attached is simple enough and clear showing where issue occurs. 


> 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