• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Record Level Un/Locking.. URGENT !!!

 
Ranch Hand
Posts: 47
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello folks,
I am working on a project wherein recrod level locking is been already implemented using a Hash Table. To unlock the particular record, the onUnload() method is used. (I don't have any idea why HashTable...)Due to some reasons, this onUnload() solution has become very unreliable. So, I'm to provide a better solution for this.
Solutions though of so far...
1. When user logs out clear the entries for that particular user from HashTable.
2. Depend on session. Session times out.... clear the hashtable.
If anybody with any other solution please let me know...
regards n TIA,
Tejas Tambe
SCJP2
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic