What I can see in the log is the following sequence. I am actually not sure regarding what I need to see in order to assure the connection is actually checked with the validation statement "select 1". It is not really there in any way.
2009-01-17 18:05:45,656 [http-80-2] DEBUG org.hibernate.transaction.JDBCTransaction - begin
2009-01-17 18:05:45,656 [http-80-2] DEBUG org.hibernate.transaction.JDBCTransaction - begin
2009-01-17 18:05:45,656 [http-80-2] DEBUG org.hibernate.jdbc.ConnectionManager - opening JDBC connection
2009-01-17 18:05:45,656 [http-80-2] DEBUG org.hibernate.jdbc.ConnectionManager - opening JDBC connection
2009-01-17 18:05:45,656 [http-80-2] DEBUG org.hibernate.transaction.JDBCTransaction - current autocommit status: true
2009-01-17 18:05:45,656 [http-80-2] DEBUG org.hibernate.transaction.JDBCTransaction - current autocommit status: true
2009-01-17 18:05:45,656 [http-80-2] DEBUG org.hibernate.transaction.JDBCTransaction - disabling autocommit
2009-01-17 18:05:45,656 [http-80-2] DEBUG org.hibernate.transaction.JDBCTransaction - disabling autocommit
2009-01-17 18:05:45,656 [http-80-2] ERROR org.hibernate.transaction.JDBCTransaction - JDBC begin failed
com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
and the exception
2009-01-17 18:05:45,656 [http-80-2] ERROR org.hibernate.transaction.JDBCTransaction - JDBC begin failed
com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
|