> We'd also have to set the LockManager property to pessimistic to get  
> database locks.

Hmm. It would seem that the LockManager should default to pessimistic
when Optimistic=false. Any reason why this is not the case?

-Patrick

-- 
Patrick Linskey
BEA Systems, Inc. 

_______________________________________________________________________
Notice:  This email message, together with any attachments, may contain
information  of  BEA Systems,  Inc.,  its subsidiaries  and  affiliated
entities,  that may be confidential,  proprietary,  copyrighted  and/or
legally privileged, and is intended solely for the use of the individual
or entity named in this message. If you are not the intended recipient,
and have received this message in error, please immediately return this
by email and then delete it. 

> -----Original Message-----
> From: Abe White [mailto:[EMAIL PROTECTED] 
> Sent: Tuesday, February 13, 2007 10:59 AM
> To: open-jpa-dev@incubator.apache.org
> Subject: Re: pessimistic locking
> 
> We'd also have to set the LockManager property to pessimistic to get  
> database locks.  And just to build on what Patrick is saying: 
> OpenJPA  
> can do locking within optimistic transactions on individual  
> instances, but you have to set a lock level on the FetchPlan 
> in code,  
> which I don't think we can do in this benchmark.
> ______________________________________________________________
> _________
> Notice:  This email message, together with any attachments, 
> may contain
> information  of  BEA Systems,  Inc.,  its subsidiaries  and  
> affiliated
> entities,  that may be confidential,  proprietary,  
> copyrighted  and/or
> legally privileged, and is intended solely for the use of the 
> individual
> or entity named in this message. If you are not the intended 
> recipient,
> and have received this message in error, please immediately 
> return this
> by email and then delete it.
> 

Reply via email to