hello,
has anybody had the same problem?
here the problem:
tried to connect (with the sample program of the javasoft-getting-started-
with-jdbc page) to a ms access database over the jdbc-odbc-bridge included
in visual age for java (jdk 1.1) and got an internal error EX02 during
the call of
sun.jdbc.odbc.JdbcOdbc.allocEnv(byte []) in
sun.jdbc.odbc.JdbcOdbcDriver.initialize()
the code is as follows:
...
String url = "jdbc:odbc:MPS_N";
String query = "SELECT * FROM PC";
try {
CLASS.forName("sun.jdbc.odbc.JdbcOdbcDriver");
DriverManager.setLogStream(System.out);
Connection con = DriverManager.getConnection(url, "admin", "");
// here i get the internal error
...
can the reason be the configuration of odbc? the database "MPS_N" isQuote:}
a datasource in odbc on the drive d:\path\mps_n.mdb, with user "admin" and
password "".
has anybody any idea or knows where i can get any hint.
thanks in advance and a happy day :)
lutz hankewitz