What is the use of prepared statement?Ans:used to execute
pre compiled statement...so the question is when that
precompiled statement will be execute or
comiple?................
Answer Posted / anjani kumar jha
prepared statement work same as the statement,but there r
some differences.
wen u submitting the query first time following things happened
1)compiling the query
2)executing the query
3)sending results back to the program
2nd time onwards
1)executing the query directly
2) sending results back to the program
| Is This Answer Correct ? | 6 Yes | 1 No |
Post New Answer View All Answers
When do we get java.sql.SQLException: No suitable driver found?
Is it possible to connect to multiple databases simultaneously?
How to set the attribute concurrency in resultset?
List the common jdbc exceptions ?
What are the advantages of collection pools?
What is type 4 jdbc driver?
Describe how the jdbc application works.
What types of DataSource objects are specified in the Optional Package?
What are different parts of a url?
What is a rollback in jdbc?
What is @entity in java?
What is DML?
What isolation level is used by the DBMS when inserting, updating and selecting rows from a database?
What are the differences between setmaxrows(int) and setfetchsize(int)?
What is getconnection method in java?