A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
TYPE_SCROLL_INSENSITIVE and TYPE_SCROLL_SENSITIVE and isolation levels
Joined: May 12, 2010
Sep 01, 2011 13:37:47
Reading through the javadoc for
TYPE_SCROLL_INSENSITIVE: The constant indicating the type for a
object that is scrollable but generally not sensitive to changes made by others.
TYPE_SCROLL_SENSITIVE: The constant indicating the type for a
object that is scrollable and generally sensitive to changes made by others.
Will always override the overrides the isolation level of your
For example, suppose your isolation level is something like TRANSACTION_REPEATABLE_READ and you set your result to TYPE_SCROLL_SENSITIVE - surely this is a contradiction?
It is sorta covered in the
JavaRanch Style Guide
subject: TYPE_SCROLL_INSENSITIVE and TYPE_SCROLL_SENSITIVE and isolation levels
Regarding TYPE_SCROLL_SENSITIVE ResultSets
difference between sensitive and insensitive of resultset
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014