Subject | Re: [Firebird-Java] Re: Incorrect values within SQLDA structure |
---|---|
Author | Carsten Schaefer |
Post date | 2002-04-03T20:24:04Z |
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
at
org.firebirdsql.jdbc.FBPreparedStatement.internalExecute(FBPreparedStatement
.java:437)
at
org.firebirdsql.jdbc.FBPreparedStatement.executeUpdate(FBPreparedStatement.j
ava:144)
gruse
carsten
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
at
org.firebirdsql.jdbc.FBPreparedStatement.internalExecute(FBPreparedStatement
.java:437)
at
org.firebirdsql.jdbc.FBPreparedStatement.executeUpdate(FBPreparedStatement.j
ava:144)
gruse
carsten
----- 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?
>