Skip to Main Content

Java Database Connectivity (JDBC)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Problem to connect to InterBase database

843854Jun 1 2004 — edited Jun 2 2004
Hi,

I have problems to connect to an InterBase 6.5 database.
My code is the following :
...
try {
      DataBaseConnect dbC = new DataBaseConnect();
    }
    catch (Exception e)
    {
      System.out.println (e.toString());
    }
....
public class DataBaseConnect {
    private Statement stmt;
    private Connection forb;
    public DataBaseConnect() throws Exception {
      Class.forName("interbase.interclient.Driver");
      forb = DriverManager.getConnection("jdbc:interbase://127.0.0.1/D:/TESTDB.GDB","SYSDBA", "masterkey");
      stmt = forb.createStatement();
    }
  }
I obtain the following error message :
"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"

In fact, I don't know if I have the good version of InterClient, that I downloaded at the following address :
http://info.borland.com/devsupport/interbase/opensource/#ibtools

However, the CLASSPATH variable is pointed on interclient.jar, so I don't know where the problem is ?

Thanks for any answer.

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 30 2004
Added on Jun 1 2004
1 comment
239 views