P
Promonkey
The info.mdb is ready to read in the directory.
When it goes to getConnection method, the program is blocked with no prompt.
Is there any possible reason for the block?
Thanks very much to help me.
The Code is listed below:
String drivername = "sun.jdbc.odbc.JdbcOdbcDriver";
String url = String accessconurl = "jdbc
dbc:driver={Microsoft Access
Driver (*.mdb)};DBQ="+ System.getProperty("user.dir")+ "\\info.mdb";
Class.forName(drivername);
conn = DriverManager.getConnection(url); // Get Blocked here
When it goes to getConnection method, the program is blocked with no prompt.
Is there any possible reason for the block?
Thanks very much to help me.
The Code is listed below:
String drivername = "sun.jdbc.odbc.JdbcOdbcDriver";
String url = String accessconurl = "jdbc
Driver (*.mdb)};DBQ="+ System.getProperty("user.dir")+ "\\info.mdb";
Class.forName(drivername);
conn = DriverManager.getConnection(url); // Get Blocked here