What is the difference between executing, executequery, executeupdate in jdbc?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More JDBC Interview Questions

What are cursor attributes?

3 Answers  


What is database deadlock ?

0 Answers  


What does the connection object represents?

0 Answers  


What are different types of ResultSet?

0 Answers  


What is setautocommit in jdbc?

0 Answers  






What is a jdbc driver and how many jdbc drivers are available?

0 Answers  


Statement, PrepareStatement and Callable all these are interfaces. Thought it is a interface how come we are creating objects and calling methods("preparestatement()") in it. In which class this method is defined. Please let me know. Thanks in advance. example: PreparedStatement pre = con.prepareStatement( "UPDATE COFFEES SET SALES = ? WHERE COF_NAME LIKE ?");

2 Answers  


What is the use of callablestatement? Name the method, which is used to prepare a callablestatement.

0 Answers  


How to find that, a row is updated or not?

2 Answers  


Does jdbctemplate use prepared statements?

0 Answers  


What class.forname will do while loading drivers of jdbc?

0 Answers  


What are the different types of statements?

4 Answers  


Categories