[hibernate-issues] [Hibernate-JIRA] Created: (HHH-7055) OrphanRemoval does not appear to work

Cavan Morris (JIRA) noreply at atlassian.com
Fri Feb 10 19:01:09 EST 2012


OrphanRemoval does not appear to work
-------------------------------------

                 Key: HHH-7055
                 URL: https://hibernate.onjira.com/browse/HHH-7055
             Project: Hibernate ORM
          Issue Type: Bug
          Components: core
    Affects Versions: 3.6.10, 3.5.6
         Environment: Fedora Linux 15 2.6.41.4-1.fc15.x86_64 
Sun Java JDK 1.7.0_01-b08 
Apache Maven 3.0.3 
MySQL 5.5.18
            Reporter: Cavan Morris
         Attachments: TestHibernate.tar.gz

A bidirectional, OneToMany User/UserRole relationship is created with orphanRemoval=true. Removing the UserRole from the User and saving the User results in a constrain violation.

Please extract the attached file run runTest2.sh to demonstrate the issue. Read the README.txt file for more information.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the hibernate-issues mailing list