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 is jdbc driver manager?
What are the different types of lockings in jdbc?
Explain about column name and getter method?
How do I insert an image file (or other raw data) into a database?
How a database driver can be loaded with jdbc 4.0 / java 6?
What causes the "No suitable driver" error?
What is an odbc driver?
What happens if connection is not closed in jdbc?
What is benefit of using preparedstatement in java?
What is jdbc odbc in java?
What is jdbc template?
What is the difference between executing, executequery, executeupdate in jdbc?
What is odbc. how is it related to sql cli?
What is metadata in jdbc?
Explain the necessary steps to connect to the database in java?