How can we retrieve data from the resultset?
No Answer is Posted For this Question
Be the First to Post Answer
how you will execute the many tables data
What is execute in java?
What is drivermanager in jdbc?
What are the basic exceptions in jdbc?
List the advantages of using datasource?
What is a PreparedStatement?
How do java applications access the database using jdbc?
What is ojdbc?
Write an sql to find all records having all upper case alphanumeric characters in a field ?
What is ODBC and JDBC? How do you connect the Database?
What is jdbc drivers in java?
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,