Problems storing timestamps with calendars

From: Martin Keller <martin(dot)keller(at)unitedplanet(dot)de>
To: pgsql-jdbc(at)postgresql(dot)org
Subject: Problems storing timestamps with calendars
Date: 2005-04-27 16:28:20
Message-ID: 426FBDA4.2010306@unitedplanet.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Hi,

We have some trouble with storing timestamps via
PreparedStatement.setTimestamp(int, Timestamp, Calendar) into a
timestamp column without timezone.
It looks like that the timestamp values are adjusted in the wrong
direction if the timezone of the calendar is not the default timezone of
the java vm.

Are we doing anything wrong or is this a bug?

Regards,
Martin

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Alberto Rodriguez Galdo 2005-04-27 23:43:58 possible bug
Previous Message Tom Lane 2005-04-27 14:36:58 Re: ERROR: could not convert UTF-8 character 0x00ef to ISO8859-1 possiblesolution