• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JDBC connectivity

 
Siddhesh Desai
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Good Morning,
I have JDBC codes given on "SUN.JAVA" site. I have compliled "createcoffe.java".
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.

Thanks
 
Stan James
(instanceof Sidekick)
Ranch Hand
Posts: 8791
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Dirk Schreckmann
Sheriff
Posts: 7023
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Dirk Schreckmann
Sheriff
Posts: 7023
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moving this to the JDBC forum...
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic