Frank Morton wrote:

>>You have specified <transaction-type>Bean</transaction-type>. Then I think
>>    
>>
>you have to manually start and end the transaction. Do you do this? And I
>think you should use container for this option instead, and Required in the
>transaction-type of your methods.
>
>I am not starting/ending the transaction manually and
>I haven't been able to find a description how to do it.
>If you can point me at how to do that, I'd appreciate it.
>
>Thanks for your help.
>
>  
>

somthing like this in your ejb-jar.xml:

   <container-transaction>
      <method>
        <ejb-name>beanName</ejb-name>
        <method-name>*</method-name>
      </method>
      <method>
        <ejb-name>bean2name</ejb-name>
        <method-name>*</method-name>
      </method>
     <trans-attribute>Required</trans-attribute>
    </container-transaction>

I think required may be the default, or nothing?



_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to