ODAC Version : 4.15.1.14
Dynamic TOraSession Create, Below That code....
function MySessionOpen( var MySession : TOraSession ) : TOraSession ;
begin
MySession := TOraSession.Create(nil);
MySession.ConnectString := ConnectStr ;
MySession.Options.Net := True ;
MySession.Connected := True ;
Result := MySession ;
end ;
procedure MySessionClose( var MySession : TOraSession ) ;
begin
MySession.Connected := False;
MySession.Free ;
end;
I have a quest, Why don't release Oracle session... Still alive session in not active....