Received: from teapot06.domain1.bigpond.com (teapot06.domain1.bigpond.com [139.134.5.237]) by hub.org (8.10.1/8.10.1) with SMTP id e75NTVG83942 for ; Sat, 5 Aug 2000 19:29:32 -0400 (EDT) Received: from localhost (localhost [127.0.0.1]) by teapot06.domain1.bigpond.com (NTMail 3.02.13) with ESMTP id la403193 for ; Sun, 6 Aug 2000 09:27:14 +1000 Received: from EXIP-T-016-p-87-224.tmns.net.au ([139.134.87.224]) by mail1.bigpond.com (Claudes-Intergalactic-MailRouter V2.9 1/64484); 06 Aug 2000 09:27:14 Message-ID: <000a01bfff99$98851180$0146a8c0@argentpn.telstra.com.au> From: "Geoff Healey" To: "Chris Ryan" , References: <398C07F5.FE194B49@greatbridge.com> Subject: removal from mailing list Date: Sun, 6 Aug 2000 21:29:33 +1000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2314.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 X-Archive-Number: 200008/53 Dear all, Can some one let me know how I can be removed from this mailing list? Regards Geoff ----- Original Message ----- From: Chris Ryan To: Sent: Saturday, August 05, 2000 10:26 PM Subject: [INTERFACES] JDBC and Timestamps > I'm working on a project where I update/insert/select records through > JDBC and I'm noticing problems with the timestamp fields. The JDBC > driver when writing a Timestamp value to postgres is passing the value > to the backend as a String in the following format "yyyy-mm-dd > hh:mm:ss.fffffffff" <-- the last part .fffffffff is nanosecs. When > Postgres reads this is things it is millisecs so converts it and appends > the timezone. Now when the JDBC driver reads the value back in it is > trying to do a date conversion from a string using the format > "yyyy-mm-dd hh:mm:sszzz" which has timezone but no millisecs. The > different formats of course cause exceptions to be generated. I tried > using the setLenient(true) but this didn't make any difference. > > Chris Ryan >