What is jdbc and its advantages?
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,
I have written a program to connect to database using odbc.Can this Application run on any Platform????
What is the difference between jdbc and odbc?
What is @entity in java?
What is odbc and jdbc in dbms?
How to execute bulk number of queries at once?
What is a connection string used for?
What is difference between jdbc and odbc?
How to invoke Oracle Stored Procedure with Database Objects as IN/OUT?
HI ALL, How to Overcome "OutOfMemoryException"? when I am compiling source having more than 1000 LOC throwing this exception. Can any one give correct answer to my question? thx
How do I check in my code whether a maximum limit of database connections have been reached?
What is difference between statement and preparedstatement in jdbc?