is there a possibility to apply optimistic lock strategy for associated tables which are declared in a set of the class mapping inside a composite-element?
I have the following mapping:
Code:
<class name="A" table="SOMETABLE">
...
<set table="OTHERTABLE" ...>
<key .../>
<composite-element class="MyClass">
...
</composite-element>
</set>
</class>
optimistic-lock in the class element is fine but I would need this feature also in a composite -element, for the OTHERTABLE.
Any Help is appreciated
Thanks,
Alex.
I use
Hibernate version:2.1.7