Anyway to tell jdbc to use server timezone?

Поиск
Список
Период
Сортировка
От George Woodring
Тема Anyway to tell jdbc to use server timezone?
Дата
Msg-id CACi+J=Sp0gyycF0ZKNB6Qavay62_=SpOBg1ZYA9S+-SkoSMX4g@mail.gmail.com
обсуждение исходный текст
Ответы Re: Anyway to tell jdbc to use server timezone?
Список 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 по дате отправления:

Предыдущее
От: Steven Schlansker
Дата:
Сообщение: Re: New significance of holdable result sets in Java 8
Следующее
От: Dave Cramer
Дата:
Сообщение: Re: New significance of holdable result sets in Java 8