Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

stored procedure

 
Sprucerz Wizians
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hey please help me to write stored procedures in java program


cheers
-Sprucerz
 
Jef Cumps
cowbird
Ranch Hand
Posts: 53
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What is is exactly you want to do?

If you want to call stored procedures from within your Java code, you can do this using JDBC. Use a CallableStatement and parse the ResultSet for the return values from your procedure.

Is this of any help?
 
Ernest Friedman-Hill
author and iconoclast
Marshal
Pie
Posts: 24212
35
Chrome Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Welcome to JavaRanch!

First, a bit of business: you may not have read our naming policy on the way in. It requires that you use a full, real (sounding) first and last name for your display name, and yours definitely doesn't sound real. You can change your display name here. Thanks.

Here is a link to another copy of this question, now closed. Please don't post duplicate threads -- it just wastes people's time.

Finally, we've got a whole forum for questions about databases -- our JDBC forum. I'm going to move this there for you.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic