0 Replies Latest reply on Aug 20, 2006 11:42 PM by Sajid Moinuddin

    Questions about optimistic locking.

    Sajid Moinuddin Newbie

      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,


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