This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Record Level Un/Locking.. URGENT !!!  RSS feed

 
Tejas Tambe
Ranch Hand
Posts: 47
  • Mark post as helpful
  • send pies
  • 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
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!