Why do we need jdbc?
No Answer is Posted For this Question
Be the First to Post Answer
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,
Explain the locking system in jdbc & its types?
Why do we need jdbc api?
why we don't use the type 2 driver for connect to the database in jdbc?
What does it mean to "materialize" data?
What is connection pooling? What Method and class used for Connection pooling in Java?
What are the different types of 2 tier and 3 tier architecture ?
How java can be connected to a database?
What is 2 phase commit?
What is executeupdate in java?
What is DML?
What is a Connection?