aspose file tools*
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
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