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

        But why should we put this code in jbosscmp-jdbc.xml ?? Is there any 
way around??
Regards,
Sajid.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3966355#3966355

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3966355
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to