wood burning stoves 2.0*
The moose likes JDBC and the fly likes How to connect to MS ACCESS through our own Driver Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "How to connect to MS ACCESS through our own Driver" Watch "How to connect to MS ACCESS through our own Driver" New topic
Author

How to connect to MS ACCESS through our own Driver

Gaurav Chhabras
Ranch Hand

Joined: Sep 21, 2005
Posts: 126
Hi

I have one driver named abc, this is a class file means abc.class.
Now i want to manipulate MS ACCESS through this.

How can i do that, what steps should i follow and where to put this class file, and what should i write while writting :

Connection con = DriverManager.getConnection("jdbc:apache:commons: abc SN")

what should i give at the place of DSN or what should i do.

Thanks
Regards
Gaurav
Aris Doxakis
Ranch Hand

Joined: Dec 05, 2004
Posts: 136

hello,
i think this will work for you

Connection con = null;
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
con=DriverManager.getConnection("jdbc dbc:abc");
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to connect to MS ACCESS through our own Driver
 
Similar Threads
URL settings in Java Mail server
Tomcat JDBC Realm using MS Access DB
Tomcat JDBC Realm using MS Access DB
Connecting to MsAccess from an Unix machine throught Java
JDBC driver for MSSQL2000