RE: Concurrent Users-Please Help!

"Vagula" <[email protected]>
Newsgroups gmane.comp.jakarta.ojb.user
Message-ID <1041E52C42DFED4A80FF1047E95E100401370CFD@BLRKECMSG03.ad.infosys.com>


	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***
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.