What is getconnection method in java?
No Answer is Posted For this Question
Be the First to Post Answer
Which is faster jdbc or odbc?
Give an example for getXXX method?
How we say that PreparedStatment is Precompiled? where it will be compiled?
Why are we using blob datatypes in jdbc?
code to insert values/rows into oracle database from a java swing textfield when a button is pressed(using preparedstatements)
how do we get the connection from connection pool
What are JDBC Best Practices?
What is odbc. how is it related to sql cli?
r u used any design patterns in your project?
Where is jdbc url mysql?
What are common JDBC Exceptions?
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,