Originally posted by subbareddy meruva: can anyone tell me the exact difference between resultset sensitive and insensitive in jdbc applications.......please help me
Hi Meruva, I totally agree with Shailesh, that Sun's Documentation is just the best way to know all details, but I can give you a brief: Imagine that your application displayed a number of records from DB, well if any changes happens after displaying, it won't effect the records shown. So in order to make your ResultSet sensitive to changes made by others, just declare it as (TYPE_SCROLL_SENSITIVE). And the opposite is (TYPE_SCROLL_INSENSITIVE).
All of the world's problems can be solved in a garden - Geoff Lawton. Tiny ad:
RavenDB is an Open Source NoSQL Database that’s fully transactional (ACID) across your database