Subject Re: [Firebird-Java] Re: Incorrect values within SQLDA structure
Author Carsten Schäfer
Hi,
this was my error.
There is no error with inserting an empty string.
The exception comes, because i have done 2 inserts on the same column in 1 PreparedStatement.
This makes no sense and is my error.
Thanks to the new driver that reportet me the error, which Interclient does not.

gruse
Carsten

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


> --- In Firebird-Java@y..., Carsten Sch=E4fer <ca_schaefer@g...> wrote:
> > Hi,
> > I get this error when i call the following on a PreparedStatement:
> >=20
> > insert.setString(1, "");
> > with the following=20
> > column-definition:
> > "F_KH_EINHEIT_SOLL" VARCHAR(15) CHARACTER SET WIN1252,
> >=20
> > java.sql.SQLException: GDS exception:=20
> org.firebirdsql.gds.GDSException: Incorrect values within SQLDA=20
> structure
> > at org.firebirdsql.jdbc.FBPreparedStatement.internalExecute
> (FBPreparedStatement.java:437)
> > at org.firebirdsql.jdbc.FBPreparedStatement.executeUpdate
> (FBPreparedStatement.java:144)
>
> I tried to reproduce an error but without a success. It works fine=20
> for me. Can you prepare a standalone example (preferably jUnit test=20
> case) that reproduces the error?
>