Closing connection

Closing connection

Postby krzychu » Wed 13 Jul 2005 22:45

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?
krzychu
 

Postby Paul » Thu 14 Jul 2005 07:32

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
Paul
 
Posts: 725
Joined: Thu 28 Oct 2004 14:06


Return to dotConnect for Oracle