I wanted to know the difference between two ResultSet constants. ResultSet.TYPE_SCROLL_INSENSITIVE and ResultSet.TYPE_SCROLL_SENSITIVE. Because what I read about these two constants seem to be doing the same thing.
Please let me know if I have gotten this wrong.
Thanks Campbell.
So does that mean we don't need to provide "ResultSet.CONCUR_READ_ONLY" parameter to createStatement method if we don't want the data in ResultSet to be changed.
Campbell Ritchie
Sheriff
Joined: Oct 13, 2005
Posts: 32654
4
posted
0
don't know.
Ronin Demarco
Greenhorn
Joined: Mar 15, 2010
Posts: 2
posted
0
So does that mean we don't need to provide "ResultSet.CONCUR_READ_ONLY" parameter to createStatement method if we don't want the data in ResultSet to be changed
Its mentioned on the below link that "A ResultSet should only be made updateable if the functionality is going to be used, otherwise the option CONCUR_READ_ONLY should be used"