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

Jaroslaw Lewandowski (JIRA) noreply at atlassian.com
Mon Nov 15 06:55:13 EST 2010


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