What are the measures to connect to the db using jdbc?
No Answer is Posted For this Question
Be the First to Post Answer
What is SQL Warning? How to retrieve SQL warnings in the JDBC program?
Is jdbc connection secure?
What is jdbc in java?
How will you perform truncation using JDBC?
Is jdbc and orm?
Which type of driver is unique in jdbc?
How is jndi useful for Database connection?
How can I get information about foreign keys used in a table?
What is jdbc databasemetadata interface?
what are the types of result sets in JDBC 3.0 ?
how do we get the connection from connection pool
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,