Hi,
What is your Pooing Utility?
Generally, JDBC Connection is TCP/IP's Socket.
After the Socket has been disconnected, we can not detect it by JDBC
interface. So, we have to detect it before we return a Connection
to the client.
Please see a source of my util class for Pooling, below.
if you intend to use mysql you could send down for instance "select 1" to
the database..
but this is not database independent since not all databases might be albe
to handle this type of query
but it is application independent when using mysql.
if you plan to use an other database some other form