File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JDBC and Relational Databases and the fly likes JDBC connectivity 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 "JDBC connectivity" Watch "JDBC connectivity" New topic

JDBC connectivity

Siddhesh Desai

Joined: Jun 28, 2004
Posts: 9
Good Morning,
I have JDBC codes given on "SUN.JAVA" site. I have compliled "".
I have used correct "url" and other component. I want to ask that whether is it needed to run SQL queries indivisually before running java file..

I request to advise me abot Actual running that files.

Stan James
(instanceof Sidekick)
Ranch Hand

Joined: Jan 29, 2003
Posts: 8791
What database are you using? Nearly every db product has a proprietary interface for entering SQL commands and viewing the results. Look through the db doc and maybe venture down to the JDBC forum if still confused.

A good question is never answered. It is not a bolt to be tightened into place but a seed to be planted and to bear more seed toward the hope of greening the landscape of the idea. John Ciardi
Dirk Schreckmann

Joined: Dec 10, 2001
Posts: 7023
For an easy introduction to learning JDBC, I'd recommend taking a look at the JDBC assignments of the JavaRanch Cattle Drive. That's how I learned the subject, at first.

[How To Ask Good Questions] [JavaRanch FAQ Wiki] [JavaRanch Radio]
Dirk Schreckmann

Joined: Dec 10, 2001
Posts: 7023
Moving this to the JDBC forum...
I agree. Here's the link:
subject: JDBC connectivity
jQuery in Action, 3rd edition