From: <no...@at...> - 2005-06-22 14:24:52
|
The following comment has been added to this issue: Author: Michael Kopp Created: Wed, 22 Jun 2005 9:23 AM Body: Hibernate has a bulk insert feature. That is not the point of this bug. The only thing is that hibernate executes the bulk everytime the entity type changes. which happens all the time in a complex object model. If you only insert 1000 objects of the same type, the normal bulk feature is suffient. read the documentation on how to turn that on. --------------------------------------------------------------------- View this comment: http://opensource.atlassian.com/projects/hibernate/browse/HHH-1?page=comments#action_18458 --------------------------------------------------------------------- View the issue: http://opensource.atlassian.com/projects/hibernate/browse/HHH-1 Here is an overview of the issue: --------------------------------------------------------------------- Key: HHH-1 Summary: Optimize Hibernate for the bulk insertion of related entities Type: New Feature Status: Reopened Priority: Minor Original Estimate: Unknown Time Spent: Unknown Remaining: Unknown Project: Hibernate3 Components: core Assignee: Reporter: Bradley Leupen Created: Fri, 16 Apr 2004 10:57 AM Updated: Wed, 22 Jun 2005 9:23 AM Environment: Hibernate 1.2, MySql 3.1 Description: It is currently difficult to batch the creation of persistent entities that maintain associations with other entities. Add necessary api to hibernate to support the save or update of a collection of entities. An optimization can be applied in this scenario to group inserts / updates by entity class, or table. This will enable the hibernate engine to utilize batching if available, drastically improving performance over a network. --------------------------------------------------------------------- JIRA INFORMATION: 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 If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira |