@@ -170,6 +170,7 @@ _java.sql.Date_, _java.sql.Time_, _java.sql.Timestamp_, _byte[]_,
170
170
_Byte[]_, _char[]_, _Character[]_, _java.time.LocalDate_,
171
171
_java.time.LocalTime_, _java.time.LocalDateTime_,
172
172
_java.time.OffsetTime_, _java.time.OffsetDateTime_,
173
+ _java.time.Instant_, _java.time.Year_,
173
174
and user-defined types that implement the _Serializable_ interface _)_;
174
175
enums; entity types; collections of entity types; embeddable classes
175
176
(see <<a487>>); collections of basic and embeddable types (see <<a494>>).
@@ -1114,11 +1115,12 @@ public class MedicalHistory {
1114
1115
1115
1116
=== Basic Type
1116
1117
1117
- Basic type is any Java primitive type, wrapper of the primitive types, java.lang.String,
1118
- java.math.BigInteger, java.math.BigDecimal, java.util.Date, java.util.Calendar, java.sql.Date,
1119
- java.sql.Time, java.sql.Timestamp, java.time.LocalDate, java.time.LocalTime,
1120
- java.time.LocalDateTime, java.time.OffsetTime, java.time.OffsetDateTime, byte[], Byte[], char[],
1121
- Character[], enum, any other type that implements Serializable.
1118
+ A basic type is any Java primitive type, wrapper of the primitive types, java.lang.String,
1119
+ java.math.BigInteger, java.math.BigDecimal, java.util.Date, java.util.Calendar,
1120
+ java.sql.Date, java.sql.Time, java.sql.Timestamp, java.time.LocalDate, java.time.LocalTime,
1121
+ java.time.LocalDateTime, java.time.OffsetTime, java.time.OffsetDateTime,
1122
+ java.time.Instant, java.time.Year, byte[], Byte[], char[], Character[], any enum type,
1123
+ any other type that implements Serializable.
1122
1124
1123
1125
=== Embeddable Classes [[a487]]
1124
1126
@@ -1281,8 +1283,9 @@ _java.util.UUID_, _java.util.Date_, _java.util.Calendar_,
1281
1283
_java.sql.Date_, _java.sql.Time_, _java.sql.Timestamp_,
1282
1284
_java.time.LocalDate_, _java.time.LocalTime_,
1283
1285
_java.time.LocalDateTime_, _java.time.OffsetTime_,
1284
- _java.time.OffsetDateTime_, _byte[]_, _Byte[]_, _char[]_,
1285
- _Character[]_, enums, any other type that implements _Serializable_.
1286
+ _java.time.OffsetDateTime_, _java.time.Instant_, _java.time.Year_
1287
+ _byte[]_, _Byte[]_, _char[]_, _Character[]_, enums,
1288
+ any other type that implements _Serializable_.
1286
1289
See <<a14205>>, <<a14719>>, <<a15087>>, and <<a16361>>.
1287
1290
1288
1291
It is an error if no annotation is present
0 commit comments