code: public static String getIsolationLevelString(int level) {
          switch (level) {
              case Connection.TRANSACTION_NONE:
                  return "NONE (" + level + ')'; 
  
              case Connection.TRANSACTION_READ_UNCOMMITTED:
                  return "READ UNCOMMITTED (" + level + ')'; 
  
              case Connection.TRANSACTION_READ_COMMITTED:
                  return "READ COMMITTED (" + level + ')'; 
  
              case Connection.TRANSACTION_REPEATABLE_READ:
                  return "REPEATABLE READ (" + level + ')'; 
  
              case Connection.TRANSACTION_SERIALIZABLE:
                  return "SERIALIZABLE (" + level + ')'; 
                 
              case TRANSACTION_SNAPSHOT: 
              case TRANSACTION_SS_SNAPSHOT: 
                  return "SNAPSHOT (" + level + ')'; 
          }
  
          return "UNKNOWN ISOLATION LEVEL CONSTANT (" + level + ')'; 
      }
docs: Display the java.sql.Connection isolation level constant corresponding to the value
  supplied.
  
  @param level a valid java.sql.Connection transaction isolation level constant.
  
  @return the name of the constant, or a string indicating the constant is unknown.