pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Kris Jurka <books@ejurka.com>
To: Oliver Jowett <oliver@opencloud.com>
Cc: Ravi Periasamy <ravitx12@yahoo.com>
Cc: Dave Cramer <pg@fastcrypt.com>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: issues with Statement.getTimestamp(int, Calendar)
Date: Thu, 4 Jan 2007 16:59:45 -0500 (EST)
Message-ID: <Pine.BSO.4.64.0701041655260.15822@leary2.csoft.net> (raw)
In-Reply-To: <457FF1E3.8020207@opencloud.com>
References: <752250.99365.qm@web60525.mail.yahoo.com>
	<457FF1E3.8020207@opencloud.com>



On Wed, 13 Dec 2006, Oliver Jowett wrote:

> 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..
>

I've rewritten this code to farm out the work to TimestampUtils and 
applied it to the 8.1, 8.2 and 8.3dev branches.

Kris Jurka



view thread (10+ messages)  latest in thread

Message-ID: <Pine.BSO.4.64.0701041655260.15822@leary2.csoft.net>
Permalink:  ../Pine.BSO.4.64.0701041655260.15822@leary2.csoft.net/
Also on:    postgresql.org/message-id/Pine.BSO.4.64.0701041655260.15822@leary2.csoft.net

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: books@ejurka.com, oliver@opencloud.com, ravitx12@yahoo.com, pg@fastcrypt.com
  Subject: Re: issues with Statement.getTimestamp(int, Calendar)
  In-Reply-To: <Pine.BSO.4.64.0701041655260.15822@leary2.csoft.net>
  References: <752250.99365.qm@web60525.mail.yahoo.com> <457FF1E3.8020207@opencloud.com> <Pine.BSO.4.64.0701041655260.15822@leary2.csoft.net>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox