Christian Bauer wrote:

Right now, Hibernate will increment an entity version number whenever a
property of the entity is modified and the entity is being saved. This
is true for modifications of simple properties, components, many-to-one
relationships and even collections of value types and collections for
one-to-many and many-to-many associations (thats basically all
modifications).


Not true. If the collection is inverse="true", manipulating the collection does /not/ update the
owner's version number!


I insist that the current behavior is also relationally correct.


-- Gavin King +61 410534454

Hibernate
[EMAIL PROTECTED]
http://hibernate.org

JBoss Inc
[EMAIL PROTECTED]
http://jboss.com



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

Reply via email to