I get the broker from the PB pool.
I close the transaction in a finally block,
Please let me know
1. What are the settings that are to be made for handling concurrent
transaction using PB API?
Regards,
Vagula
-----Original Message-----
From: Matthias Roth [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 05, 2006 2:24 AM
To: [email protected]
Subject: AW: Concurrent Users-Please Help!
Hi
How do you get the broker?
In your code snip the statement
broker=PersistenceBrokerFactory.defaultPersistenceBroker();
and
broker.close is missing. Where do you do this calls?
is missing. where do you do this calls?
Matthias Roth
-----Ursprüngliche Nachricht-----
Von: Vagula [mailto:[EMAIL PROTECTED]
Gesendet: Montag, 4. September 2006 14:52
An: OJB Users List
Betreff: RE: Concurrent Users-Please Help!
Hi All,
I'm using:
1. OJB version 1.0
2. The block looks like:
broker.beginTransaction();
broker.store(Object);
broker.commitTransaction();
Regards,
Vagula
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
**************** CAUTION - Disclaimer *****************
This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely
for the use of the addressee(s). If you are not the intended recipient, please
notify the sender by e-mail and delete the original message. Further, you are
not to copy, disclose, or distribute this e-mail or its contents to any other
person and any such actions are unlawful. This e-mail may contain viruses.
Infosys has taken every reasonable precaution to minimize this risk, but is not
liable for any damage you may sustain as a result of any virus in this e-mail.
You should carry out your own virus checks before opening the e-mail or
attachment. Infosys reserves the right to monitor and review the content of all
messages sent to or from this e-mail address. Messages sent to or from this
e-mail address may be stored on the Infosys e-mail system.
***INFOSYS******** End of Disclaimer ********INFOSYS***
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]