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
Explain the steps in writing a java program using jdbc?
What is jdbc class forname?
Which of the attributes in the monitoring tab for a jdbc connection pool in the administrative console tell us how many clients are currently waiting for a connection?
What is the role of class.forname while loading drivers?
What are the types of jdbc drivers that exist?
Is oracle client required for jdbc connection?
How to know howmuch data is truncated?
How do you insert images into database using jdbc?
Where is ojdbc14 jar located?
What is the difference between ojdbc6 and ojdbc7?
What is a jdbc driver and how many jdbc drivers are available?
Does the database server have to be running Java or have Java support in order for my remote JDBC client app to access the database?
How can I determine the isolation levels supported by my DBMS?
What is JDBC PreparedStatement?
RowSetInternal caller and returns void. What can I do in the readData method?