Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Beginning Java
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Ron McLeod
Paul Clapham
Tim Cooke
Devaka Cooray
Sheriffs:
Liutauras Vilda
paul wheaton
Rob Spoor
Saloon Keepers:
Tim Moores
Stephan van Hulst
Tim Holloway
Piet Souris
Mikalai Zaikin
Bartenders:
Carey Brown
Roland Mueller
Forum:
Beginning Java
Callable Statement
Akshayan Venkatesh
Greenhorn
Posts: 26
posted 18 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
How to use CallableStatement in
JDBC
? with example ...
..Akshayan
pascal betz
Ranch Hand
Posts: 547
posted 18 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
how to ask questions:
http://faq.javaranch.com/view?HowToAskQuestionsOnJavaRanch
interesting for you:
SearchFirst
CarefullyChooseOneForum
btw: google is your friend one of the first hits for "callablestatment and example":
http://www.javaskyline.com/learnjdbc.html
p
Shaan Shar
Ranch Hand
Posts: 1252
I like...
posted 18 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Akshayan Venkatesh,
I think that you are not working ownself but anyways this is the example to use callableStatements.
Connection con = getCOnnection(//Your Stuff); CallableStatement cs=null; cs = con.prepareCall(//Write down your StoredProcedure here); //If You have Input Parameters cs.setString(index,value); //If you have output parameter cs.registerOutParameter(index,Types.VARCHAR); ... ... ... cs.executeUpdate();
But it's better for you to try yourself. Don't post the
thread
without at least one homework done by yourself.
The government thinks you are too stupid to make your own lightbulb choices. But this tiny ad thinks you are smart:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
Callable Statements
calling a PL/SQL procedure from a Java application
How to create a stored procedure in jdbc
Different results when running Store procedure from Java vs. running Stored Procedure directly.
Callable statement without binding
More...