Subject | Re: [IB-Java] Re:_setNull(_col,_java.sql.Types.INTEGER)_doesn?t_work! |
---|---|
Author | Krzysztof Golko |
Post date | 2001-10-17T20:11:18Z |
Are you sure you're using the same version of
InterClient and InterServer?
--- info@... wrote:
Do You Yahoo!?
Make a great connection at Yahoo! Personals.
http://personals.yahoo.com
InterClient and InterServer?
--- info@... wrote:
> Hi,interbase.interclient.PreparedStatement.setNull(interbase/interc=
> i got the jdk1.3 version of interclient.jar.
> I now get the following messge:
>
> [interclient] Invalid operation to set a
> non-nullable input parameter to nu=
> ll.
> See API reference for exception
> interbase.interclient.InvalidOperationExcep=
> tion
> interbase.interclient.InvalidOperationException:
> [interclient] Invalid oper=
> ation
> to set a non-nullable input parameter to null.
> See API reference for exception
> interbase.interclient.InvalidOperationExcep=
> tion
> at
>
> lienthttp://www.kpi.com.au/interbase/files/interclient.jar
> /PreparedStatement.java:402)
>
> I?m trying to trigger the filling of an
> "autoincrement" field (using an ins=
> ert-trigger) using a prepared statement. When i use
> the Statement class it w=
> orks!
> ie. stmt.executeUpdate("insert into table1 (id)
> values(null)");
>
> Any ideas?
> TIA,
> Mark
>
>
> --- In IB-Java@y..., "alexander sokolov"
> <sokolov@s...> wrote:
> > It looks like you have interclient for jdk1.2, not
> 1.3
> >
> > Look at
> >
> >
>
> >__________________________________________________
> >
> >
> > ----- Original Message -----
> > From: <info@w...>
> > To: <IB-Java@y...>
> > Sent: Wednesday, October 17, 2001 18:33
> > Subject: [IB-Java] setNull( col,
> java.sql.Types.INTEGER) doesn?t work!
> >
> >
> > Hi,
> > using IB6 + Interclient 2 + JDK1.3.
> > Get following error-message:
> >
> > java.lang.VerifyError: (class:
> interbase/interclient/ErrorKey, method: _$=
> 37=
> > 2 signature:
> (Ljava/lang/String;Ljava/lang/String;I)V) Expecting
> to find =
> uni=
> > tialized object on stack
> >
> > Mind you that?s what i always get when some sql
> error happens!
> >
> > Anybody experienced this/ got a solution?
> >
> > TIA
> > Mark
> >
> >
> > To unsubscribe from this group, send an email to:
> > IB-Java-unsubscribe@egroups.com
> >
> >
> >
> > Your use of Yahoo! Groups is subject to
> http://docs.yahoo.com/info/terms/
>
>
Do You Yahoo!?
Make a great connection at Yahoo! Personals.
http://personals.yahoo.com