Re: postgresql 8.4 type mapping problem

From: Kris Jurka <books(at)ejurka(dot)com>
To: joiny <jbakwd(at)gmail(dot)com>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: postgresql 8.4 type mapping problem
Date: 2010-09-08 10:53:06
Message-ID: alpine.BSO.2.00.1009080652010.30970@leary.csoft.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Thiago Godoi 2010-09-08 12:01:41 Send a command to postgres and close the program
Previous Message Kris Jurka 2010-09-08 09:10:41 Re: JDBC driver method setClob always uses getAsciiStream()