Re: JDBC-Pool: Reconnect the connection upon failures; retry queries; etc.

2014-06-19 Thread Miroslav Nachev
Hi Chris, There are 2 cases: - When we try to execute some statement and the connection is lost, we would like to retry some times, to show Popup Window to the client with notification, etc. - We have application, which depends on another database application. If the connection to

Re: JDBC-Pool: Reconnect the connection upon failures; retry queries; etc.

2014-06-19 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Miro, On 6/19/14, 9:42 AM, Miroslav Nachev wrote: > Is it possible to configure JDBC-Pool for the following > functionality or I need to write my own interceptors and > Validator? > > - Retry N times to getConnection() for OnBorrow/OnConnect and >

JDBC-Pool: Reconnect the connection upon failures; retry queries; etc.

2014-06-19 Thread Miroslav Nachev
Hi All, Is it possible to configure JDBC-Pool for the following functionality or I need to write my own interceptors and Validator? - Retry N times to getConnection() for OnBorrow/OnConnect and WhileIdle; - Wait X ms between each Retry. Are there any examples? Regards, Miro.