Re: Timestamp Conversion Woes Redux - Mailing list pgsql-jdbc

From Dave Cramer
Subject Re: Timestamp Conversion Woes Redux
Date
Msg-id 15EA293E-6D5D-4FD2-B498-6546113822C1@fastcrypt.com
Whole thread Raw
In response to Re: Timestamp Conversion Woes Redux  (Oliver Jowett <oliver@opencloud.com>)
Responses Re: Timestamp Conversion Woes Redux
List pgsql-jdbc
Christian suggested this:

However I think this too opaque.

Not to mention the fact that it changes the
current behaviour.

Dave
On 19-Jul-05, at 9:41 PM, Oliver Jowett wrote:

> Christian Cryder wrote:
>
>
>> From my perspective, there needs to be a way for the JDBC driver to
>> know what type of timestamp you are working with. [...]
>>
>
> How about this mapping?
>
>   setTimestamp(int,Timestamp) -> timestamp
>   setTimestamp(int,Timestamp,Calendar) -> timestamptz
>
> -O
>
> ---------------------------(end of
> broadcast)---------------------------
> TIP 6: explain analyze is your friend
>
>


pgsql-jdbc by date:

Previous
From: Dave Cramer
Date:
Subject: Re: org.postgresql.util.PSQLException: ERROR: current transaction is aborted, commands ignored until end of transaction block
Next
From: Oliver Jowett
Date:
Subject: Re: Timestamp Conversion Woes Redux