• 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
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!