How to enable Optimistic locking with container managed transactions
0 posts in topic
Flat View  Flat View

Posted By:   Manu_Gupta
Posted On:   Sunday, May 17, 2009 08:12 PM

We have upgraded our application with EJB 3.0.
The ORM is hibernate with mapping files configured to use concurrency id.
The container managed transactions are doing pessimistic locking.
Is it possible to do optimistic locking in container managed transactions.

Before upgarding to ejb3.0 when we were using only hibernate the system was working correctly using optimistic locking.

About | Sitemap | Contact