What are the flow statements of jdbc?
No Answer is Posted For this Question
Be the First to Post Answer
What are the differences between stored procedure and functions?
What is statement and preparedstatement in java?
what exactly happens when we execute "Class.forname("Driver class name");"?Explain indetail
10 Answers Accenture, HP, IBM, Infosys, SAP Labs, SAS, Sasken, Trigent, Wipro,
What should be done for auto generating primary key id in a table ?
What is a rollback in jdbc?
Does JDBC support stored procedures?
How to achieve JDBC Connection Pooling using JDBC DataSource and JNDI in Apache Tomcat Server?
How can we store and retrieve images from the database?
How do I connect to jdbc?
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,
How is jndi useful for Database connection?
write a query to select name from one table which has id,name and salary from another table which has id, sal where the salary is the second maximum
3 Answers Bosch, HireCraft, Infosys,