There's an error in my first post.

I have a list of entities in a parent-child relationship. Now If I change an
entity in the list everything is fine. The versions of the changed entity
and the parent are updated only.
But if I add or remove an element to or from the list of children ALL child
entity versions are increased in the list. I suppose this is the optimistic
lock protection mechanism Mark mentioned.

So I guess there is no way to intercept this behaviour?



--
View this message in context: 
http://openjpa.208410.n2.nabble.com/Why-is-parent-version-incremented-on-update-of-child-entity-tp7582115p7582581.html
Sent from the OpenJPA Users mailing list archive at Nabble.com.

Reply via email to