can someone tell me how does preparedstatement works? its
an interface and where is the implementation?
Answer Posted / sk.bilal ahmed
A SQL statement is precompiled and stored in a
PreparedStatement object. This object can then be used to
efficiently execute this statement multiple times.
Note: The setter methods (setShort, setString, and so on)
for setting IN parameter values must specify types that are
compatible with the defined SQL type of the input
parameter. For instance, if the IN parameter has SQL type
INTEGER, then the method setInt should be used.
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
What is java developer?
What is the J2EE module?
What is iso 3166?
What is advance java?
What is a component in java?
What is server in j2ee?
What is form-based authentication?
What is javamail?
What is digest authentication?
Is java a high level language?
How does j2ee application work?
What is j2ee api?
What is actionerrors?
Is python more secure than java?
What is filter chain?