users@glassfish.java.net

Re: restart connection pool

From: <glassfish_at_javadesktop.org>
Date: Sat, 09 Jun 2007 08:59:41 PDT

You can set connection-validation property to "true", validation-method as "table" and provide a valid table name. This will ensure that, for every getConnection() by the user, connection will be validated and then given to the user.
For more information on validation :
http://blogs.sun.com/JagadishPrasath/entry/connection_validation_in_glassfish_jdbc
http://docs.sun.com/app/docs/doc/819-3671/6n5si4bvj?a=view#ablir (Step 3)

Thanks,
-Jagadish
[Message sent by forum member 'jr158900' (jr158900)]

http://forums.java.net/jive/thread.jspa?messageID=221354