What driver should I use for scalable Oracle JDBC applications?
is java pure object oriented or not ?
What are the different types of interfaces in the api component?
How we can you use preparedstatement.
Which interface is responsible for transaction management in jdbc?
Why is jdbc used?
What is jdbc type?
What is the difference between execute, executeQuery, executeUpdate?
What are the differences between setmaxrows(int) and setfetchsize(int)?
Does sql allow null values ? Can we use it within where clause ?
What are 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,
Which is better odbc or jdbc?