ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.

advertisement

AddThis Social Bookmark Button
Article:
  JBoss Optimizations 101
Subject:   Are ALL polled instanced locked?
Date:   2003-05-31 01:14:11
From:   anonymous2
Response to: Are ALL polled instanced locked?

Once the entity bean instance is used in a transaction, it means it has an identity associated with it (=> it represents a specific row of a DB for example) and is thus no more in the pool.


Consequently, only this particular entity bean instance is locked: there is no reason why entities in the pool (that are associated with NO identity) should be locked.


Cheers,



sacha


1 to 1 of 1
1 to 1 of 1