> Do anyone successfully generate jboss-ql in
> jbosscmp-jdbc.xml using the latest xdoclet?
Well, this is 2 weeks later than the original post, but I'm posting for reference. The setup:
2 tags are needed, one to declare a query and another to define it.
@ejb.finder signature="something.something findSometing ( someArg )"
@jboss.query signature="something.something findSomething ( someArg )"
query="your jbossql query here"
This will correctly add query declaration to ejb-jar.xml and query definition to jbosscmp-jdbc.xml.
Omitting the query attribute of the ejb.finder tag will result in query declaration not being added to ejb-jar.xml and you'll get "Unknown query method" exception on deployment.