[hibernate-issues] [Hibernate-JIRA] Created: (HHH-4937) Exception while saving when using a set and an association to the same target class

Jean-Noel Rivasseau (JIRA) noreply at atlassian.com
Thu Feb 18 18:02:47 EST 2010


Exception while saving when using a set and an association to the same target class
-----------------------------------------------------------------------------------

                 Key: HHH-4937
                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-4937
             Project: Hibernate Core
          Issue Type: Bug
          Components: core
    Affects Versions: 3.3.1
         Environment: Linux Sun JDK 1.6
            Reporter: Jean-Noel Rivasseau
            Priority: Critical
         Attachments: list-association.zip

The attached files reproduce the problem. As you will see in the source files there are different variations: if you turn off the cascade on the association, it will work.

The exception is:

Exception in thread "main" org.hibernate.PropertyValueException: not-null property references a null or transient value: Computer._computersBackref


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