aspose file tools*
The moose likes JDBC 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 Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "new to jdbc" Watch "new to jdbc" New topic
Author

new to jdbc

Anonymous
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
Try:
http://java.sun.com/docs/books/tutorial/jdbc/index.html


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

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"

Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
System.out.println("Driver registered for database...");
Connection con=DriverManager.getConnection"jdbc dbc:anand","username","password ");
System.out.println("Connection established with access...");
stm=con.createStatement();
Bye
Anand
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: new to jdbc