[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: JBoss 4.2.1 Optimistic Locking - how to turn on

PeterJ do-not-reply at jboss.com
Mon Jul 27 10:47:55 EDT 2009


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

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4246218



More information about the jboss-user mailing list