Question:

What is the use of CallableStatement ? Name the method, which is used to prepare a CallableStatement.

Answer:

CallableStatement is used to execute stored procedures. Stored procedures are stored and offered by a database. Stored procedures may take input values from the user and may return a result. The usage of stored procedures is highly encouraged, because it offers security and modularity.The method that prepares a CallableStatement is the following:

CallableStament.prepareCall();

 


Keywords:

© 2017 QuizBucket.org