Currently the RevisionTimestamp must be of type long, Long, java.util.Date or java.sql.Date. But - following Hibernate's general support for Java 8 date and time types introduced in Hibernate 5 (see HHH-8844) - it would be great to have RevisionTimestamp support java.time.LocalDateTime as possible type as well.
Here I posted some code to help fixing this problem: http://stackoverflow.com/questions/37748142/how-to-save-utc-instead-of-local-timestamps-for-hibernate-envers-revision-info/37748143#37748143
I'm wondering if this fix accept also java.time.Instant. According to several best practice I found I decided to use Instant to manage dates in my Spring Boot application (JHipster to the same). All dates are stored in UTC in the database.
Does this fix permit to use Instant as well?
Thanks
, no but we can certainly consider it. I've added HHH-12518.
Thank you very much
Preparing Alpha1 release