R
Ravi
1. TYPE_FORWARD_ONLY - The result set is not scrollable; its cursor
moves forward only, from before the first row to after the last row.
The rows contained in the result set depend on how the underlying
database materializes the results. That is, it contains the rows that
satisfy the query at either the time the query is executed or as the
rows are retrieved.
2. TYPE_SCROLL_INSENSITIVE - The result set is scrollable; its cursor
can move both forward and backward relative to the current position,
and it can move to an absolute position.
3. TYPE_SCROLL_SENSITIVE - The result set is scrollable; its cursor
can move both forward and backward relative to the current position,
and it can move to an absolute position.
are the three types of the resultsets given in Java tutorial at Sun's
site. Whats the difference between the last two?
moves forward only, from before the first row to after the last row.
The rows contained in the result set depend on how the underlying
database materializes the results. That is, it contains the rows that
satisfy the query at either the time the query is executed or as the
rows are retrieved.
2. TYPE_SCROLL_INSENSITIVE - The result set is scrollable; its cursor
can move both forward and backward relative to the current position,
and it can move to an absolute position.
3. TYPE_SCROLL_SENSITIVE - The result set is scrollable; its cursor
can move both forward and backward relative to the current position,
and it can move to an absolute position.
are the three types of the resultsets given in Java tutorial at Sun's
site. Whats the difference between the last two?