Hi Alexis,

No, the call to funcB would join with the existing transaction.

Cheers,
Arne


Am 12.01.13 14:32 schrieb "Alexis Krier" unter <[email protected]>:

>Hello all nice job with Delta spike :)
>I'm currently building a POC with tomcat, apache open web beans,
>hibernate, JSF2  my faces and for JPA transaction deltaspike.
>
>One question about transaction propagation, is there a annotation param
>value like REQUIRE_NEW or SUPPORTED (like the EJB ones) or delta spike
>@Transactional is only in REQUIRE_NEW mode? If I do this:
>
>@Transactional
>void funcA(){
>...
>funcB()
>}
>
>@Transactional
>void funcB(){
>...
>}
>
>I suppose that there will be two transaction one for A and one for B,
>right?
>
>by the way thx to struberg for the help on IRC.
>
>
>
>
>Alexis

Reply via email to