code to insert values/rows into oracle database from a java
swing textfield when a button is pressed(using
preparedstatements)
No Answer is Posted For this Question
Be the First to Post Answer
Explain the difference between resultset and rowset in jdbc
What is type 4 jdbc driver?
How can we store and retrieve images from the database?
How to find the column count in resultset?
What is a merge field?
what are the advantages of JDBC?
How can you use preparedstatement in jdbc?
What does jdbc setmaxrows method do?
Explain about multiple implementations and drive manager?
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,
Difference between Dirty, commited ,phantom,repeatable reads?
What is jdbc class forname?