From: Tom Arthurs <tarthurs@jobflash.com>
To: [pgsql-jdbc] <pgsql-jdbc@postgresql.org>
Subject: Upgrade to pg and driver version 8.x code compatibilities
Date: Thu, 05 May 2005 02:57:37 -0700
Message-ID: <4279EE11.10607@jobflash.com> (raw)
We've upraged out development and qa servers to postgresql 8. When using our java application, we get errors at various points in the code
similar to the following:
Unable to create new submission. org.apache.commons.dbcp.DelegatingPreparedStatement@180b22ejava.sql.SQLException:
ERROR: column "job_experience" is of type smallint but expression is of type character varying
If I downgrade the driver to the 7.4.x version the error goes away and we can run the application.
I realize this is probably pointing to bad coding practices, which will be fixed, I believe, as our developers work on the code, but we want to
avoid an all out push to get the code all fixed (similar problems exist in a *lot* of places in the code). We'd like to procede with
upgrading to 8.x server -- Two questions arise
1. What changed between the driver versions that generate this error?
2. What is the downside of continuing to use the 7.x version of the driver -- or are there better alternatives (patch, new version, etc). I
am using build 311 of the driver.
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: tarthurs@jobflash.com
Subject: Re: Upgrade to pg and driver version 8.x code compatibilities
In-Reply-To: <4279EE11.10607@jobflash.com>
References: <4279EE11.10607@jobflash.com>
* 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