How to avoid blocking in transactions?
Hi all,
is it possible to let a transaction fail instead of block if it encounters a locked row?
Example:
In session A I could do
SELECT * FROM table WHERE id=12345 FOR UPDATE
When issueing the very same statement in session B the statement blocks (waits, hangs) until a commit or rollback is issued in session A. I would prefer to let the second session's SELECT fail instead of block.
How can I do this?
Thanks for your help!
Kind regards, Stephan
Subject
Views
Written By
Posted
How to avoid blocking in transactions?
2677
July 22, 2008 07:51AM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.