You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/docs/asciidoc/chapters/resultsets/resultsets.adoc
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,7 +11,7 @@ When a `SELECT` statement is executed, the results of the query are returned thr
11
11
The JDBC specification defines three types of result sets
12
12
13
13
* `TYPE_FORWARD_ONLY` -- the result set is not scrollable, the cursor can only move forward.
14
-
When the `TRANSACTION_READ_COMMITTED` isolation level is used, the result set will return all rows that are satisfying the search condition at the moment of fetch (which will be every _fetch size_ calls to `ResultSet.next()`).
14
+
When the `TRANSACTION_READ_COMMITTED` isolation level is used, the result set will return all rows that are satisfying the search condition at the moment of fetch (which -- simplified -- will be every _fetch size_ calls to `ResultSet.next()`).
15
15
In other cases, the result set will return only rows that were visible at the moment of the transaction start.
16
16
* `TYPE_SCROLL_INSENSITIVE` -- the result set is scrollable, the cursor can move back and forth, can be positioned on the specified row.
17
17
Only rows satisfying the condition at the time of query execution are visible.
@@ -60,9 +60,9 @@ Use of "commit retaining" mode is believed to have an undesired side effect for
60
60
Because of these reasons "commit retaining" is not used in Jaybird during normal execution.
61
61
Applications can commit the transaction keeping the result sets open by executing a "`COMMIT RETAIN`" SQL statement.
62
62
63
-
To support holdable result sets, Jaybird will upgrade the result set to `TYPE_SCROLL_INSENSITIVE` to cache all rows locally, even if you asked for a `TYPE_FORWARD_ONLY`
64
-
result set.
65
-
See also <<resultsets-types>>.
63
+
To support holdable result sets, Jaybird will cache all rows locally. +
64
+
[.until]_Jaybird 6_ In Jaybird 5 and earlier, for `TYPE_FORWARD_ONLY`, this is achieved by upgrading to `TYPE_SCROLL_INSENSITIVE`. See also <<resultsets-types>>. +
65
+
[.since]_Jaybird 6_ Since Jaybird 6, the result set type is no longer upgraded, but all rows are still cached locally.
0 commit comments