Main   Products   Offshore Outsourcing   Customers   Partners   ContactUs  
JDBC Databases
  HXTT Access 7.1.243
  Buy Now
  HXTT Cobol 5.0.242
  HXTT DBF 7.1.243
  HXTT Excel 6.1.246
  HXTT Json 1.0.214
  HXTT Paradox 7.1.242
  HXTT PDF 2.0.242
  HXTT Text(CSV) 7.1.242
  HXTT Word 1.1.242
  HXTT XML 4.0.243
Offshore Outsourcing
Free Resources
  Firewall Tunneling
  Search Indexing Robot
  Conditional Compilation
  Password Recovery for MS Access
  Password Recovery for Corel Paradox
  Checksum Tool for MD5
  Character Set Converter
  Pyramid - Poker of ZYH
Heng Xing Tian Tai Lab of Xi'an City (abbr, HXTT)

Driver no suitable
2005-08-08 00:00:00
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
MS-Access file.
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.
Re:Driver no suitable
2005-08-10 00:00:00
It was my mistake,now it works perfectly you have done a great job with the driver!!
Re:Re:Driver no suitable
HXTT Support
2005-08-10 00:00:00
You should use Class.forName("com.hxtt.sql.access.AccessDriver");

Search Key   Search by Last 50 Questions


Copyright © 2003-2019 Heng Xing Tian Tai Lab of Xi'an City. | All Rights Reserved. | Privacy | Legal | Sitemap