isValid() call never returns on MySQL JDBC Connection
- by sfaiz
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