Subject | disable TYPE_SCROLL_INSENSITIVE when ResultSet is HOLD_CURSORS_OVER_COMMIT |
---|---|
Author | mariuz |
Post date | 2013-07-17T18:14:52Z |
This is a Question from Doru , he doesn't want the
full caching in the client side (it will slow down his app)
but he needs HOLD_CURSORS_OVER_COMMIT and TYPE_FORWARD_ONLY
the code that it enables is this
if (resultSetHoldability == FirebirdResultSet.HOLD_CURSORS_OVER_COMMIT &&
resultSetType == ResultSet.TYPE_FORWARD_ONLY) {
addWarning(new FBSQLWarning("Holdable result set must be scrollable."));
resultSetType = ResultSet.TYPE_SCROLL_INSENSITIVE;
Can this behavior be disabled or only by patching the jaybird ?
full caching in the client side (it will slow down his app)
but he needs HOLD_CURSORS_OVER_COMMIT and TYPE_FORWARD_ONLY
the code that it enables is this
if (resultSetHoldability == FirebirdResultSet.HOLD_CURSORS_OVER_COMMIT &&
resultSetType == ResultSet.TYPE_FORWARD_ONLY) {
addWarning(new FBSQLWarning("Holdable result set must be scrollable."));
resultSetType = ResultSet.TYPE_SCROLL_INSENSITIVE;
Can this behavior be disabled or only by patching the jaybird ?