Program: 66461
Project: 66461
Buggy source:
/** 
 * Return the mapping of Java class types to database types for the schema framework.
 * @return hashtable of Java types to FieldTypeDefinition instancescontaining Symfoware SQL types.
 */
@Override protected Hashtable<Class<?>,FieldTypeDefinition> buildFieldTypes(){
  Hashtable<Class<?>,FieldTypeDefinition> fieldTypeMapping=new Hashtable<Class<?>,FieldTypeDefinition>();
  fieldTypeMapping.put(java.lang.Boolean.class,new FieldTypeDefinition("String_Node_Str",false));
  fieldTypeMapping.put(java.lang.Byte.class,new FieldTypeDefinition("String_Node_Str",false));
  fieldTypeMapping.put(java.lang.Short.class,new FieldTypeDefinition("String_Node_Str",false));
  fieldTypeMapping.put(java.lang.Integer.class,new FieldTypeDefinition("String_Node_Str",false));
  fieldTypeMapping.put(java.lang.Long.class,new FieldTypeDefinition("String_Node_Str",18));
  fieldTypeMapping.put(java.lang.Float.class,new FieldTypeDefinition("String_Node_Str",18,4));
  fieldTypeMapping.put(java.lang.Double.class,new FieldTypeDefinition("String_Node_Str",18,4));
  fieldTypeMapping.put(java.math.BigDecimal.class,new FieldTypeDefinition("String_Node_Str",18).setLimits(18,-18,18));
  fieldTypeMapping.put(java.math.BigInteger.class,new FieldTypeDefinition("String_Node_Str",18).setLimits(18,-18,18));
  fieldTypeMapping.put(java.lang.Number.class,new FieldTypeDefinition("String_Node_Str",18));
  fieldTypeMapping.put(java.lang.String.class,new FieldTypeDefinition("String_Node_Str",255));
  fieldTypeMapping.put(java.lang.Character.class,new FieldTypeDefinition("String_Node_Str",1));
  fieldTypeMapping.put(byte[].class,new FieldTypeDefinition("String_Node_Str",1024));
  fieldTypeMapping.put(java.lang.Byte[].class,new FieldTypeDefinition("String_Node_Str",1024));
  fieldTypeMapping.put(char[].class,new FieldTypeDefinition("String_Node_Str",255));
  fieldTypeMapping.put(java.lang.Character[].class,new FieldTypeDefinition("String_Node_Str",255));
  fieldTypeMapping.put(java.sql.Blob.class,new FieldTypeDefinition("String_Node_Str",1024));
  fieldTypeMapping.put(java.sql.Clob.class,new FieldTypeDefinition("String_Node_Str",255));
  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));
  fieldTypeMapping.put(java.util.Calendar.class,new FieldTypeDefinition("String_Node_Str",false));
  fieldTypeMapping.put(java.util.Date.class,new FieldTypeDefinition("String_Node_Str",false));
  return fieldTypeMapping;
}

Fixed version (ground truth):
/** 
 * Return the mapping of Java class types to database types for the schema framework.
 * @return hashtable of Java types to FieldTypeDefinition instancescontaining Symfoware SQL types.
 */
@Override protected Hashtable<Class<?>,FieldTypeDefinition> buildFieldTypes(){
  Hashtable<Class<?>,FieldTypeDefinition> fieldTypeMapping=new Hashtable<Class<?>,FieldTypeDefinition>();
  fieldTypeMapping.put(java.lang.Boolean.class,new FieldTypeDefinition("String_Node_Str",false));
  fieldTypeMapping.put(java.lang.Byte.class,new FieldTypeDefinition("String_Node_Str",false));
  fieldTypeMapping.put(java.lang.Short.class,new FieldTypeDefinition("String_Node_Str",false));
  fieldTypeMapping.put(java.lang.Integer.class,new FieldTypeDefinition("String_Node_Str",false));
  fieldTypeMapping.put(java.lang.Long.class,new FieldTypeDefinition("String_Node_Str",18));
  fieldTypeMapping.put(java.lang.Float.class,new FieldTypeDefinition("String_Node_Str",18,4));
  fieldTypeMapping.put(java.lang.Double.class,new FieldTypeDefinition("String_Node_Str",18,4));
  fieldTypeMapping.put(java.math.BigDecimal.class,new FieldTypeDefinition("String_Node_Str",18).setLimits(18,-18,18));
  fieldTypeMapping.put(java.math.BigInteger.class,new FieldTypeDefinition("String_Node_Str",18).setLimits(18,-18,18));
  fieldTypeMapping.put(java.lang.Number.class,new FieldTypeDefinition("String_Node_Str",18));
  fieldTypeMapping.put(java.lang.String.class,new FieldTypeDefinition("String_Node_Str",DEFAULT_VARCHAR_SIZE));
  fieldTypeMapping.put(java.lang.Character.class,new FieldTypeDefinition("String_Node_Str",1));
  fieldTypeMapping.put(byte[].class,new FieldTypeDefinition("String_Node_Str",1024));
  fieldTypeMapping.put(java.lang.Byte[].class,new FieldTypeDefinition("String_Node_Str",1024));
  fieldTypeMapping.put(char[].class,new FieldTypeDefinition("String_Node_Str",255));
  fieldTypeMapping.put(java.lang.Character[].class,new FieldTypeDefinition("String_Node_Str",255));
  fieldTypeMapping.put(java.sql.Blob.class,new FieldTypeDefinition("String_Node_Str",1024));
  fieldTypeMapping.put(java.sql.Clob.class,new FieldTypeDefinition("String_Node_Str",255));
  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));
  fieldTypeMapping.put(java.util.Calendar.class,new FieldTypeDefinition("String_Node_Str",false));
  fieldTypeMapping.put(java.util.Date.class,new FieldTypeDefinition("String_Node_Str",false));
  return fieldTypeMapping;
}