Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

drivers to connect java to MSAccess database

Status
Not open for further replies.

gransbpa

Programmer
Jun 5, 2001
98
NL
Hi,

I'm kind of new in java and want to implement a java developed user interface on a MS Access97 database. What I understood so far is that you have to hardcode the registration of the driver in a class, and then instantiate an instance of that class to connect to the database. My question is: does anyone know which driver(s) I need, where to get them and how to implement them?

Thanks
 
You have two options to connect to an Access db :

Either via a JDBC driver which will act as an interface between straight between your db and your application -
Check out this site :

This list vendors of JDBC drivers which will connect to MS Accesss. Some are free, some are trial, some you have to pay for.
I would personally go for this option.


Or you could use a JDBC-ODBC brdge (search for one) - in effect a JDBC interface between your application, and an ODBC driver which talks to your db. This option is alot slower because it invokes two drivers - one ODBC and one JDBC.

Whichever option you choose, there will be documentation for installing and implementing with the product.

Ben
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top