What is addbatch jdbc?
No Answer is Posted For this Question
Be the First to Post Answer
What are the different types of classes in the api component?
What is the role of class.forname while loading drivers?
How we say that PreparedStatment is Precompiled? where it will be compiled?
What is benefit of using preparedstatement in java?
Is jdbc secure?
What is jdbc and why is it required?
What is the difference between setmaxrows(int) and setfetchsize(int)?
Why jdbc is used in java?
Result set’s index starts with 0 or 1?
What is odbc and jdbc drivers?
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,
Is jpa faster than jdbc?