• Post Reply Bookmark Topic Watch Topic
  • New Topic

Database Locks  RSS feed

 
Krishnan Y N
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

As per HFE page 301, the container tells the db to try and lock the row that corresponds to the entity that is being operated upon.. What is the expected behaviour if that row is already locked by some other application ?

TIA
krish
 
Naslai Shobha
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It will depend upon the database locking mechanism configured. The folowing link gives some information on this.

http://www.javaworld.com/javaworld/jw-07-2001/jw-0713-optimism-p2.html
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!