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 EB53752867 for ; Wed, 20 Jul 2005 10:13:36 -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 71694-01 for ; Wed, 20 Jul 2005 13:13:31 +0000 (GMT) Received: from net2.micro-automation.com (net2.micro-automation.com [64.7.141.29]) by svr1.postgresql.org (Postfix) with SMTP id 34E2A52825 for ; Wed, 20 Jul 2005 10:13:29 -0300 (ADT) Received: (qmail 25602 invoked from network); 20 Jul 2005 13:13:33 -0000 Received: from dcdsl.ebox.com (HELO ?192.168.1.2?) (davec@64.7.143.116) by net2.micro-automation.com with SMTP; 20 Jul 2005 13:13:33 -0000 In-Reply-To: <42DE4944.3010302@opencloud.com> References: <90876a9e05071810503606d431@mail.gmail.com> <16335.1121714809@sss.pgh.pa.us> <10C90079-DD0A-43D7-9389-7486803F0AB1@fastcrypt.com> <42DC37AC.5030704@opencloud.com> <42DCF0C9.4030501@opencloud.com> <23396.1121781259@sss.pgh.pa.us> <392278AB-987F-40CF-B59D-DDF53B9A4ACF@fastcrypt.com> <90876a9e050719093261c52c64@mail.gmail.com> <42DDABAE.7050009@opencloud.com> <15EA293E-6D5D-4FD2-B498-6546113822C1@fastcrypt.com> <42DDB0B0.1020006@opencloud.com> <468CE7D4-3BFC-48D8-BC94-3AA73950EBED@fastcrypt.com> <42DDBE3B.5040801@opencloud.com> <6E6559F0-401F-47E8-A756-245C5B0813A7@fastcrypt.com> <42DE43DF.5020708@opencloud.com> <42DE4944.3010302@opencloud.com> Mime-Version: 1.0 (Apple Message framework v733) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <382ECA12-12A3-4545-9F37-0F63B0E16CD3@fastcrypt.com> Cc: Christian Cryder , pgsql-jdbc@postgresql.org Content-Transfer-Encoding: 7bit From: Dave Cramer Subject: Re: Timestamp Conversion Woes Redux Date: Wed, 20 Jul 2005 09:13:32 -0400 To: Oliver Jowett X-Mailer: Apple Mail (2.733) X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.014 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200507/174 X-Sequence-Number: 13322 Same book JDBC API Tutorial 3rd Edition pg 676 In fact we do this now.. On 20-Jul-05, at 8:53 AM, Oliver Jowett wrote: > Dave Cramer wrote: > >> Yes, it does, my mistake ( It was early here ) >> However reading the notes about setTimestamp: >> When the DBMS does not store timezone information the driver will >> use cal to construct a JDBC Timestamp value. >> If no Calendar object is specified the driver uses the timezone >> of the JVM. >> > > Where's this from exactly? It doesn't seem to make sense if it's > talking about setTimestamp -- the driver does not construct a JDBC > timestamp in setTimestamp at all, it's given one by the application. > > -O > >