What is actual difference between statement,prepared
statement and callable statement and when we have to use it?
pls post a answer with code and clear explanation. thanks
Answer Posted / sudha
Prepared statement is precompiled statement it is used when
we want one query to be executed n no. of times.
whereas callablestatement is used to call stored procedures
| Is This Answer Correct ? | 41 Yes | 3 No |
Post New Answer View All Answers
What is the Difference between Final Class && Abstract Class?
Can we use catch statement for checked exceptions?
What is protected access modifier?
What are controls and their different types in awt?
Can I learn java in 3 months?
What are the advantages of packages in java?
Why multiple inheritance is not supported by java?
Which variables are stored in stack?
Where are the local variables stored?
Why are the objects immutable in java?
What is the main purpose of serialization in java?
What are the differences between the constructors and methods?
4.1 Supply contracts (in the form of comments specifying pre- and post conditions) for the enqueue() method of the LinkedQueue class given in the Appendix. (2) 4.2 Let Thing be a class which is capable of cloning objects, and consider the code fragment: Thing thing1 = new Thing(); //(1) Thing thing2 = thing1; //(2) Thing thing3 = (Thing) thing1.clone(); //(3) Explain how the objects thing2 and thing3 differ from each other after execution of the statements. (
Can we write any code after throw statement?
What is the basic concept of java?