Name the method, which is used to prepare a callablestatement.
No Answer is Posted For this Question
Be the First to Post Answer
What is JDBC Statement?
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 1000 records in resultset, how to get first 100 records from resultset, because resultset fetch all 1000 records at a time?
What is the use of prepared statement?Ans:used to execute pre compiled statement...so the question is when that precompiled statement will be execute or comiple?................
How many isolation levels are supported in JDBC and what are they?
Is JDBC a language or Application?
Is possible to open a connection to a database with exclusive mode with JDBC?
What should be done for auto generating primary key id in a table ?
How do I load a database driver with JDBC 4.0 / Java 6?
How do I connect to jdbc?
What is SQL Warning? How to retrieve SQL warnings in the JDBC program?
Why are we using blob datatypes in jdbc?