protected boolean readCommittedIsolationMaintained(String scenario) {
   int isolation = java.sql.Connection.TRANSACTION_READ_UNCOMMITTED;
   Session testSession = null;
   try {
     testSession = openSession();
     isolation =
         testSession.doReturningWork(
             new AbstractReturningWork<Integer>() {
               @Override
               public Integer execute(Connection connection) throws SQLException {
                 return connection.getTransactionIsolation();
               }
             });
   } catch (Throwable ignore) {
   } finally {
     if (testSession != null) {
       try {
         testSession.close();
       } catch (Throwable ignore) {
       }
     }
   }
   if (isolation < java.sql.Connection.TRANSACTION_READ_COMMITTED) {
     SkipLog.reportSkip(
         "environment does not support at least read committed isolation", scenario);
     return false;
   } else {
     return true;
   }
 }