Hi,

        Let's say there is a Table A with columns Col1 (Id primary key), Col2, 
Col3, and Col4.
        Say the data for the combination of col2 and col3 should be unique.

        Both user1 and user2 are trying to insert (create) the same data
        Col1- (id self generated)
        Col2-A
        Col3-1
        Col4-abc

        In my case two rows are inserted.
        What are the settings that I can make for adding a single row and 
updating the same?

Regards,
Vagula

-----Original Message-----
From: Matthias Roth [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 05, 2006 11:50 AM
To: ojb-user@db.apache.org
Subject: RE: Concurrent Users-Please Help!

Hi
With the default settings from ojb it works.
But every thread must have it's one borker!

Matthias Roth


-----Ursprüngliche Nachricht-----
Von: Vagula [mailto:[EMAIL PROTECTED]
Gesendet: Dienstag, 5. September 2006 06:31
An: OJB Users List
Betreff: RE: Concurrent Users-Please Help!




        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



---------------------------------------------------------------------
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]

Reply via email to