java.time.Instant and java.time.Year mapping
java.time.Instant and java.time.Year are now first-class persistent types: Instant maps to a TIMESTAMP column and Year to an INTEGER column.
Previous releases had no type code for them and stored such attributes through the generic object strategy as serialized binary data.
Existing columns created for such attributes are incompatible with the new mapping: migrate the columns and data, or keep them serialized explicitly with @Lob or an externalizer. java.util.Calendar may now be used as a single-field identifier.