I have a bunch of entity beans with only local interface, which are
facaded by session bean(s) with remote. If I put transaction type tag on
locally accessible bean methods, then XDoclet generates something like
this in ejb-jar.xml:
<container-transaction >
<method >
<ejb-name>UnitOfMeasure</ejb-name>
<method-intf>Remote</method-intf>
<method-name>update</method-name>
<method-params>
<method-param>com.moveitonline.framework.model.BaseObject</method-param>
</method-params>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
Note that method-intf is Remote. Then I run ejbc and it chokes saying:
[java] ERROR: Error from ejbc: Unable to set the transaction
attribute for method
"update(com.moveitonline.framework.model.BaseObject)". No matching
method could be found. Please verify the method signature specified in
the ejb-jar.xml file matches that of your EJB.
[java] ERROR: ejbc found errors
I can edit ejb-xml.jar manually and get desired results (both local and
remote methods with appropriate transaction attributes), but that's not
lot of fun... Bug?
Regards,
Michael Elizarov
_______________________________________________
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user