[hibernate-issues] [Hibernate-JIRA] Created: (HHH-2700) 'org.hibernate.AssertionFailure: null owner' while using DOM4J EntityMode and property-ref with collection

Brice Giesbrecht (JIRA) noreply at atlassian.com
Sat Jun 30 20:29:52 EDT 2007


'org.hibernate.AssertionFailure: null owner' while using DOM4J EntityMode and property-ref with collection
----------------------------------------------------------------------------------------------------------

                 Key: HHH-2700
                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-2700
             Project: Hibernate3
          Issue Type: Bug
          Components: core
    Affects Versions: 3.2.4.sp1
         Environment: Hibernate 3.2.4.sp1 DB: PostgreSQL version: 8.1.9  JDBC: PostgreSQL 8.1 JDBC3 with SSL (build 404) JDK 1.5
            Reporter: Brice Giesbrecht
            Priority: Minor
         Attachments: hib_info.txt

2007-06-30 20:18:18,869 [main] DEBUG org.hibernate.engine.TwoPhaseLoad - resolving associations for [Header#10001]
2007-06-30 20:18:18,873 [main] DEBUG org.hibernate.engine.loading.LoadContexts - creating collection wrapper:[Header.details#1000]

The PersistentElementHolder constructor is trying to locate the owner ((EntityKey[Header#100001]) ) of a collection using the owner's key but the key is the property-ref value so it is not being found in the PersistenceContext as it is looking it up with EntityKey[Header#1000].

-- 
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