|
Hi,
I'm having a problem with JBoss's resolution of the
transaction attributes assigned in the <assembly-descriptor>
element. According to the spec, it should be possible to assign
transaction attributes in the following way ( section 17.4 pg 54 )
:
<assembly-descriptor>
<container-transaction>
<ejb-name>Foo</ejb-name>
<method-name>*</method-name>
<trans-attribute>Never</trans-attribute>
</container-transaction>
<container-transaction>
<ejb-name>Foo</ejb-name>
<method-name>requiresTransaction</method-name>
<trans-attribute>Required</trans-attribute>
</container-transaction>
</assembly-descriptor>
This xml is attempting to say that all the methods
of Foo are of transactional type "Never", *except* for the requiresTransaction
() method.
Unfortunately, when I deploy a descriptor that
looks like this, the requiresTransaction () method acts as though it has been
set to transaction type "Never". Is this a bug in JBoss or am I doing
something wrong?
Thanks for your
help.
-Eric
|
