JBoss Community

Re: 'You cannot commit during a managed transaction' issue

created by Catalin Moga in EJB3 - View the full discussion

My deployment descriptor looks like this:

        ...

        <session>

            <ejb-name>MyBeanClass</ejb-name>

            <business-remote>....MyBeanInterface</business-remote>

            <local-bean/>

            <ejb-class>....MyBeanClass</ejb-class>

            <session-type>Stateless</session-type>

        </session>

        ...

 

I will add <transaction-type>Bean</transaction-type>

 

Should I understand that Container is the default value for transaction type?

Reply to this message by going to Community

Start a new discussion in EJB3 at Community