Explain the process of creating tables using NetBeans IDE?
No Answer is Posted For this Question
Be the First to Post Answer
What are statements in JAVA ?
Which package is used for jdbc application?
How to store images in database?
What is jndi lookup?
Explain the JDBC Architecture?
Without using of Class.forName(? ?), how do you connect to db?
What are the advantages of collection pools?
What is jdbc architecture in java?
Is it possible to connect to multiple databases simultaneously?
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,
What is the use of the statement in jdbc?
Explain the steps in writing a java program using jdbc?