Page 1 of 1

Automatic reconnect

Posted: Wed 07 Jan 2009 15:55
by miwi
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

Posted: Fri 09 Jan 2009 10:22
by Plash
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.

Posted: Wed 04 Feb 2009 11:02
by miwi
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

Posted: Wed 11 Feb 2009 09:04
by Plash
Yes, this option is added in the build 4.40.14.