Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Shall i let the client use lock(-1) ???

 
Imed Ahras
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi guys:
help on this, please, i could not make the decision whether to let the client lock the whole database or not:
----------
Any help would be grateful>
 
Burk Hufnagel
Ranch Hand
Posts: 814
3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If all the client is supposed to do is search for matching flights and book seats on a single flight then why would it need to lock the entire database?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic