Main   Products   Offshore Outsourcing   Customers   Partners   ContactUs  
JDBC Databases
  HXTT Access v6.0
 
  Buy Now
  Support
  Download
  Document
  FAQ
  HXTT Cobol v3.0
  HXTT DBF v6.0
  HXTT Excel v5.0
  HXTT Paradox v6.0
  HXTT Text(CSV) v6.0
  HXTT XML v2.0
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 Ltd. of Beijing City (abbr, HXTT)

HXTT ACCESS
"java.sql.SQLException: No suitable driver" error
Daniel Kim
2005-12-06 00:00:00.0
hi!

I keep having this error even though I use Class.forName
... .
...

try {

Class.forName("com.hxtt.sql.access.AccessDriver").newInstance();

String url = "c:\\cred\\MSOData.mdb";

accessCon = DriverManager.getConnection(url,"", "");

}

catch (Exception e) {
System.out.println("Error(SuperMsAccessDAO): " + e);
}
...
...
...

Why am I doing wrong?

thanks,
Daniel
Re:
HXTT Support
2005-12-06 00:00:00.0
>String url = "c:\\cred\\MSOData.mdb";
You should use:
String url = "jdbc:access:/c:\\cred\\MSOData.mdb";
Or
String url = "jdbc:access:////c:\\cred\\MSOData.mdb";
Or
String url = "jdbc:access:/c:/cred/MSOData.mdb";
Or
String url = "jdbc:access:///c:/cred/MSOData.mdb";








Search Key   Search by Last 50 Questions




Google
 

Email: webmaster@hxtt.com
Copyright © 1999-2017 Heng Xing Tian Tai Ltd. of Beijing City. | All Rights Reserved. | Privacy | Legal | Sitemap