Subject Re: [Firebird-Java] Re: Incorrect values within SQLDA structure
Author Carsten Schaefer
I don't know what the spec says.
But when you think this should be the correct behaviour than there probably
is a bug in the driver,
because i got the following exception when i do it:
java.sql.SQLException: GDS exception: org.firebirdsql.gds.GDSException:
Incorrect values within SQLDA structure


----- Original Message -----
From: ""rrokytskyy"" <rrokytskyy@...>
Newsgroups: egroups.ib-java
Sent: Wednesday, April 03, 2002 5:30 PM
Subject: [Firebird-Java] Re: Incorrect values within SQLDA structure

> --- In Firebird-Java@y..., "Carsten Schaefer" <ca_schaefer@g...>
> wrote:
> > Why should there be a TypeConversionException ?
> > The error i got was because i have called setString(1,"WERT")
> > and setString(1,"") in one PreparedStatement.
> Ok, I thought that you called once setString(...) and then some other
> setXXX method (like setBytes(...)). But then, if you call setString
> twice, why there should be a problem? It should replace first value
> by the second, and do it correctly. Or am I wrong?