the transaction. My code is like this

Tranaction tx=sessiob.beginTransaction();
foo.setField(newValue);
tx.commit();


Well, obviously it is not like that, since that code does not load any objects into the session.

1. When the commit() is called, will the hibernate
loop through every object in the session
and check for modification?

Yes.

2. If it does, is it an expensive operation?


No, not at all.


Any suggestion to solve the performance bottleneck in
my situation is really appreacited.


Exactly what does your code *really* look like?





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

Reply via email to