wood burning stoves 2.0*
The moose likes JDBC and the fly likes no suitable driver found.. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Databases » JDBC
Bookmark "no suitable driver found.." Watch "no suitable driver found.." New topic
Author

no suitable driver found..

Lesole Mphinyane
Ranch Hand

Joined: Oct 07, 2006
Posts: 42
hey all, um trying to connect to MS access database and i get the following error;

Exception in thread "main" java.sql.SQLException: No suitable driver found for jdbcdbc.gbcTVsurveySystem
at java.sql.DriverManager.getConnection(DriverManager.java:602)
at java.sql.DriverManager.getConnection(DriverManager.java:207)
at SimpleJdbc.main(SimpleJdbc.java:16)
check my code here';
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42061
    
  64
jdbc:odbc.gbcTVsurveySystem

It seems you mistyped that. See http://java.sun.com/j2se/1.3/docs/guide/jdbc/getstart/bridge.doc.html for how JDBC ODBC URLs look like.


Ping & DNS - my free Android networking tools app
 
GeeCON Prague 2014
 
subject: no suitable driver found..