[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - How to detect stale Connections ?

dimar1975 do-not-reply at jboss.com
Tue Mar 10 12:42:00 EDT 2009


Hi all !
I'd like to know if it's possible to detect when a Connection has gone stale.
I have tried with <check-valid-connection-sql> tag but this one seems to check a valid Sql only when the connection it's created.
I'd need to check periodically the status of DB.
P.s. I'm using JBoss 5.0 GA

thanks a lot
marco


View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4216655#4216655

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4216655



More information about the jboss-user mailing list