jdbc-protolib/src/main/java/com/streamsets/pipeline/lib/jdbc/multithread/TableContextUtil.java
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";
  }
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 .