Hibernate Java 8 ZonedDateTime

Viewed 6672

I am using Hibernate and JPA to store my data in a database. Now I would like to save a ZonedDateTime from java.time.

The problem is, Hibernate does only ever persist the date and time. It does not care about the ZoneId or the offset.

Is there any way to persuade Hibernate to persist that information?

1 Answers
Related