Re: BIGINT <-> java.lang.String auto cast - Mailing list pgsql-jdbc

From Dave Cramer
Subject Re: BIGINT <-> java.lang.String auto cast
Date
Msg-id 4296675D.6060505@fastcrypt.com
Whole thread Raw
In response to Re: BIGINT <-> java.lang.String auto cast  (Oliver Jowett <oliver@opencloud.com>)
Responses Re: BIGINT <-> java.lang.String auto cast
List pgsql-jdbc
Well, this is defined

setObject( n, Double, Types.boolean) and the backend doesn't handle it

Dave

Oliver Jowett wrote:

> Dave Cramer wrote:
>
>> As far as I know it doesn't handle things like setObject( n, Date,
>> Types.int )
>
>
> Err, what the heck is the driver meant to do with that anyway? There's
> a matrix of necessary-to-support conversions for setObject() in one of
> the JDBC spec's appendicies.. from memory, date -> integer isn't one
> of them.

> -O
>
>

--
Dave Cramer
http://www.postgresintl.com
519 939 0336
ICQ#14675561


pgsql-jdbc by date:

Previous
From: Oliver Jowett
Date:
Subject: Re: BIGINT <-> java.lang.String auto cast
Next
From: Oliver Jowett
Date:
Subject: Re: BIGINT <-> java.lang.String auto cast