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
Is java a high level language?
What are the main components of multi-tier architecture?
What is jaap?
Define orm and its working in j2ee?
What is asant?
Define authorization constraint?
Is java safe to download?
What is client-certificate authentication?
How does j2ee application work?
What will happen when you compile and run the following code?
What is java api for xml registries (jaxr)?
What is j2ee module?
What does the application client module contain?
What is business logic?
What is setbounds in java?