This content has been marked as final.
Show 2 replies
-
1. Re: Question on EntityManager.flush()
dkalna Feb 21, 2007 10:00 AM (in response to carstenrudat)Hi Carsten,
there is no new TX created when you call method within the same bean.
You have to implement your prePrintProcess in another bean (layer) and
mark as REQUIRES_NEW. Then will be the new TX created and commited.
Bye
Dalibor -
2. Re: Question on EntityManager.flush()
wolfc Feb 21, 2007 10:12 AM (in response to carstenrudat)Altertnatively you can do:
ctx.getBusinessObject(MyInterface.class).prePrintProcess();
This will route the call through the container.