in table [certificate]; found [date (Types#DATE)], but expecting [timestamp (Types#TIMESTAMP)]private Instant endDate;
对于java.time.Instant,Hibernate类型是InstantType,它映射到TIMESTAMP
org.springframework.data.redis.serializer.SerializationException: Could not read JSON: Cannot construct instance of `java.time.Instantconstruct, exist): cannot deserialize from Object value (no delegate- or property-based Creator)
当我引入java.time.Instant
我有个案例课尝试使用以下命令获取此case类的StructType时[error] Caused by: java.lang.UnsupportedOperationException: Schema for type java.time.Instant而且,我不能更改case类中的java.time.Instant类型。