Menu

#61 fixed bug 433115. storeEntities on find

v2.4
open
nobody
None
5
2001-06-15
2001-06-15
Bill Burke
No

When an finder method is called, JBoss will call
ejbStore(storeEntity) on all entities of the finder's
type that are in the same transaction as the finder.

*NOTE* Unnessary DB updates will result if your beans
do not implement isModified, or you have JAWS tuned-
updates turned off.

Further info:

The EJB spec 2.0 reads.... 9.6.4

"Before invoking the ejbFind<METHOD>(...) method, the
container must first synchronize the state of any
entity bean instances that are participating in the
same transaction context as is used to execute the
ejbFind<METHOD>(...) by invoking the ejbStore() method
on those entity bean instances."

Discussion


Log in to post a comment.