Florian Weimer wrote:
> * Kris Jurka:
>> Use setObject(int, object, Types.OTHER);
> I get a PSQLException with "Cannot cast an instance of
> java.lang.String to type Types.OTHER". Other types (such as Integer)
> don't work, either.
> I look rather hard at Debian's 8.2-504-3 source but couldn't find a
> straightforward way to make this work, beyond specifying
> stringtype=unspecified for the whole connection.
This is new functionality in 8.3 and newer drivers.
In response to
pgsql-jdbc by date
|Next:||From: Anjani Kumar Sahu||Date: 2009-09-07 07:29:46|
|Subject: Need help to download jdbc driver in Dspace windows|
|Previous:||From: Florian Weimer||Date: 2009-09-05 14:06:07|
|Subject: Re: Search content within a bytea field|