Why should I not use optimistic locking? In the Admin Guide "CHAPTER 4 
Transactions on JBoss - The JTA Transaction Service" it is mentioned as an 
alternativ to pessimistic locking. 

In my app I get sometimes deadlocks mostly on getting entities by different 
transactions. This could be solved by optimistic locking. On deadlock my app is 
hanging for a while (until timeout). An optimistic locking conflicting would 
happen immediately.

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

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


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to