IntelliJ Java IDE
The moose likes JSP and the fly likes Record Level Un/Locking.. URGENT !!! Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » JSP
Reply Bookmark "Record Level Un/Locking.. URGENT !!! " Watch "Record Level Un/Locking.. URGENT !!! " New topic
Author

Record Level Un/Locking.. URGENT !!!

Tejas Tambe
Ranch Hand

Joined: Oct 08, 2001
Posts: 47
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
 
 
subject: Record Level Un/Locking.. URGENT !!!
 
Threads others viewed
Record Locking in multi-user
What's the fuzz about synchronized(collection)?
Record Level Un/Locking.. URGENT !!!
Connection Object for lock/unlock...?
window onunload
developer file tools