Hi all,
I want all my entity beans to use "Version Column Locking Strategy". Now, Is there any option to tell it globally??
Again, Why should I enter my locking policies to jbosscmp-jdbc.xml. I feel like the proper place should be jboss.xml of my ejb-jar . Say for order, my codes will be like this,
<entity> <ejb-name>Order</ejb-name> <optimistic-locking> <version-column/> <field-name>version_lock</field-name> <column-name>VERSION_LOCK</column-name> </optimistic-locking> </entity>