The LocalDate and LocalDateTime classes are not supported by JPA and Hibernate. This can be changed by implementing an attribute converter for them.| Thorben Janssen
As expected, the recent release of the JPA 2.2 specification introduced official support for some of the classes of the Date and Time API. Before that, you had to rely on proprietary features, like the ones introduced in Hibernate 5, or you had to provide an AttributeConverter to implement the mapping. Let’s take a closer...| Thorben Janssen