Ajay,

If you don't use UserTransaction in your test code,
TXs will be handled by the EJB container. Generally,
if you have Required attribute for your bean methods,
every call to a bean method will start/finish transaction.

In other words, it's unlikely that different testXXX
run under the same TX untill you take special actions
to acomplish it.

Regards,

Slava Imeshev

--- Ajay Gullapalli <[EMAIL PROTECTED]> wrote:
> Hi,
> 
> I was wondering if someone could post how transactions work in Cactus
> when testing EJBs. I have a test case that has several testXXX in it
> that test some container managed beans. When I run the test case, all
> the individual tests seem to run under one transaction. 
> 
> When does Cactus start a transaction? When does it commit or abort this
> transaction. Does it start and run under one single transaction for the
> entire test case? 
> 
>  
> 
> Thank you.
> 
> Ajay
> 
> 


__________________________________________________
Do you Yahoo!?
U2 on LAUNCH - Exclusive greatest hits videos
http://launch.yahoo.com/u2

--
To unsubscribe, e-mail:   <mailto:cactus-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:cactus-user-help@;jakarta.apache.org>

Reply via email to