This content has been marked as final.
Show 1 reply
-
1. Re: Entity locking and RequiresNew
juhalindfors Jul 29, 2003 4:03 PM (in response to jbossuser)> If I cause all methods of an entity bean to have
> transaction attribute of RequiresNew, would the
> containing transaction still hold on lock on that
> entity bean?
No. New transaction is started before the container invokes your bean method. The locking is done after the tx.begin().
-- Juha