[hibernate-dev] Possible to confirm that versioning is broken forPersistentSets?
Max Rydahl Andersen
max.andersen at jboss.com
Wed Sep 13 04:44:35 EDT 2006
> Is this the expected behavior that merging a collection will _always_
> cause a version update??
if there are additions/removals to the collection then yes.
The reason being that the actual collections are considered value types of
the entity.
If you don't want optimistic locking to fire here then set
optimistic-lock="false" on the association.
/max
>
> --[links]--
> http://opensource.atlassian.com/projects/hibernate/browse/HHH-1668
> http://opensource.atlassian.com/projects/hibernate/browse/HHH-1401
> http://opensource.atlassian.com/projects/hibernate/secure/attachment/12686/HHH1401Test.java
> _______________________________________________
> hibernate-dev mailing list
> hibernate-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/hibernate-dev
--
--
Max Rydahl Andersen
callto://max.rydahl.andersen
Hibernate
max at hibernate.org
http://hibernate.org
JBoss a division of Red Hat
max.andersen at jboss.com
More information about the hibernate-dev
mailing list