Web appliction is getting hanged.... 2004-07-12 - By Tim Wood
Back At 11:41 PM 07/11/04, you wrote: >Thanks a lot Tim, > >I understand Deadlock condition you mentioned. But Im not able to understand >the last line >'I would also look at checking for the existing row in the insert >qualification, not a separate select.' >Is this means that , I can directly insert the data and if SQL exception >throws in case of DuplicateKeyException then return otherwise insert is >automatically successful.
Basically, yes. This way you make the exception case explicit. TW
=========================================================================== To unsubscribe, send email to listserv@(protected) and include in the body of the message "signoff J2EE-INTEREST". For general help, send email to listserv@(protected) and include in the body of the message "help".
|
|