ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Clinton Begin <clinton.be...@gmail.com>
Subject Re: DaoManager reconnection
Date Sun, 27 Feb 2005 04:39:15 GMT
If I understand your question properly....your database went down and
your connections are now "stale" or otherwise invalid.  With a
connection pool, you shouldn't have to worry about this, but you might
have to enable connection validation.  Configuring this is different
for each connection pool.  iBATIS calls it a ping query, DBCP calls it
a validation query.  Instructions for configuring both are in the
iBATIS guide.  If you're using a container managed solution, you'll
have to check the documentation for your app server.


On Fri, 25 Feb 2005 11:48:19 -0800 (PST), Roger Baeza
<rogerimo@yahoo.com> wrote:
> Hi all, have a nice day!!!
> How i can do for reconnected my daomanager where
> database is break down?
> thanks all
> __________________________________
> Do you Yahoo!?
> Yahoo! Mail - You care about security. So do we.
> http://promotions.yahoo.com/new_mail

View raw message