What is execute(), executeUpdate() and executeQuery()
methods?
Answer Posted / bhoopesh alladi
execute()- is for invoking the functions or stored
procedures of SQL by the CallableStatement.
executeUpdata()- is for the operations such as insert,
update or delete on SQL by PreparedStatement, Statement.
executeQuery() - is for operation select of Sql by
PreparedStatement or Statement.
Is This Answer Correct ? | 69 Yes | 21 No |
Post New Answer View All Answers
Explain the difference between rowset vs. Resultset in jdbc?
Write an sql to find all records having all numeric characters in a field ?
Explain the importance of drivermanager.
What is jdbc odbc driver?
Why do you use a data source object for a connection?
Can we return resultset in java?
What is jdbc url for mysql?
How do you insert images into database using jdbc?
How to use JDBC API to call Stored Procedures?
Explain some new features available in jdbc 4.0?
What port does jdbc use?
Where is jdbc used?
How do I receive a ResultSet from a stored procedure?
How can we retrieve the file in the oracle database?
What does connection pooling mean ?