A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Object Relational Mapping
Joined: Aug 27, 2003
May 10, 2010 00:02:33
Is there a default locking if we don't use locking explicitly in Toplink? If yes, is it pessimistic or optimistic.
Joined: Oct 01, 2007
May 10, 2010 07:32:32
The default is not locking in TopLink and JPA. You should configure either optimistic locking or pessimistic locking.
Normally optimistic locking is recommended for web applications, but it depends on your locking requirements.
Blog:Java Persistence Performance
Did you see how Paul
cut 87% off of his electric heat bill with 82 watts of micro heaters
subject: Toplink locking
Is EJB is a solution
Toplink witth JPA vs Toplink API
Oracle Objects JDBC vs Hibernate/Toplink
how to cache objects MANUALLY
"exists" Clause on JPQL
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013