What is the main functionality of Prepared Statement?
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / arjun
when client send any query first time it can go to database
after second time no need to connect directly connect
database that is the functionality
Is This Answer Correct ? | 1 Yes | 1 No |
Answer / md sirajuddin
Prepared Statement is an interface , which is used to execute queries . In case of prepared Statement we can insert the data dynamically to the query , prepared statement is used to execution query multiple times.
Is This Answer Correct ? | 0 Yes | 0 No |
What is the purpose of static methods and variables?
What is the basic concept of java?
explain the collection in java
How many methods does cloneable interface contains?
Outline the major features of java.
why doesn't java run on all platforms?
What is difference between stringbuffer and string?
What is the difference between hashmap and hashtable? What is an interface?
how to minimize the functionality to will not force garbage collector?
What are the names of interfaces that doesn't consists of method/s ?
How do you include a string in java?
What is method in java with example?