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

From Kris Jurka
Subject Re: issues with Statement.getTimestamp(int, Calendar)
Date
Msg-id Pine.BSO.4.64.0701041655260.15822@leary2.csoft.net
Whole thread Raw
In response to Re: issues with Statement.getTimestamp(int, Calendar)  (Oliver Jowett <oliver@opencloud.com>)
Responses Re: issues with Statement.getTimestamp(int, Calendar)
List pgsql-jdbc

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

pgsql-jdbc by date:

Previous
From: Kris Jurka
Date:
Subject: Re: need to update TimestampUtils code
Next
From: Ken Johanson
Date:
Subject: Re: Support for DatabaseMetadata: getCatalogName, getTableName,