I'm using Hibernate like this:
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-entitymanager</artifactId>
<version>5.2.12.Final</version>
</dependency>
I read that since Hibernate 5.2, there's native support for java.time.
My entity field is still a java.util.Date, and I wanted to find entities using a LocalDateTime.
However I get an exception InvalidDataAccessApiUsageException with the message "Parameter value [2020-02-26T00:00] did not match expected type java.util.date".
Is it not supposed to convert the LocalDateTime automatically ?