title: catch locked oracle sql record c#
body: <p>I try to update a record via c#. It works fine, but if someone else edits the same record and doesnt commit or rollback it (so the transaction is still open) the program freezes until it gets commited or rollbacked. its not a problem, but i dont want the programm to freeze. it should print an error or something. </p>
  
  <p>any clues to catch it?</p>