Feature Requests item #612118, was opened at 2002-09-20 15: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
Resolution: None
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

----------------------------------------------------------------------

>Comment By: Mathias Bogaert (pathoss)
Date: 2002-10-16 11:18

Message:
Logged In: YES 
user_id=102175

Please report bugs in JIRA, as the comment in big fat font 
suggests:

http://opensource.atlassian.com/projects/xdoclet/

----------------------------------------------------------------------

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: viaVerio will pay you up to
$1,000 for every account that you consolidate with us.
http://ad.doubleclick.net/clk;4749864;7604308;v?
http://www.viaverio.com/consolidator/osdn.cfm
_______________________________________________
Xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to