Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to handle Transaction table locking
Message
De
14/08/2008 05:39:44
 
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Versions des environnements
Environment:
VB.NET 1.1
OS:
Windows XP SP2
Divers
Thread ID:
01338771
Message ID:
01338802
Vues:
19
Hi Maurizio Domba,

Thanks for reply. Just as you mentioned, both of the users were entering the same unique key. I have added some extra checking functions to prevent this.

Is there any other conditions that may cause the BO.Save() fails and lock the table? I notice that by using Transaction, it will lock the table but not Try and Catch. I would like to prevent any table locking when BO.Save() fails and make the whole application hangs.

Any advice would be greatly appreciated, thanks.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform