Program: 66457
Project: 66457
Buggy source:
/** 
 * Return the mapping of class types to database types for the schema framework.
 */
protected Hashtable buildFieldTypes(){
  Hashtable fieldTypeMapping;
  fieldTypeMapping=new Hashtable();
  fieldTypeMapping.put(Boolean.class,new FieldTypeDefinition("String_Node_Str",false));
  fieldTypeMapping.put(Integer.class,new FieldTypeDefinition("String_Node_Str",false));
  fieldTypeMapping.put(Long.class,new FieldTypeDefinition("String_Node_Str",false));
  fieldTypeMapping.put(Float.class,new FieldTypeDefinition("String_Node_Str",false));
  fieldTypeMapping.put(Double.class,new FieldTypeDefinition("String_Node_Str",false));
  fieldTypeMapping.put(Short.class,new FieldTypeDefinition("String_Node_Str",false));
  fieldTypeMapping.put(Byte.class,new FieldTypeDefinition("String_Node_Str",false));
  fieldTypeMapping.put(java.math.BigInteger.class,new FieldTypeDefinition("String_Node_Str",false));
  fieldTypeMapping.put(java.math.BigDecimal.class,new FieldTypeDefinition("String_Node_Str",38));
  fieldTypeMapping.put(Number.class,new FieldTypeDefinition("String_Node_Str",38));
  fieldTypeMapping.put(String.class,new FieldTypeDefinition("String_Node_Str",255));
  fieldTypeMapping.put(Character.class,new FieldTypeDefinition("String_Node_Str",1));
  fieldTypeMapping.put(Byte[].class,new FieldTypeDefinition("String_Node_Str",64000));
  fieldTypeMapping.put(Character[].class,new FieldTypeDefinition("String_Node_Str",64000));
  fieldTypeMapping.put(byte[].class,new FieldTypeDefinition("String_Node_Str",64000));
  fieldTypeMapping.put(char[].class,new FieldTypeDefinition("String_Node_Str",64000));
  fieldTypeMapping.put(java.sql.Blob.class,new FieldTypeDefinition("String_Node_Str",64000));
  fieldTypeMapping.put(java.sql.Clob.class,new FieldTypeDefinition("String_Node_Str",64000));
  fieldTypeMapping.put(java.sql.Date.class,new FieldTypeDefinition("String_Node_Str",false));
  fieldTypeMapping.put(java.sql.Time.class,new FieldTypeDefinition("String_Node_Str",false));
  fieldTypeMapping.put(java.sql.Timestamp.class,new FieldTypeDefinition("String_Node_Str",false));
  return fieldTypeMapping;
}

Fixed version (ground truth):
/** 
 * Return the mapping of class types to database types for the schema framework.
 */
protected Hashtable buildFieldTypes(){
  Hashtable fieldTypeMapping;
  fieldTypeMapping=new Hashtable();
  fieldTypeMapping.put(Boolean.class,new FieldTypeDefinition("String_Node_Str",false));
  fieldTypeMapping.put(Integer.class,new FieldTypeDefinition("String_Node_Str",false));
  fieldTypeMapping.put(Long.class,new FieldTypeDefinition("String_Node_Str",false));
  fieldTypeMapping.put(Float.class,new FieldTypeDefinition("String_Node_Str",false));
  fieldTypeMapping.put(Double.class,new FieldTypeDefinition("String_Node_Str",false));
  fieldTypeMapping.put(Short.class,new FieldTypeDefinition("String_Node_Str",false));
  fieldTypeMapping.put(Byte.class,new FieldTypeDefinition("String_Node_Str",false));
  fieldTypeMapping.put(java.math.BigInteger.class,new FieldTypeDefinition("String_Node_Str",false));
  fieldTypeMapping.put(java.math.BigDecimal.class,new FieldTypeDefinition("String_Node_Str",38));
  fieldTypeMapping.put(Number.class,new FieldTypeDefinition("String_Node_Str",38));
  fieldTypeMapping.put(String.class,new FieldTypeDefinition("String_Node_Str",DEFAULT_VARCHAR_SIZE));
  fieldTypeMapping.put(Character.class,new FieldTypeDefinition("String_Node_Str",1));
  fieldTypeMapping.put(Byte[].class,new FieldTypeDefinition("String_Node_Str",false));
  fieldTypeMapping.put(Character[].class,new FieldTypeDefinition("String_Node_Str",false));
  fieldTypeMapping.put(byte[].class,new FieldTypeDefinition("String_Node_Str",false));
  fieldTypeMapping.put(char[].class,new FieldTypeDefinition("String_Node_Str",false));
  fieldTypeMapping.put(java.sql.Blob.class,new FieldTypeDefinition("String_Node_Str",false));
  fieldTypeMapping.put(java.sql.Clob.class,new FieldTypeDefinition("String_Node_Str",false));
  fieldTypeMapping.put(java.sql.Date.class,new FieldTypeDefinition("String_Node_Str",false));
  fieldTypeMapping.put(java.sql.Time.class,new FieldTypeDefinition("String_Node_Str",false));
  fieldTypeMapping.put(java.sql.Timestamp.class,new FieldTypeDefinition("String_Node_Str",false));
  return fieldTypeMapping;
}