Feature Requests item #612118, was opened at 2002-09-20 13:50
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=402707&aid=612118&group_id=31602
Category: vendor
Group: None
Status: Open
Priority: 5
Submitted By: Chris Mein (chrismein)
Assigned to: Nobody/Anonymous (nobody)
Summary: JBoss 3.0.0 - Support for JBoss-QL
Initial Comment:
After reading the JBoss 3.0.0 CMP documentation it seems that
the mechanism for overriding a finder methods EJB-QL with JBoss-
QL is to provide a correct <query> tag in the jbosscmp-jdbc.xml
file.
I assume that the current @ejb:finder and
@jboss:finder-query tags were designed to allow this type of
configuration to be done simply. However the tags seem to
produce output in the jaws.xml file. This will not work with JBoss
3.0.0. The configuration that is need is:
<query>
<query-method>
<method-
name>findMatchingUsersUserName</method-name>
<method-params>
<method-
param>java.lang.String</method-param>
</method-
params>
</query-method>
<jboss-
ql><![CDATA[SELECT OBJECT(a) FROM User a WHERE
(LCASE(a.username) = LCASE(?1))]]></jboss-
ql>
</query>
Searching through the *.j files in XDoclet
there is no sign of a jboss-ql being produced.
It seems that
either the existing tags need to be changed for JBoss 3.0.0 or a new
tag produced. The jboss:declared-sql seems to have been
intended to do something like this but does not look designed for
JBoss 3.0.0.
Any comments welcome...
Chris
Mein
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=402707&aid=612118&group_id=31602
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel