How can I instantiate and load a new CachedRowSet object from a non-JDBC source?
What will happen when ResultSet is not closed?
How to use JDBC API to call Stored Procedures?
What is difference between odbc and jdbc?
There is a method getColumnCount in the JDBC API. Is there a similar method to find the number of rows in a result set?
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,
how to retrieve sql exceptions
Explain different types of locks in jdbc?
Where is mysql jdbc driver located?
What is jdbc and its types?
What are database warnings in jdbc and how can we handle database warnings in jdbc?
Does the JDBC-ODBC Bridge work with Microsoft J++?
How to get the Database server details in java program?