aspose file tools*
The moose likes JDBC and the fly likes JDBC ResultSet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Bookmark "JDBC ResultSet" Watch "JDBC ResultSet" New topic
Author

JDBC ResultSet

Taresh Nama
Greenhorn

Joined: Jul 27, 2006
Posts: 5
What the difference between TYPE_SCROLL_INSENSITIVE and TYPE_SCROLL_SENSITIVE ?


Taresh Nama
s/w Eng.
TCS Mumbai
Jeanne Boyarsky
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 30913
    
158

Taresh,
From the JavaDoc:
TYPE_SCROLL_INSENSITIVE
The constant indicating the type for a ResultSet object that is scrollable but generally not sensitive to changes to the data that underlies the ResultSet.

TYPE_SCROLL_SENSITIVE
The constant indicating the type for a ResultSet object that is scrollable and generally sensitive to changes to the data that underlies the ResultSet.


So the difference is whether the ResultSet will notice if the data changes in the database.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JDBC ResultSet