[hibernate-issues] [Hibernate-JIRA] Created: (HHH-4730) Entries not deleted from join table when an entity is deleted

Adam Warski (JIRA) noreply at atlassian.com
Tue Dec 22 10:12:29 EST 2009


Entries not deleted from join table when an entity is deleted
-------------------------------------------------------------

                 Key: HHH-4730
                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-4730
             Project: Hibernate Core
          Issue Type: Bug
          Components: envers
            Reporter: Adam Warski
            Assignee: Adam Warski
            Priority: Minor


In a many-to-many unidirectional (A->B) relation, if the B entity is deleted, without removing it from the collection in A, then the entry in the join table isn't removed. This only causes a desynchronization between "norma" and audit tables if there's a foreign key with a on delete cascade in the join table.

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