I\'m having trouble with an Oracle update. The call to ExecuteNonQuery hangs indefinitely.
The code:
using (OracleCommand cmd = new OracleCommand(db
I'm bumping this due to its page rank in search results.
In my case, it was because I had executed a query in SqlPlus, but I forgot to commit it. In this case, it was as Vincent stated: the row was locked in another session.
Committing the SqlPlus update resolved the issue.