How do I know which jdbc driver to use?
No Answer is Posted For this Question
Be the First to Post Answer
What is the return type of class.forname() method?
What are the jdbc statements?
What is statement and preparedstatement in java?
code to insert values/rows into oracle database from a java swing textfield when a button is pressed(using preparedstatements)
What is com mysql jdbc driver?
Is odbc an api?
What is JDBC Connection isolation levels?
Does the JDBC-ODBC Bridge support multiple concurrent open statements per connection?
Why can't I invoke the ResultSet methods afterLast and beforeFirst when the method next works?
What is encrypted connection?
What are database warnings in jdbc and how can we handle database warnings 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,