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
How many types of jdbc drivers are there?
What is Apache DBCP API?
Explain different types of locks in jdbc?
Explain the two tier and three tier architecture of jdbc.
Explain the various types of locking system in jdbc?
How java can be connected to a database?
Is jdbc a framework?
What is savepoint in jdbc?
What are the advantages of collection pools?
Which is better jpa or jdbc?
Why do we use jdbc statements?
What is meant by jdbc?
What are the different types of drivers under jdbc?
What is the major difference between java.util.date and java.sql.date data type?
Explain the difference between inner and outer join ?