Hello Vincent,

> Hi,
>  
>  
> How can I use a lock mechanism with the PB API?

The OJB PB does support optimistic locking based on timestamps and versions.
http://db.apache.org/ojb/faq.html#How%20to%20set%20up%20Optimistic%20Locking

> Is there a way to use pessimistic lock mechanism with this API?
No the PB does not provide any mechanisms to work with pessimistic locking.

The OJB ODMG API provides a pessimistic lock manager:
http://db.apache.org/ojb/lockmanager.html

cu,
Thomas

>  
> Thanks.
>  
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to