{
// MySQL will not terminate a query if it's waiting on a lock, but it will terminate a
// running query.
SQLConnection con = m_adapter.getConnection();
Statement stmt = null;
PersistenceException exception = null;
try
{
stmt = con.getConnection().createStatement();
stmt.setQueryTimeout(1); // test applications specified query timeout