Skip to Main Content

Java Database Connectivity (JDBC)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

MS access driver

843854Jul 7 2002 — edited Jul 9 2002
Hi, i would like to access to a Microsoft Access database but i don�t know where to get for free a driver...Then i think i have to reference it in the classpath, and load the driver , it should be like this:
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
and make the conection...
String conString = "jdbc:odbc:Driver{Microsoft Access Driver(*.mdb)};
DBQ= c:/coffee.mdb"; // correct???
Connection con = DriverManager.getConnection(conString);
but have i got to install,configure the driver by control panel window? How do i get it? Thanx in advance.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 6 2002
Added on Jul 7 2002
4 comments
77 views