File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
this week in the
Other Open Source APIs
JDBC and Relational Databases
how to connect database
Joined: Apr 06, 2009
Sep 26, 2009 11:44:16
i have created database using MS ACCESS 2007. i need to know how can i connect that database to my
program, so that i can fetch required data from the database and display it.
please give me step by step details of the process as i know absolutely nothing about database connectivity in java.
Joined: Mar 24, 2008
Sep 26, 2009 11:56:44
You can get a good overview from
to get started. It's that only the driver you should get to match your vendor. And we have a separate forum dedicated to
SCJP 5 | SCWCD 5
How to ask questions
Joined: Oct 13, 2005
Sep 26, 2009 15:39:08
Moving to our databases forum.
Joined: Oct 23, 2005
Sep 27, 2009 16:55:20
For Access, you need to use a JDBC-ODBC bridge. There's a number of examples on the web of this.
Can I recommend using real database software? I know its not relevant but many programmers find Access unusable as a real database system (flame bait I know).
[OCA 8 Book]
I agree. Here's the link:
subject: how to connect database
Connection to MySQL
H2 database - how can I know if the database exsists or not
Help Connecting SQL Server 7 to Jboss 3
Database connectivity problem
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015