This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to connect database

 
neeraj jadhav
Greenhorn
Posts: 2
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i have created database using MS ACCESS 2007. i need to know how can i connect that database to my java 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.

 
Vijitha Kumara
Bartender
Posts: 3908
9
Chrome Fedora Hibernate
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can get a good overview from Jdbc Tutorial to get started. It's that only the driver you should get to match your vendor. And we have a separate forum dedicated to JDBC related posts.
 
Campbell Ritchie
Sheriff
Pie
Posts: 47274
52
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moving to our databases forum.
 
Scott Selikoff
author
Saloon Keeper
Posts: 3896
16
Eclipse IDE Flex Google Web Toolkit
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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).
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic