[hibernate-issues] [Hibernate-JIRA] Created: (HHH-6007) Constraint violation when re-adding an entity to a one-to-many association in a recursive data structure (tree)

Horst Sdun (JIRA) noreply at atlassian.com
Fri Mar 11 11:39:08 EST 2011


Constraint violation when re-adding an entity to a one-to-many association in a recursive data structure (tree)
---------------------------------------------------------------------------------------------------------------

                 Key: HHH-6007
                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-6007
             Project: Hibernate Core
          Issue Type: Bug
          Components: core
    Affects Versions: 3.6.2
         Environment: Hibernate 3.6.2, JVM 1.6.0_23, 
Testet with Derby 10.7.1.1, Derby 10.6.2.1, HSQLDB 1.8.0.1
            Reporter: Horst Sdun
            Priority: Minor
         Attachments: hibernate-test.zip

i got an exception from the database when removing an unidirectional associated one-to-many entity and re-add it to another entity (of the same class as removed from) the attached example reproduces this. please execute org.sdun.hibernate.test.tree.TreeTest. ich have not found any contraindication for this case in the jpa 2.0 spec. (and i expected pojo behaviour :-)


 

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