Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

does local access database need lock()?

 
Wai Iu
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am doing FBN project. When we directly assess the Data class locally, for the ticket booking function, do we need lock() and unlock() functions just like Network access does? I think that we do not need lock() and unlock() functions here because only one user can assess that db.db file locally. There are no multi-threads here. There is no way the sequence-read, modify and write can be changed.
Any thought about htis? Please help.
Thanks
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic