0 Replies Latest reply on Nov 6, 2006 3:36 AM by rameshsr

    What is the default value of the <trans-attribute> in ejb-ja

    rameshsr

      JBoss 3.2.7 allows me to NOT give the assembly-descriptor elements in the ejb-jar.xml file. If I don't provide the assembly-descriptor with the container-transaction for my EJB, what would be the *default* trans-attribute element value?

      <assembly-descriptor>
      <container-transaction>
      <!-- Can specify many methods at once here -->

      <ejb-name>EmployeeRecord</ejb-name>
      <method-name>*</method-name>

      <!-- NotSupported|Supports|Required|RequiresNew|Mandatory|Never -->
      <trans-attribute>Required</trans-attribute>
      </container-transaction>
      </assembly-descriptor>