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
What are the jdbc api components?
Where is jdbc url mysql?
What are the advantages of using preparedstatement over statement?
Does sql allow null values ? Can we use it within where clause ?
What is jdbc and odbc?
What is a jdbc connection pool?
Which is best database for java?
What is JDBC Driver interface?
Explain the locking system in jdbc?
What are the advantages of database connection pooling?
What is a statement?
Is jdbctemplate thread safe?
Does sql allow null values ?
Which package is used for jdbc application?
How you restrict a user to cut and paste from the html page using java programing?