[hibernate-issues] [Hibernate-JIRA] Created: (HHH-6712) Bulk Insert/Delete

Martin Krüger (JIRA) noreply at atlassian.com
Wed Oct 5 14:30:19 EDT 2011


Bulk Insert/Delete
------------------

                 Key: HHH-6712
                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-6712
             Project: Hibernate Core
          Issue Type: New Feature
          Components: core
    Affects Versions: 4.0.0.CR4
            Reporter: Martin Krüger


Deletion with cascade is done object by object now. When entity A references entity B and one deletes several objects A, then b1 is deleted then a1, b2 then a2, and so on.

It would be more performant if the bulk operation first deletes all b's and then deletes all a's.

This could be done by collecting the id's of the entities and then delete all entries in one table. 

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