isValid() call never returns on MySQL JDBC Connection

Posted by sfaiz on Stack Overflow See other posts from Stack Overflow or by sfaiz
Published on 2009-08-04T13:29:49Z Indexed on 2010/05/20 11:50 UTC
Read the original article Hit count: 193

Filed under:
|

Hi,

I have trying to check whether connection is valid or not and using isValid() method of java.sql.Connection. But this method doesn't return and hangs.

Is there anything I am missing or this method requires any configuration? Using mysql-connector-java-5.0.7-bin.jar

Thanks, Shahid

© Stack Overflow or respective owner

Related posts about mysql

Related posts about jdbc