I am using Hibernate ,Spring Boot with Postgres. I have a time with time zone column
and another date
column. I try to add these two columns to get the timestamp with timezone value
. But using hibernate query returns only timestamp without time zone
. Is there any way to achieve the same
My Query is like
@Query(value = "select date_col + time_with_timestamp_column from myTable" , nativeQuery = true)
Timestamp fetchvalue();