Re: Anyway to tell jdbc to use server timezone?

Поиск
Список
Период
Сортировка
От Dave Cramer
Тема Re: Anyway to tell jdbc to use server timezone?
Дата
Msg-id CADK3HHJN56OobVDGWrO=rw248-rqw2r6Et1rBxxM=Ahe3NtYOg@mail.gmail.com
обсуждение исходный текст
Ответ на Anyway to tell jdbc to use server timezone?  (George Woodring <george.woodring@iglass.net>)
Ответы Re: Anyway to tell jdbc to use server timezone?
Список pgsql-jdbc
George,

I looked at the stackoverflow example. I fail to see how the driver would change the where clause.

Can you create a self contained test case ?

Dave Cramer

dave.cramer(at)credativ(dot)ca
http://www.credativ.ca

On 12 November 2014 13:48, George Woodring <george.woodring@iglass.net> wrote:
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 по дате отправления:

Предыдущее
От: Marko Topolnik
Дата:
Сообщение: Re: New significance of holdable result sets in Java 8
Следующее
От: Kevin Wooten
Дата:
Сообщение: Re: New significance of holdable result sets in Java 8