X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 52E1E5367C for ; Wed, 27 Apr 2005 13:28:17 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 09318-04 for ; Wed, 27 Apr 2005 16:28:14 +0000 (GMT) Received: from outmail.unitedplanet.de (guardian.unitedplanet.de [212.185.176.178]) by svr1.postgresql.org (Postfix) with ESMTP id 8419853640 for ; Wed, 27 Apr 2005 13:28:13 -0300 (ADT) Received: from Apollo.unitedplanet.de (apollo.unitedplanet.de [10.10.12.17]) by outmail.unitedplanet.de (Postfix) with ESMTP id BA9A733761 for ; Wed, 27 Apr 2005 18:41:08 +0200 (CEST) Received: from [10.10.15.19] ([10.10.15.19]) by Apollo.unitedplanet.de with Microsoft SMTPSVC(6.0.3790.211); Wed, 27 Apr 2005 18:28:13 +0200 Message-ID: <426FBDA4.2010306@unitedplanet.de> Date: Wed, 27 Apr 2005 18:28:20 +0200 From: Martin Keller User-Agent: Debian Thunderbird 1.0.2 (X11/20050331) X-Accept-Language: en-us, en MIME-Version: 1.0 To: pgsql-jdbc@postgresql.org Subject: Problems storing timestamps with calendars Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 27 Apr 2005 16:28:13.0056 (UTC) FILETIME=[1B77D800:01C54B46] X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests= X-Spam-Level: X-Archive-Number: 200504/182 X-Sequence-Number: 12789 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