1 Reply Latest reply on Aug 16, 2007 9:57 PM by leilss

    How do I change the default transaction type from REQUIRED t

    yair.zaslavsky

      Hi All,
      I know that in EJB 3.0/JBoss the default transaction type is REQUIRED.
      How do I change it to NOT_SUPPORTED?
      What XML file should I change and how?
      Thanks alot,
      Yair

        • 1. Re: How do I change the default transaction type from REQUIR
          leilss

          in the ejb-jar.xml


          <container-transaction id="MethodTransaction_2">

          <ejb-name>TransactionTest</ejb-name>
          <method-intf>Remote</method-intf>
          <method-name>placeOrder</method-name>
          <method-params>
          <method-param>java.lang.String</method-param>
          </method-params>

          <trans-attribute>Mandatory</trans-attribute>
          </container-transaction>