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
Tim Cooke
paul wheaton
Ron McLeod
Jeanne Boyarsky
Sheriffs:
Paul Clapham
Saloon Keepers:
Tim Holloway
Roland Mueller
Bartenders:
Forum:
Beginning Java
Callable Statement
Akshayan Venkatesh
Greenhorn
Posts: 26
posted 19 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 19 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 19 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.
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...