Hi Thomas,

while backporting the DB auto-reconnect issue I have lots of conflicts, so I have to fully understand the code to resolve it ;-). So here's my question:

In the ConnectionRecoveryManager there are various methods (eg. executeStmt) that have a trial-loop which tries 2 times before giving up. IIUC, this is for the case when a connection is broken and needs to be reestablished. I assume the first call to the connection results in an SQLException indicating the connection is broken and thus we need a second loop in which the connection is re-established.

Is this correct?

Are there other subtle things I have to be careful about?

Thanks,
Alex

--
Alexander Klimetschek
[EMAIL PROTECTED]




Reply via email to