Oracle Update Hangs

后端 未结 6 1354
忘掉有多难
忘掉有多难 2020-12-10 05:04

I\'m having trouble with an Oracle update. The call to ExecuteNonQuery hangs indefinitely.

The code:

using (OracleCommand cmd = new OracleCommand(db         


        
6条回答
  •  独厮守ぢ
    2020-12-10 05:48

    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.

提交回复
热议问题