Hi Keshav,
with transactions.
Kind regards
Juergen Hoffmann
Keshav Murthy Srinivas schrieb:
> Hi,
>
> We have Registration form in our application
developed using turbine 2.2, and on click of save button the
data is getting saved in MS SQL database and a unique
registration ID is generated in the code and saved in table
and also displayed to the user. The table column in which
this ID is stored is also the Primary Key column. However if
the save button is clicked by multiple users at same time
we are getting exception because of primary key violation.
My question is how can we avoid getting this exception when
multiple savings happen at same time?
>
> Regards,
> keshav
> !EXCUBATOR:1,453dff5e53074997310972!
------------------------------------------------------------
---------
To unsubscribe, e-mail: turbine-user-unsubscribe jakarta.apache.org
For additional commands, e-mail: turbine-user-help jakarta.apache.org |