Program: 64618
Project: 64618
Buggy source:
/** 
 * Return the JDBC type (as int) for a given type name.
 */
public static int getJDBCTypeFromTypeName(String typeName){
  int jdbcType=Types.OTHER;
  if (typeName.equals(NUMERIC_STR)) {
    jdbcType=Types.NUMERIC;
  }
 else   if (typeName.equals(VARCHAR_STR)) {
    jdbcType=Types.VARCHAR;
  }
 else   if (typeName.equals(VARCHAR2_STR)) {
    jdbcType=Types.VARCHAR;
  }
 else   if (typeName.equals(NVARCHAR_STR)) {
    jdbcType=Types.NVARCHAR;
  }
 else   if (typeName.equals(NVARCHAR2_STR)) {
    jdbcType=Types.NVARCHAR;
  }
 else   if (typeName.equals(DATE_STR)) {
    jdbcType=Types.DATE;
  }
 else   if (typeName.equals(TIME_STR)) {
    jdbcType=Types.TIME;
  }
 else   if (typeName.equals(TIMESTAMP_STR)) {
    jdbcType=Types.TIMESTAMP;
  }
 else   if (typeName.equals(DECIMAL_STR)) {
    jdbcType=Types.DECIMAL;
  }
 else   if (typeName.equals(INTEGER_STR)) {
    jdbcType=Types.INTEGER;
  }
 else   if (typeName.equals(CHAR_STR)) {
    jdbcType=Types.CHAR;
  }
 else   if (typeName.equals(NCHAR_STR)) {
    jdbcType=Types.NCHAR;
  }
 else   if (typeName.equals(FLOAT_STR)) {
    jdbcType=Types.FLOAT;
  }
 else   if (typeName.equals(REAL_STR)) {
    jdbcType=Types.REAL;
  }
 else   if (typeName.equals(DOUBLE_STR)) {
    jdbcType=Types.DOUBLE;
  }
 else   if (typeName.equals(BINARY_STR)) {
    jdbcType=Types.BINARY;
  }
 else   if (typeName.equals(BLOB_STR)) {
    jdbcType=Types.BLOB;
  }
 else   if (typeName.equals(CLOB_STR) || typeName.equals(LONG_STR)) {
    jdbcType=Types.CLOB;
  }
 else   if (typeName.equals(NCLOB_STR)) {
    jdbcType=Types.NCLOB;
  }
 else   if (typeName.equals(RAW_STR)) {
    jdbcType=Types.VARBINARY;
  }
 else   if (typeName.equals(LONGRAW_STR)) {
    jdbcType=Types.LONGVARBINARY;
  }
 else   if (typeName.equals(UROWID_STR)) {
    jdbcType=Types.VARCHAR;
  }
 else   if (typeName.equals(BIGINT_STR)) {
    jdbcType=Types.BIGINT;
  }
 else   if (typeName.equals(STRUCT_STR)) {
    jdbcType=Types.STRUCT;
  }
 else   if (typeName.equals(ARRAY_STR)) {
    jdbcType=Types.ARRAY;
  }
 else   if (typeName.equals(BOOLEAN_STR) || typeName.equals(INTEGER_STR) || typeName.equals(SMALLINT_STR)|| typeName.equals(TINYINT_STR)) {
    jdbcType=Types.INTEGER;
  }
  return jdbcType;
}

Fixed version (ground truth):
/** 
 * Return the JDBC type (as int) for a given type name.
 */
public static int getJDBCTypeFromTypeName(String typeName){
  int jdbcType=Types.OTHER;
  if (typeName.equals(NUMERIC_STR)) {
    jdbcType=Types.NUMERIC;
  }
 else   if (typeName.equals(VARCHAR_STR)) {
    jdbcType=Types.VARCHAR;
  }
 else   if (typeName.equals(VARCHAR2_STR)) {
    jdbcType=Types.VARCHAR;
  }
 else   if (typeName.equals(NVARCHAR_STR)) {
    jdbcType=Types.NVARCHAR;
  }
 else   if (typeName.equals(NVARCHAR2_STR)) {
    jdbcType=Types.NVARCHAR;
  }
 else   if (typeName.equals(DATE_STR)) {
    jdbcType=Types.DATE;
  }
 else   if (typeName.equals(TIME_STR)) {
    jdbcType=Types.TIME;
  }
 else   if (typeName.equals(TIMESTAMP_STR)) {
    jdbcType=Types.TIMESTAMP;
  }
 else   if (typeName.equals(DECIMAL_STR)) {
    jdbcType=Types.DECIMAL;
  }
 else   if (typeName.equals(INTEGER_STR)) {
    jdbcType=Types.INTEGER;
  }
 else   if (typeName.equals(CHAR_STR)) {
    jdbcType=Types.CHAR;
  }
 else   if (typeName.equals(NCHAR_STR)) {
    jdbcType=Types.NCHAR;
  }
 else   if (typeName.equals(FLOAT_STR)) {
    jdbcType=Types.FLOAT;
  }
 else   if (typeName.equals(REAL_STR)) {
    jdbcType=Types.REAL;
  }
 else   if (typeName.equals(DOUBLE_STR)) {
    jdbcType=Types.DOUBLE;
  }
 else   if (typeName.equals(BINARY_STR)) {
    jdbcType=Types.BINARY;
  }
 else   if (typeName.equals(BLOB_STR)) {
    jdbcType=Types.BLOB;
  }
 else   if (typeName.equals(CLOB_STR) || typeName.equals(LONG_STR)) {
    jdbcType=Types.CLOB;
  }
 else   if (typeName.equals(NCLOB_STR)) {
    jdbcType=Types.NCLOB;
  }
 else   if (typeName.equals(RAW_STR)) {
    jdbcType=Types.VARBINARY;
  }
 else   if (typeName.equals(LONGRAW_STR)) {
    jdbcType=Types.LONGVARBINARY;
  }
 else   if (typeName.equals(ROWID_STR)) {
    jdbcType=Types.VARCHAR;
  }
 else   if (typeName.equals(UROWID_STR)) {
    jdbcType=Types.VARCHAR;
  }
 else   if (typeName.equals(BIGINT_STR)) {
    jdbcType=Types.BIGINT;
  }
 else   if (typeName.equals(STRUCT_STR)) {
    jdbcType=Types.STRUCT;
  }
 else   if (typeName.equals(ARRAY_STR)) {
    jdbcType=Types.ARRAY;
  }
 else   if (typeName.equals(ROWID_STR)) {
    jdbcType=Types.ROWID;
  }
 else   if (typeName.equals(BOOLEAN_STR) || typeName.equals(INTEGER_STR) || typeName.equals(SMALLINT_STR)|| typeName.equals(TINYINT_STR)) {
    jdbcType=Types.INTEGER;
  }
  return jdbcType;
}