Just for completeness, with Hibernate 6, you can use java.time.Instant
in your model and it will use the timestamptz
on PostgreSQL behind the scenes. There is no time zone configurations necessary when using just Instant
Just for completeness, with Hibernate 6, you can use java.time.Instant
in your model and it will use the timestamptz
on PostgreSQL behind the scenes. There is no time zone configurations necessary when using just Instant