What are the differences between setmaxrows(int) and setfetchsize(int)?
No Answer is Posted For this Question
Be the First to Post Answer
How do I check in my code whether a maximum limit of database connections have been reached?
Where is jdbc used?
Can I enable requests to a jdbc connection pool for a database connection to wait until a connection is available?
What is sqlwarning and discuss the procedure of retrieving warnings?
What is the role of the jdbc drivermanager class?
What does jdbc do?
What is the difference between jdbc and odbc?
Why can't I invoke the ResultSet methods afterLast and beforeFirst when the method next works?
What are common JDBC Exceptions?
Which jdbc driver is the fastest driver?
How do I find jdbc version?
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,