pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Oliver Jowett <oliver@opencloud.com>
To: 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: Wed, 13 Dec 2006 12:28:19 +0000
Message-ID: <457FF1E3.8020207@opencloud.com> (raw)
In-Reply-To: <752250.99365.qm@web60525.mail.yahoo.com>
References: <752250.99365.qm@web60525.mail.yahoo.com>

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



view thread (10+ messages)  latest in thread

Message-ID: <457FF1E3.8020207@opencloud.com>
Permalink:  ../457FF1E3.8020207@opencloud.com/
Also on:    postgresql.org/message-id/457FF1E3.8020207@opencloud.com

 · 

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: oliver@opencloud.com, ravitx12@yahoo.com, pg@fastcrypt.com
  Subject: Re: issues with Statement.getTimestamp(int, Calendar)
  In-Reply-To: <457FF1E3.8020207@opencloud.com>
  References: <752250.99365.qm@web60525.mail.yahoo.com> <457FF1E3.8020207@opencloud.com>

* 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