Open mkubele opened 1 month ago
This sounds very much like a Hibernate issue, since all the JPA mapping and almost all of the conversions are done by it. I recommend creating a reproducer based purely on Hibernate and submitting an issue with them.
If you think this is actually a Spring Data issue, please provide a reproducer for the issue including a test case that demonstrates the correct behaviour using the EntityManager
directly.
I am not able to provide correct behaviour using the EntityManager
in spring boot project, however it works in hibernate-only project, without springboot. Project available HERE
I tested it with Hibernate 6.5.0.CR2 and springboot 3.3.0-RC1, that uses the same Hibernate version.
DateTimeException
is thrown when select operation with entity that containsjava.time.LocalTime
is performed between 12am and 1am (00:00-01:00) error message:note that the value is random.
demo project is available HERE Steps to reproduce:
test
unit testdocker-compose up -d
and start the application