- This topic has 1 reply, 2 voices, and was last updated 19 years ago by Greg.
Viewing 2 posts - 1 through 2 (of 2 total)
-
AuthorPosts
-
Michael J CaugheyParticipantI have MyEclipse BuildId 20051025-4.0.3-GA
I have the following xdoclet mark up:
* @ejb.interface-method view-type = "remote" * @ejb.transaction Supports
and another one
* @ejb.interface-method view-type = "remote" * @ejb.transaction NotSupported
Both create the following blocks in the ejb-jar.xml:
<container-transaction > <method > <ejb-name>BusinessServiceController</ejb-name> <method-intf>Remote</method-intf> <method-name>invokeNotSupported</method-name> <method-params> <method-param>com.wellpoint.ref.business.client.BusinessServiceRequest</method-param> <method-param>com.wellpoint.ref.business.services.BusinessService</method-param> </method-params> </method> <trans-attribute></trans-attribute> </container-transaction> <container-transaction > <method > <ejb-name>BusinessServiceController</ejb-name> <method-intf>Remote</method-intf> <method-name>invokeSupports</method-name> <method-params> <method-param>com.wellpoint.ref.business.client.BusinessServiceRequest</method-param> <method-param>com.wellpoint.ref.business.services.BusinessService</method-param> </method-params> </method> <trans-attribute></trans-attribute> </container-transaction>
Note that the
trans-attribute
is empty.
-Michael
GregMemberI believe that the correct xdoclet tag markup for @ejb.transaction is as follows:
* @ejb.transaction type="Supports"
and
* @ejb.transaction type="NotSupported"
Give that a try and see what happens.
-
AuthorPosts
Viewing 2 posts - 1 through 2 (of 2 total)