Re: postgresql 8.4 type mapping problem - Mailing list pgsql-jdbc

From Kris Jurka
Subject Re: postgresql 8.4 type mapping problem
Date
Msg-id alpine.BSO.2.00.1009080652010.30970@leary.csoft.net
Whole thread Raw
In response to postgresql 8.4 type mapping problem  (joiny <jbakwd@gmail.com>)
Responses Re: postgresql 8.4 type mapping problem  (joiny <jbakwd@gmail.com>)
List pgsql-jdbc

On Wed, 8 Sep 2010, joiny wrote:

> I defined a filed with "character" type,how to mapping this type to java.
> I hava used "char" ,"Character","String","Integer".they are all error.
>
>
> here is the Exception info
> "Caused by: java.lang.IllegalArgumentException: Can't change resolved type
> for param: 8 from 1043 to 1042
> at
> org.postgresql.core.v3.SimpleParameterList.setResolvedType(SimpleParameterList.java:230)

I believe this has already been fixed.  Please try using a 8.4-702 driver:

http://jdbc.postgresql.org/download.html

Kris Jurka

pgsql-jdbc by date:

Previous
From: Kris Jurka
Date:
Subject: Re: JDBC driver method setClob always uses getAsciiStream()
Next
From: Thiago Godoi
Date:
Subject: Send a command to postgres and close the program