A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
this week in the
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
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: Toplink locking
"exists" Clause on JPQL
Toplink witth JPA vs Toplink API
Is EJB is a solution
how to cache objects MANUALLY
Oracle Objects JDBC vs Hibernate/Toplink
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015