Meaningless Drivel is fun!
The moose likes JDBC and Relational Databases 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 Building Microservices this week in the Design forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
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");
 
Have you checked out Aspose?
 
subject: How to connect to MS ACCESS through our own Driver
 
It's not a secret anymore!