Hi Lasse! You get several instances of PersistenseBroker. Each broker handles on transaction at a time.
the broker have tre methods to handles transactions.. beginTransaction(); broker.commitTransaction(); broker.abortTransaction(); Regards Roland Carlsson ----- Original Message ----- From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, September 10, 2003 12:53 PM Subject: Transactions with PB-API > Hello everybody, > > how can I use several (concurrent) transactions using the PB-API. > With the ODMG-API I do something like > > Transaction tx = odmg.newTransaction(); > tx.begin(); > ... > > Lasse > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]