[jboss-user] [EJB/JBoss] - Re: EJB2.1:UserTransaction with CMT- possible bug?

waynebaylor do-not-reply at jboss.com
Mon May 21 10:11:49 EDT 2007

Why the call to tm.suspend()? 

By marking the method with TransactionAttributeType.NEVER you're stating that there will not be a transaction in progress when the method is called. 

Maybe try using TransactionAttributeType.NOT_SUPPORTED instead of NEVER. That way, if the caller has an associated transaction it will be suspended and restarted after the method executes.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4047250#4047250

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4047250

More information about the jboss-user mailing list