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
What is a statement in java?
Which database is used with java?
What is connection pooling and why it is used?
How many types of jdbc drivers are there?
What are the main steps in java to make JDBC connectivity?
Is jdbc a middleware?
What is the fastest type of JDBC driver?
If you are given a choice to implement the code to either insert a record or update if already exist, which approach will you follow ?
How we store procedure in oralce for callable statements in jdbc
How do you determine the sensitivity of the ResultSet object?
Name different methods for getting streams.
What is jdbc connection?
What is the latest version of JDBC? What are the new features added in that?
What is jdbc resultsetmetadata interface?
Is jdbc a web technology?