Hi,
I think there's something wrong with the jboss:query tag in the cvs. I have an
ejb:finder finder tag
* @ejb:finder signature="java.util.Collection findBla()"
and a corresponding jboss:query tag
* @jboss:query signature="findBla()" query="1=1"
However, when I run this through xdoclet I get the following:
<query>
<query-method>
<method-name>)</method-name>
<method-params>
</method-params>
</query-method>
<jboss-ql>1=1</jboss-ql>
</query>
The template code that generates the (obviously wrong) xml is the following:
<method-name><XDtClass:classTagValue tagName="jboss:query"
paramName="signature" delimiter=" (" tokenNumber="1"/></method-name>
Somehow this doesn't seem to be working correctly. Most other things that I've
tried to put into the signature field (like "findBla") have crashed Xdoclet
with the following error
[ejbdoclet] (TemplateEngine.invokeMethod 490 ) Invoking method failed:
xdoclet.tagshandler.ParameterTagsHandler.forAllParameterTypes, line=11 of
template file: jar:file:D:\java\xdoclet\lib\xdoclet-jboss-
module.jar!/xdoclet/modules/jboss/ejb/resources/jbosscmp-jdbc_xml.xdt
[ejbdoclet] java.lang.reflect.InvocationTargetException:
[ejbdoclet] java.lang.StringIndexOutOfBoundsException: String index out of
range : -1
Has anybody else had any luck defining queries like this?
Thanks,
Maarten.
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user