Skip to content

Commit

Permalink
Fixes : Db2: Eclipselink creates table with Db2 data type DOUBLE inst…
Browse files Browse the repository at this point in the history
…ead of REAL for a Java float (eclipse-ee4j#2296)
  • Loading branch information
ajaypaul-ibm authored Nov 11, 2024
1 parent 010be4a commit 8292f96
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ protected Hashtable<Class<?>, FieldTypeDefinition> buildFieldTypes() {

fieldTypeMapping.put(Integer.class, new FieldTypeDefinition("INTEGER", false));
fieldTypeMapping.put(Long.class, new FieldTypeDefinition("BIGINT", false));
fieldTypeMapping.put(Float.class, new FieldTypeDefinition("FLOAT", false));
fieldTypeMapping.put(Float.class, new FieldTypeDefinition("REAL", false));
fieldTypeMapping.put(Double.class, new FieldTypeDefinition("FLOAT", false));
fieldTypeMapping.put(Short.class, new FieldTypeDefinition("SMALLINT", false));
fieldTypeMapping.put(Byte.class, new FieldTypeDefinition("SMALLINT", false));
Expand Down

0 comments on commit 8292f96

Please sign in to comment.