Received: from localhost (maia-4.hub.org [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 378859FA248 for ; Wed, 13 Dec 2006 08:25:49 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-new, port 10024) with ESMTP id 50858-05 for ; Wed, 13 Dec 2006 08:25:44 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from yass.opencloud.co.nz (yass.opencloud.co.nz [131.203.101.226]) by postgresql.org (Postfix) with ESMTP id AB3C89FA0FB for ; Wed, 13 Dec 2006 08:25:44 -0400 (AST) Received: from 219-89-241-92.adsl.xtra.co.nz ([219.89.241.92] helo=[10.1.1.3]) by yass.opencloud.co.nz with asmtp (TLS-1.0:DHE_RSA_AES_128_CBC_SHA:16) (Exim 4.34) id 1GuTB5-0000El-KB; Thu, 14 Dec 2006 01:25:39 +1300 Message-ID: <457FF1E3.8020207@opencloud.com> Date: Wed, 13 Dec 2006 12:28:19 +0000 From: Oliver Jowett User-Agent: Mozilla Thunderbird 0.8 (Windows/20040913) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Ravi Periasamy CC: Dave Cramer , pgsql-jdbc@postgresql.org Subject: Re: issues with Statement.getTimestamp(int, Calendar) References: <752250.99365.qm@web60525.mail.yahoo.com> In-Reply-To: <752250.99365.qm@web60525.mail.yahoo.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200612/63 X-Sequence-Number: 16295 Ravi Periasamy wrote: > I suspect the AbstractJdbc2Statement.changetime() > method. Yeah, that code looks pretty broken to me, it has completely the wrong end of the stick about what it should be doing with the provided calendar, AFAICS. Dave, why doesn't the out-parameter stuff do timestamp conversion by delegating to the same code as the ResultSet code uses? That does all the hard stuff for you.. -O