[EMAIL PROTECTED] wrote:
> Hi,
>
> I've posted similar question previously, but probably it was not clear.
>
> When does the commit happens in case of container managed transaction with
> the container managed persistence?
Container managed persistence doesn't really effect this - that only
effects how the storage of entity beans is implemented.
>
> Required: ?
When the first EJB method on the stack (deepest in the stack - the first
one called) completes. That is, if you have two beans which are both
marked 'Required' and bean A calls bean B, the transaction will commit
when the method on bean A completes. See the note below on the effects
of exceptions.
>
> RequiredNew: ?
The commit will happen when the method exits unless it throws a system
exception, in which case it will roll back. Note that application
exceptions and EJBException will cause a commit.
hope this helps,
danch
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user