Re: [dbcp] in DBCP 1.4 - Any auto-reconnect property available ?

2019-01-15 Thread Phil Steitz
On 1/15/19 2:59 PM, Matt Sicker wrote: One idea might be to invoke a crafted query for your connection check that fails every so often so it'll be forced to reconnect, though I haven't tried that before. I was thinking the same thing.  I am not sure how to do it, but I vaguely recall it being

Re: [dbcp] in DBCP 1.4 - Any auto-reconnect property available ?

2019-01-15 Thread Matt Sicker
One idea might be to invoke a crafted query for your connection check that fails every so often so it'll be forced to reconnect, though I haven't tried that before. On Tue, 15 Jan 2019 at 14:39, RAJIV S wrote: > > Hi Team, > > > In DBCP 1.4 is there any property which can help to disconnect and

[dbcp] in DBCP 1.4 - Any auto-reconnect property available ?

2019-01-15 Thread RAJIV S
Hi Team, In DBCP 1.4 is there any property which can help to disconnect and reconnect DB connection with in some specified time ? Actually , We are using DBCP 1.4 version in our application. It's a standalone Java processor code , developer some years ago, works well till now. Recently we

[dbcp] in DBCP 1.4 - Any auto-reconnect property available ?

2019-01-15 Thread RAJIV S
Hi Team, In DBCP 1.4 is there any property which can help to disconnect and reconnect DB connection with in some specified time ? Actually , We are using DBCP 1.4 version in our application. It's a standalone Java processor code , developer some years ago, works well till now. Recently we