I do session.update(myobject);
Hibernate will always increase the version number.
But myobject properties may not have been updated for real (business speaking), so no need to update the business version number.
Christian Bauer wrote:
On 22 Apr (14:16), Emmanuel Bernard wrote:
This is especially true when reattaching objects. sometimes, reattaching it will update the version number wo any "real" modification.
What is "sometimes"? :)
------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ hibernate-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/hibernate-devel