} // end finally
logger.info("Queue is cleaned.");
}
private void lockMaxMinTables(Connection connection) throws SQLException {
DatabaseType databaseType = DatabaseType.other;
try {
databaseType = DatabaseCreator.getDatabaseType(connection);
} catch (Exception e) {
logger.error("Error evaluating database type", e);
}