public static String nameForType(DatabaseVendor vendor, int jdbcType) {
    """
	Our own implementation of JDBCType.valueOf() that won't throw an exception in case of unknown type.
	
	@param jdbcType
	@return
    """
    for( JDBCType sqlType : JDBCType.class.getEnumConstants()) {
      if(jdbcType == sqlType.getVendorTypeNumber())
        return sqlType.name();
    }

    switch (vendor) {
      case ORACLE:
        switch (jdbcType) {
          case -101: return "TIMESTAMP WITH TIME ZONE";
          case -102: return "TIMESTAMP WITH LOCAL TIME ZONE";
        }
        break;
    }

    return "Unknown";
  }
public static String nameForType(DatabaseVendor vendor, int jdbcType) {
    for( JDBCType sqlType : JDBCType.class.getEnumConstants()) {
      if(jdbcType == sqlType.getVendorTypeNumber())
        return sqlType.name();
    }

    switch (vendor) {
      case ORACLE:
        switch (jdbcType) {
          case -101: return "TIMESTAMP WITH TIME ZONE";
          case -102: return "TIMESTAMP WITH LOCAL TIME ZONE";
        }
        break;
    }

    return "Unknown";
  }
public static String nameForType ( DatabaseVendor vendor , int jdbcType ) { for ( JDBCType sqlType : JDBCType . class . getEnumConstants ( ) ) { if ( jdbcType == sqlType . getVendorTypeNumber ( ) ) return sqlType . name ( ) ; } switch ( vendor ) { case ORACLE : switch ( jdbcType ) { case - 101 : return "TIMESTAMP WITH TIME ZONE" ; case - 102 : return "TIMESTAMP WITH LOCAL TIME ZONE" ; } break ; } return "Unknown" ; }
Our own implementation of JDBCType.valueOf() that won't throw an exception in case of unknown type.

@param jdbcType
@return
Our own implementation of JDBCType . valueOf () that won t throw an exception in case of unknown type .