Re: 8.0 beta4: Exception with setBoolean on char column - Mailing list pgsql-bugs

From Kris Jurka
Subject Re: 8.0 beta4: Exception with setBoolean on char column
Date
Msg-id Pine.BSO.4.56.0411072002200.16843@leary.csoft.net
Whole thread Raw
In response to 8.0 beta4: Exception with setBoolean on char column  ("Laferriere, Al" <ALaferriere@Sciforma.com>)
List pgsql-bugs
On Mon, 1 Nov 2004, Laferriere, Al wrote:

> [can't call setBoolean on char or setString on boolean]
>

This is the expected behavior.  The 8.0 release of the JDBC driver
includes strong typing.  Previous versions of the driver did simple
string substitution, a = ? was transformed to a = '0' before being sent to
the server.  Now it uses a true prepared statement on the server side
which needs the correct types given to it.

Kris Jurka

pgsql-bugs by date:

Previous
From: ssinger@navtechinc.com
Date:
Subject: Re Some patches to enhance the contrib build
Next
From: joaom@pmpf.rs.gov.br
Date:
Subject: Mensagem...postgres