PROTECTED]
Sent: Friday, October 17, 2003 11:30 AM
To: OJB Users List
Subject: Re: Connection failed if DB restarted?
Hi Andrew,
you can use the 'validationQuery' attribute of connection-pool element to
specify a validation query. This query will be executed each time before a
conn
Hi Armin,
Armin Waibel [EMAIL PROTECTED] wrote:
> I propose to add the associated JdbcConnectionDescriptor
> as argument too
>
> >>>=
> >>>ConnectionValidator.java
> >>>=
> >>>package org.apache.ojb.broker.accesslayer;
> >>>
> >>>public interface Co
Hi again,
this sounds great!
I propose to add the associated JdbcConnectionDescriptor
as argument too
>=
>ConnectionValidator.java
>=
>package org.apache.ojb.broker.accesslayer;
>
>public interface ConnectionValidator
>{
>public boolean isValid(
Hi Armin,
Armin Waibel [EMAIL PROTECTED] wrote:
> On Fri, 17 Oct 2003 11:54:56 -0400, Justis Peters <[EMAIL PROTECTED]>
> wrote:
> >Could we handle this by defining an interface and allowing users to
> >specify their own tester class? Here is what I am picturing:
> >
> yes this will be possible
Hi again,
On Fri, 17 Oct 2003 11:54:56 -0400, Justis Peters <[EMAIL PROTECTED]>
wrote:
Hi Armin,
Could we handle this by defining an interface and allowing users to
specify their own tester class? Here is what I am picturing:
yes this will be possible, but can you describe
what's the advanta
Hi Armin,
Could we handle this by defining an interface and allowing users to specify their own
tester class? Here is what I am picturing:
=
ConnectionValidator.java
=
package org.apache.ojb.broker.accesslayer;
public interface ConnectionValidato
Hi Andrew,
you can use the 'validationQuery' attribute of connection-pool
element to specify a validation query. This query will be executed
each time before a connection was delivered by the pool.
Any proposals to make this more sophisticated are
welcome.
regards,
Armin
On Fri, 17 Oct 2003 11:20: