There are two possibilities here. First, your database supports optimistic locking in
which case you can specify that in your *-ds.xml file. Second, you are using Hibernate for
persistence in which case it uses optimistic locking by default unless you can set the
optimistic-lock mapping attribute to false. You can read more about optimistic-lock in the
Hibernate docs.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4246218#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...