I\'m having trouble with an Oracle update. The call to ExecuteNonQuery hangs indefinitely.
The code:
using (OracleCommand cmd = new OracleCommand(db
seems like the database is waiting for a commit/rollback so it locks the row. I would suggest adding
int nRowsAffected = cmd.ExecuteNonQuery(); cmd.Commit();