Automatic reconnect

Automatic reconnect

Postby miwi » Wed 07 Jan 2009 15:55

Hi,

if an existing connection has been killed on the server side, DbxOda automatically reconnects when the next query is about to execute.

Is there a way to turn this feature off or at least to get notified when such a reconnect happens?

The problem here is that I have to set some session parameters and I use to do this in the AfterConnect event. The automatic reconnect, however, does not fire AfterConnect.

Using 4.20.0.10, Oracle client 10.2.0.1. Thanks for any help.

BTW, since when does this feature exist? I remember I built my own reconnect code when DbxOda 2.50 was current. Good old times...

miwi
miwi
 
Posts: 17
Joined: Thu 27 Jul 2006 10:42

Postby Plash » Fri 09 Jan 2009 10:22

In the next build of DbxOda we'll add the Reconnect boolean option that can be used to disable the reconnect. See the ReadMe.html file for the information on setting extended driver options.
Plash
Devart Team
 
Posts: 2844
Joined: Wed 10 May 2006 07:09

Postby miwi » Wed 04 Feb 2009 11:02

Plash wrote:In the next build of DbxOda we'll add the Reconnect boolean option that can be used to disable the reconnect.


Thank you. Is it contained in 4.40.14? I can't find the option in the history log.

miwi
miwi
 
Posts: 17
Joined: Thu 27 Jul 2006 10:42

Postby Plash » Wed 11 Feb 2009 09:04

Yes, this option is added in the build 4.40.14.
Plash
Devart Team
 
Posts: 2844
Joined: Wed 10 May 2006 07:09


Return to dbExpress driver for Oracle