Basically I have:
String query = \"SELECT * FROM table WHERE UNIQUEID=? AND DIR IS NOT NULL AND NAME IS NOT NULL AND PAGETYPE IS NOT NULL\";
DBConnect Databa
This is a MySQL settings issue. The response time of the MySQL server (60,621 ms in the example above) exceeds the MySQL server's configured wait_timeout value.
Solution
To resolve this issue, work with the MySQL database administrator to increase the value of the wait_timeout parameter.
Align Hibernate Configuration with you MySQL server to fix this problem.
This setting is configurable in the my.cnf file. By default, mysql sets this value to "28800" seconds. If this value has been modified from the default, consider reverting it back to the default to restore connectivity to the Datameer server.