code: public static TransactionIsolation forName(String v)
     {
        if (v != null && !v.trim().equals(""))
        {
           if ("TRANSACTION_READ_UNCOMMITTED".equalsIgnoreCase(v) || "1".equalsIgnoreCase(v))
           {
              return TRANSACTION_READ_UNCOMMITTED;
           }
           else if ("TRANSACTION_READ_COMMITTED".equalsIgnoreCase(v) || "2".equalsIgnoreCase(v))
           {
              return TRANSACTION_READ_COMMITTED;
           }
           else if ("TRANSACTION_REPEATABLE_READ".equalsIgnoreCase(v) || "4".equalsIgnoreCase(v))
           {
              return TRANSACTION_REPEATABLE_READ;
           }
           else if ("TRANSACTION_SERIALIZABLE".equalsIgnoreCase(v) || "8".equalsIgnoreCase(v))
           {
              return TRANSACTION_SERIALIZABLE;
           }
           else if ("TRANSACTION_NONE".equalsIgnoreCase(v) || "0".equalsIgnoreCase(v))
           {
              return TRANSACTION_NONE;
           }
        }
        return null;
     }
docs: Static method to get an instance
  
  @param v The value
  @return The instance