[jboss-user] [EJB 3.0] - Re: JTA EntityManager cannot access a transactions

dkalna do-not-reply at jboss.com
Wed Dec 6 09:24:05 EST 2006


Hi, not sure but I think default is container managed tx, so you have to
explicit told your bean will take care of TXs, something like this:

@TransactionManagement(TransactionManagementType.BEAN)
public class YourBean implements YourInterface

Hope it helps.
bye
Dalibor

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

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



More information about the jboss-user mailing list