Page 1 of 1

Closing connection

Posted: Wed 13 Jul 2005 22:45
by krzychu
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?

Posted: Thu 14 Jul 2005 07:32
by Paul
We cannot reproduce your problem. When we kill session using

Code: Select all

  OracleConnection.Open();
.....
 ALTER SYSTEM KILL SESSION '... , ...'
.....
 OracleConnection.Close();
OracleConnection raises error message and switches to OracleConnection.State=Closed. This is normal behaviour for processing of broken connection