Which is faster jdbc or odbc?
No Answer is Posted For this Question
Be the First to Post Answer
How to set NULL values in JDBC PreparedStatement?
What is jdbc resultsetmetadata interface?
What is SQL Warning? How to retrieve SQL warnings in the JDBC program?
How java can be connected to a database?
What is statement and preparedstatement in java?
Does sql allow null values ?
How can we store the file in the oracle database?
What is com mysql jdbc driver?
What are the 4 types of 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,
What is the difference between triggers and procedures?
what is JDBC?