Re: issues with Statement.getTimestamp(int, Calendar) - Mailing list pgsql-jdbc

From Oliver Jowett
Subject Re: issues with Statement.getTimestamp(int, Calendar)
Date
Msg-id 457FF1E3.8020207@opencloud.com
Whole thread Raw
In response to Re: issues with Statement.getTimestamp(int, Calendar)  (Ravi Periasamy <ravitx12@yahoo.com>)
Responses Re: issues with Statement.getTimestamp(int, Calendar)  (Dave Cramer <pg@fastcrypt.com>)
Re: issues with Statement.getTimestamp(int, Calendar)  (Kris Jurka <books@ejurka.com>)
List pgsql-jdbc
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

pgsql-jdbc by date:

Previous
From: Ravi Periasamy
Date:
Subject: Re: issues with Statement.getTimestamp(int, Calendar)
Next
From: Dave Cramer
Date:
Subject: Re: issues with Statement.getTimestamp(int, Calendar)