This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Java Interview Guide and have Anthony DePalma on-line!
See this thread for details.
The moose likes JDBC and Relational Databases and the fly likes new to jdbc Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "new to jdbc" Watch "new to jdbc" New topic

new to jdbc

Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
Please help me .I'm new to JDBC and want to do some work on it.I have downloaded JDK 1.1.8 .How can I use Access or Oracle as database?How can I get the driver connection.Please tell me some steps by which I can proceed for developing a table from which i can retrive the data .
Thomas Paul
mister krabs
Ranch Hand

Joined: May 05, 2000
Posts: 13974

Associate Instructor - Hofstra University
Amazon Top 750 reviewer - Blog - Unresolved References - Book Review Blog
anand rk

Joined: Feb 07, 2001
Posts: 25
Hello Ramesh,
Here r the steps which is smae for any type of data base,but put it in a try catch block b'coz it gives up a xception.This one is for access data base.u first create a dns e in access and give it a name here it is "anand"

System.out.println("Driver registered for database...");
Connection con=DriverManager.getConnection"jdbc dbc:anand","username","password ");
System.out.println("Connection established with access...");
I agree. Here's the link:
subject: new to jdbc
It's not a secret anymore!