Re: Problems storing timestamps with calendars - Mailing list pgsql-jdbc

From Oliver Jowett
Subject Re: Problems storing timestamps with calendars
Date
Msg-id 42E8AFF9.7000300@opencloud.com
Whole thread Raw
In response to Re: Problems storing timestamps with calendars  (John Dickson <jdickson@dialectsolutions.com>)
List pgsql-jdbc
John Dickson wrote:

> We've found the same problem with the postgres driver - the versions of
> setTimestamp() and getTimestamp() taking Calendars adjust the timezone
> in the wrong direction.

I have a substantial rewrite of get/setTimestamp() waiting in the wings
that I'm planning to commit shortly. It fixes several problems with the
Calendar-using variants, and also should fix assignment to timestamp
(not timestamptz) columns. Can you send me your testcase so I can check
that it works ok?

-O

pgsql-jdbc by date:

Previous
From: Atul Arora
Date:
Subject: UNSUBSCRIBE
Next
From: "emergency.shower@gmail.com"
Date:
Subject: Re: unusual ResultSet.next() behaviour