This content has been marked as final.
Show 4 replies
-
1. Re: Postgres: unknown query????
dsundstrom Jul 15, 2002 3:48 PM (in response to kiuma)I don't know XDoclet well, but I don't see any EJB-QL in this post.
-
2. Re: Postgres: unknown query????
kiuma Jul 16, 2002 3:26 AM (in response to kiuma)thanks it's that
-
3. Re: Postgres: unknown query????
sherlock Aug 12, 2002 2:48 PM (in response to kiuma)Hi,
currently I am struggling with the similar problem.
However looking at the XDoclet sources I've discovered undocumented(?) @jboss:declared-sql tag:
Sample usage:
/**
@jboss:declared-sql
* signature="<complete finder method signature, like: java.util.Collection findMethod(String parameter1, int parameter2)>"
* where="<here goes SQL WHERE clause>"
* order="<here goes SQL ORDER BY clause>"
*/
You can discover this looking at xdoclet/ejb/vendor/jbosscmp-jdbc_xml.j in xdoclet.jar.
Hope this helps
sherlock -
4. Re: Postgres: unknown query????
dsundstrom Aug 13, 2002 1:11 AM (in response to kiuma)Use the xdoclet standard ejb-ql tags instead of the jboss declared-sql tags. Also I think they are undocumented, because they are still a work in progress.