what are the types of result sets in JDBC 3.0 ?
Answers were Sorted based on User's Feedback
Answer / sangeeta
There are 3 types of result sets in JDBC 3.0
1)forward-only
2)scroll-sensitive
3)scroll-insensitive
| Is This Answer Correct ? | 8 Yes | 2 No |
Answer / a.srinivas rao
there are three tyesof result sets in jdbc
1.resultset 1.0
2.resultset 2.0
3.rowset (resultset3.0 )
| Is This Answer Correct ? | 6 Yes | 1 No |
Answer / bawa
I think the first answer is correct. The type of a ResultSet object determines the level of its functionality in two areas: the ways in which the cursor can be manipulated, and how concurrent changes made to the underlying data source are reflected by the ResultSet object. Considering this factor, the sensitivity of the ResultSet object is determined by one of three different ResultSet types: TYPE_FORWARD_ONLY, TYPE_SCROLL_INSENSITIVE and TYPE_SCROLL_SENSITIVE. View the Suns's official doc at http://java.sun.com/docs/books/tutorial/jdbc/basics/retrieving.html
| Is This Answer Correct ? | 1 Yes | 0 No |
Explain the various types of locking system in jdbc?
How to test jdbc connection to sql server?
In which ways is driver class is registered with drive manager?
Statement, PrepareStatement and Callable all these are interfaces. Thought it is a interface how come we are creating objects and calling methods("preparestatement()") in it. In which class this method is defined. Please let me know. Thanks in advance. example: PreparedStatement pre = con.prepareStatement( "UPDATE COFFEES SET SALES = ? WHERE COF_NAME LIKE ?");
what are the drawbacks of JDBC? explain briefly?
What is setautocommit in jdbc?
What is difference between odbc and jdbc?
Does jdbc use odbc?
What is jdbc connection string?
How to check null value in JDBC?
What is metadata in jdbc?
How can we store the file in the oracle database?