Why would you use setautocommit(false) in jdbc?
No Answer is Posted For this Question
Be the First to Post Answer
What is a rollback in jdbc?
What is jdbc template?
How to make updates to updatable result sets in jdbc?
What is database deadlock ? How can we avoid them?
What is connection commit?
How many ways that we can view a result set?
What are dml and ddl?
What is sqlwarning and discuss the procedure of retrieving warnings?
Discuss the significances of jdbc.
What are restrictions on triggers?
How can a java objects be stored in database?
Hi my doubt is that preparedStatement is a interface means which has no implemenation.plz go thru the code below String sql = "SELECT * FROM movies WHERE year_made = ?"; prest = con.prepareStatement(sql); prest.setInt(1,2002); ResultSet rs1 = prest.executeQuery(); Now setInt and executeQuery how it works since it is interface it does not have implementation how it works, how executeQuery returns result from database as executequery method has no implementation even in Statement interface.
4 Answers Cybermate, Hexaware,