What is the role of class.forname while loading drivers?
No Answer is Posted For this Question
Be the First to Post Answer
What does jdbc stand for?
How can I get information about foreign keys used in a table?
How can I connect mysql or oracle with java?
Does jdbctemplate close connection?
Why is jdbc needed?
How can a java objects be stored in database?
What is Type-1 Driver and when this driver is used?
What will happen when ResultSet is not closed?
What do you mean by batch processing in jdbc?
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,
What are the higher level apis under development on top of jdbc currently?
What is the use of prepared statement?Ans:used to execute pre compiled statement...so the question is when that precompiled statement will be execute or comiple?................