List Info

Thread: Active connection




Active connection
user name
2006-10-25 14:24:56
You'll need to use a ping query to make sure that the
connection is valid.

Something like this:

http://w
ww.mail-archive.com/ibatis-user-javaincubator.apache.org/msg02651.html

Larry


On 10/25/06, Dorin Manoli <Dorin.Manolidataireland.ie> wrote:
>
>
>
>
> Hi ALL! I'm wondering if is there any way to see if a
connection is active
> or not (didn't found in docs), because I got exceptions
when I loose DB
> connection and have to reconnect.
>
> Need a nice way to do that, not catching exceptions.
[1]

about | contact  Other archives ( Real Estate discussion Medical topics )