pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Kris Jurka <books@ejurka.com>
To: joiny <jbakwd@gmail.com>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: postgresql 8.4 type mapping problem
Date: Wed, 8 Sep 2010 06:53:06 -0400 (EDT)
Message-ID: <alpine.BSO.2.00.1009080652010.30970@leary.csoft.net> (raw)
In-Reply-To: <1283933010011-2807499.post@n5.nabble.com>
References: <1283933010011-2807499.post@n5.nabble.com>



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



view thread (3+ messages)  latest in thread

Message-ID: <alpine.BSO.2.00.1009080652010.30970@leary.csoft.net>
Permalink:  ../alpine.BSO.2.00.1009080652010.30970@leary.csoft.net/
Also on:    postgresql.org/message-id/alpine.BSO.2.00.1009080652010.30970@leary.csoft.net

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: books@ejurka.com, jbakwd@gmail.com
  Subject: Re: postgresql 8.4 type mapping problem
  In-Reply-To: <alpine.BSO.2.00.1009080652010.30970@leary.csoft.net>
  References: <1283933010011-2807499.post@n5.nabble.com> <alpine.BSO.2.00.1009080652010.30970@leary.csoft.net>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox