What is Statement and PreparedStatement? whatz the
difference?
Answer Posted / harish
When you execute a SQL query with Statement. It parses and
executes in the database each time. Where as in
PreparedStatement, first time it parses and executes and
subsequent times, it directly substitute the values in the
query and executes. It is faster than Statement
Is This Answer Correct ? | 11 Yes | 2 No |
Post New Answer View All Answers
Why can't Tomcat find my Oracle JDBC drivers in classes111.zip?
What is meant by dao?
Prepared statements are faster. Why?
What is layer in communication?
What is the reason why we need a jdbcrowset like the wrapper around resultset?
What is jdbc resultsetmetadata interface?
What is batch processing and how to perform batch processing in jdbc?
What is jdbc and its types?
What are the standard isolation levels defined by JDBC?
How to check jdbc connection in linux?
How to rollback a JDBC transaction?
Why do we need jdbc api?
What are the differences between setmaxrows(int) and setfetchsize(int)?
What is jdbc and jpa?
What is db client?