I'm testing OraDirect Mobile.
When I kill the session on Oracle server I can't close connection.
Calling Close() method throws exception ORA-01012.
So how I can close broken connection?
Closing connection
We cannot reproduce your problem. When we kill session using
OracleConnection raises error message and switches to OracleConnection.State=Closed. This is normal behaviour for processing of broken connection
Code: Select all
OracleConnection.Open();
.....
ALTER SYSTEM KILL SESSION '... , ...'
.....
OracleConnection.Close();