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 |
Can I use JDBC to execute non-standard features that my DBMS provides?
Explain what should be done when a SQL exception is raised?
Differentiate between a statement and a preparedstatement.
What do you mean by two phase commits?
What is batch processing and how to perform batch processing in jdbc?
Does jdbctemplate use prepared statements?
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 is data source in java?
What is the difference between executing, executequery, executeupdate in jdbc?
Which interface handles transaction management in jdbc?
How to update a resultset programmatically?
What is com mysql jdbc driver?