I downloaded a trial version of "Access JDBC 3.0 Direct Access Package" and when I try to get a connection my program throws a SQLException ("Driver no suitable").I have read the FAQ and in question number 3 you explain that "If you're using a trial version, you will get "No suitable driver" SQLException, and "Evaluation period over" after using about 30 days."
Sorry for my english, but does this mean that I cannot try the driver unless I get a full license?
I think that the problem is not a malformed URL because I have followed the instructions. Here is a copy of my code:
String urlDB = "jdbc:Access:///c:\\data\\fileDB.mdb";
Connection conn = DriverManager.getConnection(urlDB);
where "data" is the directory where my .mdb file is and "fileDB.mdb" is my
I have tried with "com.hxtt.sql.access.AccessDriver" too and also without the "//" between "Access:/" and "c:" with the same result.
Could it be because my program is running on Windows (because of the "\\" in the URL)?
Thank for your att.
It was my mistake,now it works perfectly you have done a great job with the driver!!
You should use Class.forName("com.hxtt.sql.access.AccessDriver");