What is the equivalent method for precompiled SQL Statement
in JDBC?
Answer / devarathnam c,kotagudibanda(po
Hi... The "PreparedStatement" interface provides one method
i.e prepareStatement("some query");
| Is This Answer Correct ? | 3 Yes | 1 No |
What is jdbc? Describe the steps needed to execute a sql query using jdbc.
How do we call a stored procedure from jdbc?
What is jdbc thin client?
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 are temp tables ?
Explain about DSN?
Explain creation of statement object with connection method create method with help of an example.
I have the choice of manipulating database data using a byte[] or a java.sql.blob. Which has best performance?
What is type 4 jdbc driver?
Explain about Join?
what does the method Class.forName returns?
While in CallableStatament using in the oracle my procedure is return no.of columns so in java how can i retrivbe the data and i wnat to view all data which is reetrive from my procedure