Explain the main method?
No Answer is Posted For this Question
Be the First to Post Answer
What is a merge field?
Difference between JDBC and Hibernate? Give one sample based on the variance?
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,
Can resultset be null in java?
Why is jdbc needed?
What is JDBC and ODBC and what are the differences between them?
11 Answers Idbi Bank, Infosys, Infoview, TCS,
What is a jdbc driver and how many jdbc drivers are available?
what is JDBC?
What is jdbc and odbc?
How do I retrieve a whole row of data at once, instead of calling an individual ResultSet.getXXX method for each column?
What is the use of the statement in jdbc?
Explain the life cycle of jdbc.