[XDoclet-JIRA] Created: (XDT-1512) For an ejbSelect, Weblogic specific extensions (weblogic-ql) cannot be used.

"Chad E. Dionis (JIRA)" <[email protected]>
Newsgroups gmane.comp.java.xdoclet.devel
Message-ID <[email protected]>
For an ejbSelect, Weblogic specific extensions (weblogic-ql) cannot be used.
----------------------------------------------------------------------------

         Key: XDT-1512
         URL: http://opensource.atlassian.com/projects/xdoclet/browse/XDT-1512
     Project: XDoclet
        Type: Bug
  Components: Bea Module  
    Versions: 1.2.2    
 Reporter: Chad E. Dionis
 Assigned to: xdoclet-devel (Use for new issues) 
    Priority: Minor


For an ejbSelect, Weblogic specific extensions (weblogic-ql) cannot be used because the query is not duplicated in the weblogic-cmp-rdbms-jar.xml file.  In the weblogic-cmp-rdbms-jar-xml.xdt in the weblogic xdoclet module, the section for ejb:select uses the ifHasClassTag, instead of the ifHasMethodTag, because the @ejb.select is specific to a method.

The following worked for me:

weblogic-cmp-rdbms-jar-xml.xdt
---------------------------------------------
Replace

         <XDtClass:ifHasClassTag tagName="ejb:select" paramName="query">
         <weblogic-ql><![CDATA[<XDtClass:classTagValue tagName="ejb:select" paramName="query"/>]]></weblogic-ql>
         </XDtClass:ifHasClassTag>

With

         <XDtMethod:ifHasMethodTag tagName="ejb:select" paramName="query">
         <weblogic-ql><![CDATA[<XDtMethod:methodTagValue tagName="ejb:select" paramName="query"/>]]></weblogic-ql>
         </XDtMethod:ifHasMethodTag>


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://opensource.atlassian.com/projects/xdoclet/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira



-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.