How many ways that we can view a result set?
No Answer is Posted For this Question
Be the First to Post Answer
How many jdbc driver types are there?
What is executeupdate in java?
What does the jdbc resultset interface?
What class.forname does, while loading the drivers?
What is the use of dialect?
How data can be inserted into long row column of database?
Can I use JDBC to execute non-standard features that my DBMS provides?
What is jdbc and odbc?
How do you insert images into database using jdbc?
What are drivers available?
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,
There is a method getColumnCount in the JDBC API. Is there a similar method to find the number of rows in a result set?