How to get the data from a table into a buffer?
Answers were Sorted based on User's Feedback
Answer / vicky
By using the views you can get the data in buffer.like in
JDBC we hava ResultSet interface to store data temporary
and permanent to database as well.
| Is This Answer Correct ? | 0 Yes | 0 No |
is java pure object oriented or not ?
Why can't I invoke the ResultSet methods afterLast and beforeFirst when the method next works?
What is jdbc resultsetmetadata interface?
What is connection commit?
What are the common tasks of JDBC?
What are the sailent features of JDBC 2.0?
If you are truncated using JDBC, how can you that how much data is truncated?
How to move the cursor in scrollable resultset ?
How do I check in my code whether a maximum limit of database connections have been reached?
Why do we need 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 do I load a database driver with JDBC 4.0 / Java 6?