Forget about the 500 transactions. The problem is this: with 300-500 objects in the session cache, a single transaction( with an single object inserted) takes about one second.
It simply does *not* take a second to dirty check 500 objects, dude. Nowhere even close. If you think you can prove that it does, send my the code to demonstrate this. It would have to be some kind of bug.
I certainly agree. I have had 100,000 objects in a Collection (I am assuming internally Hibernate is doing about the same), and looped over them doing all sorts of math and creating new objects and that code took less than a half a second.
There must be something else going on.
Patrick
------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ hibernate-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/hibernate-devel