This content has been marked as final.
Show 1 reply
-
1. Re: ejbSelect using JBoss-QL and Xdoclet
chrismalan Jan 19, 2004 6:42 PM (in response to ju_du)Hi Juergen,
@jboss.query is only for finder methods. There is no @jboss.select in XDoclet 1.2b2 which I have.
Also, it is EJB QL, and as far as I know it does not have the feature COUNT - I may be mistaken here. A quick look at Sun's EJB documentation did not find COUNT.
I tried EJBSelect methods but got problems with the method calling the EJBSelect method from within the same EJB CMP bean. I am back to finders - more code but at least they work for me.
Hope this helps.
Chris