• Post Reply Bookmark Topic Watch Topic
  • New Topic

what do we do in unreferenced()?  RSS feed

 
Holmes Wong
Ranch Hand
Posts: 163
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, Ranchers:
Do we need to clean up unlocked records, unreferenced locks? Just set them to null or use
a finalize() method? Anthing else?
 
Sai Prasad
Ranch Hand
Posts: 560
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
All you have to do is remove the key/value pair from your Collection. I am talking about the Collection which is used to keep track of row(s) locked by the remote object(Connection). No need to set anything to null or to call finalized().
 
Mike Piotrowski
Ranch Hand
Posts: 82
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
All I did was check to make sure that client did not have any records locked, if they did I unlocked them.
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!