What is the main functionality of Prepared Statement?
Answer Posted / madhu
it is wrong assumption that preparedStatement is precompiled statement,because when we send any query with prepared statement it is going to store in SGA memory and it select any algorithm to find the solution.when we send the same query second time it won't compile once again.in this it going to improve performance.for the first time it is not precompiled for the second it is precompiled.
i hope is correct, if any thing wrong suggest me.
| Is This Answer Correct ? | 4 Yes | 1 No |
Post New Answer View All Answers
What is the difference between pass by reference and pass by pointer?
What is a stringbuilder?
What is thread pool in java with example?
What are constructors in java?
What is a qualifier in a sentence?
What is the use of protected in java?
Why enumeration is faster than iterator?
What are runtime exceptions?
Give the hierarchy of inputstream and outputstream classes.
What environment variables are required to be set on a machine in order to run Java programs?
How do you end a program?
Why map is used in java?
In how many ways we can do synchronization in java?
Which is better ascii or unicode?
How many decimal digits is 64 bit?