Subject InterClient JDBC
Author Tony
InterClient JDBC

Hi,

Can anybody help me, pleaseeee?

I am sorry if this is not the correct forum
for asking InterClient JDBC issue. I could not find
other forum that accepted Java related issues.

I am researching on the possibility of using Interbase
in our project. I got a problem that I could not manage to
create a PreparedStatement from the connection I obtained.
It gives a strange error:

Opening connection to jdbc:interbase://localhost/c:/projects/dbms/interbase/mydb.gdb mydb-test/test
java.lang.VerifyError: (class: interbase/interclient/ErrorKey, method: _$372 signature: (Ljava/lang/String;Ljava/lang/String;I)V) Expecting to find unitialized object on stack

        at interbase.interclient.SQLException.<init>(SQLException.java:96)
        at interbase.interclient.RecvMessage.createSQLException(RecvMessage.java:694)
        at interbase.interclient.RecvMessage.makeSQLException(RecvMessage.java:593)
        at interbase.interclient.RecvMessage.get_EXCEPTIONS(RecvMessage.java:554)
        at interbase.interclient.PreparedStatement._$120007(PreparedStatement.java:133)
        at interbase.interclient.PreparedStatement.<init>(PreparedStatement.java:112)
        at interbase.interclient.Connection.prepareStatement(Connection.java:530)
        at dbsim.Pre.createDimension(Pre.java:73)
        at dbsim.Pre.createPropertyAll(Pre.java:50)
        at dbsim.Pre.doIt(Pre.java:28)
        at dbsim.Test.init(Test.java:288)
        at dbsim.Test.run(Test.java:56)
        at dbsim.Test.main(Test.java:45)
Exception in thread "main"

I got the same VerifyError message when I did not provide username/password.
There must be some thing wrong.

I have started ibserver and InterClient.
It was also successful when I ran CommDiag.html
The applet successfully queried information about mydb.

Thanks a lot,
Tony