I use Redshift and jdbc.
The timezone of redshift server show timezone;
is UTC.
My application(jvm) timezone is +2.
When I execute the query via jdbc select SYSDATE; I got the correct Timestamp with correct value in UTC, but unfortunately the time zone of this value is +2.
For example:
Server has 2019-06-26T18:10:13.000+0-00
but I got 2019-06-26T18:10:13.000+0200
.
After that I mapped via jackson the timestamp to json and send response to client, and client got incorrect value 2019-06-26T16:10:13.000+0000.
I can't change the timezone for application and for mapper.
How I can resolve this problem?