Prepared statements are faster. Why?
No Answer is Posted For this Question
Be the First to Post Answer
What are the basic exceptions in jdbc?
Is it possible to connect to multiple databases? Using single statement can we update or extract data from two or three or many databases?
Which type of JDBC driver is the fastest one?
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 the JDBC-ODBC Bridge be used with applets?
What is the difference between ExecuteUpdate and ExecuteQuery?
How many types of jdbc drivers are there?
How do I check in my code whether a maximum limit of database connections have been reached?
Explain the role of driver in jdbc.
Explain jdbc savepoint?
What is the syntax of URL to get connection?
Is jdbc a web technology?