Skip to content

Commit

Permalink
MySQLPlatform update to support java.time.Instant during automatic …
Browse files Browse the repository at this point in the history
…table creation. (#2340)

Signed-off-by: Radek Felcman <[email protected]>
  • Loading branch information
rfelcman authored Jan 15, 2025
1 parent 48530ea commit a108f5b
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,7 @@ protected Hashtable<Class<?>, FieldTypeDefinition> buildFieldTypes() {
fd.setIsSizeRequired(true);
}
fieldTypeMapping.put(java.time.OffsetTime.class, fd);
fieldTypeMapping.put(java.time.Instant.class, new FieldTypeDefinition("TIMESTAMP", false));
return fieldTypeMapping;
}

Expand Down

0 comments on commit a108f5b

Please sign in to comment.