jQuery in Action, 3rd edition
The moose likes JDBC and Relational Databases and the fly likes steps to connect to database Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "steps to connect to database" Watch "steps to connect to database" New topic

steps to connect to database

srikanth sri

Joined: Feb 21, 2010
Posts: 20
please can any body tell me how to connect to the database.

i spent lot of time reding books, please don't tell me like

load the driver dynamically

create the connection object....

but theoritically what i have to do

download anything like mysql or sql server or can i choose MS Access 2007 as RDBMS

like what are the steps to create database and tables whare should i give the DSN name ..etc

thanks in advance
Misha Ver
Ranch Hand

Joined: Mar 03, 2008
Posts: 470
Have you seen http://java.sun.com/docs/books/tutorial/jdbc/index.html
bala funnyguy

Joined: Apr 16, 2010
Posts: 2
please send me the exact coding for connecting java with ms acces......

i m here to know about java and to tell about java....
Jeanne Boyarsky
author & internet detective

Joined: May 26, 2003
Posts: 33106

The code is in the tutorial link Misha provided. Please try that and post what specific question you have.

Nobody here is going to write your code for you. What we will do is help if you ShowSomeEffort.

[OCA 8 book] [Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Other Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, TOGAF part 1 and part 2
I agree. Here's the link: http://aspose.com/file-tools
subject: steps to connect to database
It's not a secret anymore!