diff --git a/foundation/org.eclipse.persistence.core/src/main/java/org/eclipse/persistence/platform/database/MySQLPlatform.java b/foundation/org.eclipse.persistence.core/src/main/java/org/eclipse/persistence/platform/database/MySQLPlatform.java index 4f6716cf75..4f77368398 100644 --- a/foundation/org.eclipse.persistence.core/src/main/java/org/eclipse/persistence/platform/database/MySQLPlatform.java +++ b/foundation/org.eclipse.persistence.core/src/main/java/org/eclipse/persistence/platform/database/MySQLPlatform.java @@ -273,6 +273,7 @@ protected Hashtable, FieldTypeDefinition> buildFieldTypes() { fd.setIsSizeRequired(true); } fieldTypeMapping.put(java.time.OffsetTime.class, fd); + fieldTypeMapping.put(java.time.Instant.class, new FieldTypeDefinition("TIMESTAMP", false)); return fieldTypeMapping; }