Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

deadlocks

586555Jul 5 2007 — edited Jul 5 2007
Hello,

I have a web application and I am cunstantly getting this error:

Transaction (Process ID 66) was deadlocked on lock | communication buffer resources with another process and has been chosen as the deadlock victim. Rerun the transaction.

I have located the line that gives me this error. I am trying to run this:
UPDATE sentnewsletter
SET downloaded = '1',
downloadtime = CASE WHEN downloadtime is null THEN '<a download time here>' ELSE downloadtime END,
downloadedtimes = CASE WHEN downloadedtimes is null THEN '1' when downloadedtimes > 10 THEN '10' ELSE cast(downloadedtimes as int) + 1 END
WHERE id = '<an id here>'

Is this query wrong by it's self...?
Is the error I am getting in relevence with anything else in my application or is this query wrong by it slef..?

Thank you
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 2 2007
Added on Jul 5 2007
3 comments
290 views