Manning's Countdown to 2014
. Use discount code crdotd14 all month for 50% off every deal.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Accessing Data from MS-Access database
Joined: Sep 24, 2002
Sep 24, 2002 05:58:00
Which is most suitable driver to access data from MS-Access database?
Joined: Nov 06, 2000
Sep 24, 2002 06:11:00
You will have to use the JDBC-ODBC bridge. It should have come with the JDK.
Bosun (SCJP, SCWCD)
So much trouble in the world -- Bob Marley
Joined: Feb 09, 2002
Sep 24, 2002 06:19:00
the code to load the driver for Access is:
// loads the driver DriverManager.registerDriver(new sun.jdbc.odbc.JdbcOdbcDriver()); // defines the data source for driver String sourceURL = "jdbc :-o dbc:<databasename>; // creates the dbase connection Connection conn = DriverManager.getConnection(soureURL);
Research the rest of code so you learn it on your own.
With a little knowledge, a
cast iron skillet
is non-stick and lasts a lifetime.
subject: Accessing Data from MS-Access database
reading from oracle!
Appet with data Base
inserting date and time into database
How to build DSN on the fly for MS Access database JDBC access?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013