JDBC drivers

DO you know where I can find a JDBC driver for Adabas?

Kernel Version ‘KERNEL 12.00.00 DATE 2001-02-08’
RTE Version ‘RTE 12.00.00 Linux/PC DATE 2000-10-27’
Control Version ‘CONTROL 12.00 DATE 2000-12-05’

Best regards Birkir

$DBROOT/lib/adabasd.jar

A demonstration program can be found in $DBROOT/demo/eng/JDBC

Thank you…

The code snipplet I’m using is

String _driver = "de.sag.jdbc.adabasd.ADriver";
String _url = "jdbc:adabasd://192.168.101.210/obldb42";
String _usr = "obluser";
String _pas = "oblpass";

try {

    Class.forName(_driver);
    c = DriverManager.getConnection(_url, _usr, _pas);

} catch (java.lang.ClassNotFoundException e) {
    System.out.println("Cannot find driver class "+_driver);
} catch (java.sql.SQLException e) {
    System.out.println("Cannot get connection "+_url+" "+_usr+" "+_pas);
    e.printStackTrace();
}

And the result is this:

Cannot get connection jdbc:adabasd://192.168.101.210/obldb42 obluser oblpass

java.sql.SQLException: DATABASE MUST BE RESTARTED
at de.sag.jdbc.adabasd.packet.Header.evalRteReturnCode(Header.java:126)
at de.sag.jdbc.adabasd.server.AServer.sendConnectRequest(AServer.java:353)
at de.sag.jdbc.adabasd.server.AServer.connect(AServer.java:92)
at de.sag.jdbc.adabasd.AConnection.doServerConnect(AConnection.java:97)
at de.sag.jdbc.adabasd.AConnection.(AConnection.java:79)
at de.sag.jdbc.adabasd.ADriver.connect(ADriver.java:146) …

Any thoughts on the matter?