[jboss-user] [EJB 3.0] - Re: Transaction annotation - cannot get desired behavior
lpmon
do-not-reply at jboss.com
Tue Apr 24 16:45:38 EDT 2007
Surely someone has a hint on this. My experience is the transaction annotations have no effect. -OR- I have misinterpreted something.
My experience: no transactions are committed unless the method in the top session bean in the call chain exits.
My understanding:
A method annotated with:
@TransactionAttribute(TransactionAttributeType.REQUIRES_NEW)
would commit upon method exit. (not happening)
Shouldn't this start a new transaction and commit upon exit????
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4040342#4040342
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4040342
More information about the jboss-user
mailing list