How do I check in my code whether a maximum limit of database connections have been reached?
What is the jdbc rowset?
How to find total column from a resultset?
What is an escape syntax?
How do I set properties for a JDBC driver and where are the properties stored?
Which is better jpa or 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,
What is execute in java?
What are collection pools?
What is resultset in jdbc with example?
How do I receive a ResultSet from a stored procedure?
Explain the difference between rowset vs. Resultset in jdbc?
How do I know which jdbc driver to use?