Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

difference between ResultSetType.TYPE_SCROLL_SENSITIVE and ResultSetType.TYPE_SCROLL_INSENSITIVE

 
siddharth das
Ranch Hand
Posts: 135
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Can you please tell the difference between ResultSetType.TYPE_SCROLL_SENSITIVE and ResultSetType.TYPE_SCROLL_INSENSITIVE With examples.
I need a example to feel the difference.

Thanks In Advance,
Siddharth
 
amit punekar
Ranch Hand
Posts: 544
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,
I think you meant to say ResultSet.TYPE_SCROLL_INSENSITIVE and ResultSet.TYPE_SCROLL_SENSITIVE.
Below is the Java documentation which I believe clearly states the use of this constant.


The following code fragment, in which con is a valid Connection object, illustrates how to make a result set that is scrollable and insensitive to updates by others, and that is updatable. See ResultSet fields for other options.



Regards,
Amit
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic