Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id 28D67634CA2 for ; Wed, 8 Sep 2010 07:53:17 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 42756-01 for ; Wed, 8 Sep 2010 10:53:08 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mail63.csoft.net (mail63.csoft.net [205.205.214.4]) by mail.postgresql.org (Postfix) with ESMTP id 5A83B634C80 for ; Wed, 8 Sep 2010 07:53:09 -0300 (ADT) Received: from mail63.csoft.net (localhost [127.0.0.1]) by mail63.csoft.net (Postfix) with ESMTP id 369BF284AE; Wed, 8 Sep 2010 06:53:07 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=csoft.net; h=date:from:to :cc:subject:in-reply-to:message-id:references:mime-version :content-type; s=sel1; bh=B2VHDm0sB3LK+PUubujK7fbJJ6c=; b=u1x6Iy To7IrXzScctRI7Jlpfz3FsLjJRQXSezq3sUvjjg+Sl3mmuerVFgfB2H0W7PqPPOn yy4Sblh8mSbB+QVciAduHdW5wEgCxDOu56upWfK4KLQR5MacnsG8T97nGEI+dIRw QB6nebS1jS39NGKD3wyKyvXfR6RnATb3Wp/PE= Received: from leary.csoft.net (leary.csoft.net [205.205.214.5]) by mail63.csoft.net (Postfix) with ESMTP id 33E20284A7; Wed, 8 Sep 2010 06:53:07 -0400 (EDT) Received: by leary.csoft.net (Postfix, from userid 1112) id 0599DA3B3; Wed, 8 Sep 2010 06:53:07 -0400 (EDT) Date: Wed, 8 Sep 2010 06:53:06 -0400 (EDT) From: Kris Jurka X-X-Sender: books@leary.csoft.net To: joiny cc: pgsql-jdbc@postgresql.org Subject: Re: postgresql 8.4 type mapping problem In-Reply-To: <1283933010011-2807499.post@n5.nabble.com> Message-ID: References: <1283933010011-2807499.post@n5.nabble.com> User-Agent: Alpine 2.00 (BSO 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.91 tagged_above=-10 required=5 tests=BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201009/10 X-Sequence-Number: 20880 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