Answer Posted / hazarath k
Stored Procedure is a set of precompiled SQL statements
(i.e., ready for execution), which will be executed at
Database server(backend).
By using the Callable Statement,We can call the Stored
Procedure from front-end.Callable is an interface.Every
vendor can provide their own implementation classes for
this intercace.By using this Callable Statement, we can
call the Stored Procedure/Stored Function.
Ex/Syntax:
Connection con=DriverManager.getConnection("---
","UID","PWD");
CallableStatement cstmt=con.prepareCall('{call
ProcedureName}');
Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
What does adapter class provide?
How can I use the JDBC API to access a desktop database like Microsoft Access over the network?
What protocol does jdbc use?
Explain about column name and getter method?
What do you mean by jdbc batch processing and what are the advantages of using jdbc batch processing?
Which is faster jdbc or odbc?
What are the advantages of database connection pooling?
Explain the difference between rowset vs. Resultset in jdbc?
How do I find jdbc version?
What is hbm xml?
Give steps to connect to the db using jdbc?
Can we return resultset in java?
What is the use of the statement in jdbc?
How to check jdbc connection in java?
What are devices?