We issue thousands of successful queries and then all of a sudden we get the above error randomly.
I have the following scenario. The TOracleSession.IsolationLevel = ilReadCommitted. I also issue a TOracleSession.SetTransaction(tmReadCommitted) for each transaction. I recently added a TOracleSession.Connected check before the above SetTransaction is issued. This is when the error started occurring. If I take the SetTransaction call away, the error has not resurfaced.
Why does this happen? and why not every time?
I have the following scenario. The TOracleSession.IsolationLevel = ilReadCommitted. I also issue a TOracleSession.SetTransaction(tmReadCommitted) for each transaction. I recently added a TOracleSession.Connected check before the above SetTransaction is issued. This is when the error started occurring. If I take the SetTransaction call away, the error has not resurfaced.
Why does this happen? and why not every time?