[hibernate-issues] [Hibernate-JIRA] Created: (HHH-2323) Insert on an object with oneto many relationship becomes slow in some machines
Krishnan Natesan (JIRA)
noreply at atlassian.com
Thu Dec 21 13:51:04 EST 2006
Insert on an object with oneto many relationship becomes slow in some machines
------------------------------------------------------------------------------
Key: HHH-2323
URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-2323
Project: Hibernate3
Type: Bug
Components: core
Versions: 3.1.1
Environment: using jdk1.4.2 on windows mcahine xp professional., hibernate 3.1.1, SQL server 2005 using jdbc driver from mticrsoft
Reporter: Krishnan Natesan
My application picks up messages from a message queue and persists two objects with one to many relationship.
The objects are
Object A --------< Object B
There are about 4000 messages that need to be persisted.
The Object A would be instered from the first message and in all subsequent messages the same object would be used.
Each message has One Object A and 900 Object Bs.
In one machine the persistence is fast about 50 mins while in the other it takes about 5 hrs. While when I did the persistence with jdbc in both machines it was 50 mins
To me it looks like in the slower machine hibernate is not doing bacth inserts.
--
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