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
What does the jdbc connection interface?
What is the difference between jdbc and jndi?
What is a lock in jdbc?
What is difference between java.util.Date and java.sql.Date?
Explain the two tier and three tier architecture of jdbc.
What is the function of drivermanager class?
What is a java driver?
What is encrypted connection?
What is resultset?
What is a jdbc driver and how many jdbc drivers are available?
How many types of statements are there in jdbc?
Is jdbc a framework?
What is jdbc class forname?
What is difference between statement and preparedstatement in jdbc?
Why can't I invoke the ResultSet methods afterLast and beforeFirst when the method next works?