Anyway to tell jdbc to use server timezone? - Mailing list pgsql-jdbc

From George Woodring
Subject Anyway to tell jdbc to use server timezone?
Date
Msg-id CACi+J=Sp0gyycF0ZKNB6Qavay62_=SpOBg1ZYA9S+-SkoSMX4g@mail.gmail.com
Whole thread Raw
Responses Re: Anyway to tell jdbc to use server timezone?  (Dave Cramer <pg@fastcrypt.com>)
List pgsql-jdbc
I originally asked a question about adjusting timezone per db back


And it was suggested that I set them per db, which I have.  But now moving to 
9.3 of the jdbc driver, it seems to set the timezone to the web server's timezone.

I have found mentions


and


My question here is is there a way to disable it and get the older functionality?  Is there a command I could run after I get the connection to say "set timezone = 'server default'"?

Thanks
George Woodring
iGLASS Networks
www.iglass.net

pgsql-jdbc by date:

Previous
From: Steven Schlansker
Date:
Subject: Re: New significance of holdable result sets in Java 8
Next
From: Dave Cramer
Date:
Subject: Re: New significance of holdable result sets in Java 8