Generated container-transaction element contains param with incorrect inner
class declaration
---------------------------------------------------------------------------------------------
Key: XDT-1575
URL: http://opensource.atlassian.com/projects/xdoclet/browse/XDT-1575
Project: XDoclet
Type: Bug
Components: EJB Module
Versions: 1.2.3
Environment: WinXP, but I guess it's an "indepent" issue
Reporter: Dirk Koehler
Assigned to: xdoclet-devel (Use for new issues)
I have a session bean which is declaring a method with TX type
@ejb:transaction type="RequiresNew".
The signature of the method contains a param which is of a type of an inner
class. The generated interface contains the correct "container-transaction"
element but the param of a type of an inner class has a wrong format using "."
instead of "$"(e.g. "CLASS.INNERCLASS" instead of "CLASS$INNER_CLASS") which
causes the app server (in my case - JBoss) ignoring the TX declaration.
here what gets generated
<assembly-descriptor >
...
<container-transaction >
<method >
<ejb-name>MySessionBean</ejb-name>
<method-intf>Local</method-intf>
<method-name>myMethodName</method-name>
<method-params>
<method-param>mypackage.MyClass.MyInnerClass</method-param>
</method-params>
</method>
<trans-attribute>RequiresNew</trans-attribute>
</container-transaction>
</assembly-descriptor >
...
this bug might be related to
http://opensource2.atlassian.com/projects/xdoclet/browse/XDT-1076
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://opensource.atlassian.com/projects/xdoclet/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc. Get Certified Today
Register for a JBoss Training Course. Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click
_______________________________________________
xdoclet-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel