Hi,

here my implentation, but only the descriptor because I didn't use xdoclet.
ejb-jar.xml
.....

        
        <query-method>
          <method-name>ejbSelectMAXAdressID</method-name>
          <method-params />
        </query-method>
        <ejb-ql></ejb-ql>
      
.....


jbosscmp-jdbc.xml
....

        
        <query-method>
          <method-name>ejbSelectMAXAdressID</method-name>
          <method-params />
        </query-method>
       <jboss-ql>
                  <![CDATA[
                   SELECT MAX(a.adressID) 
                   FROM Adresse AS a 
                   ]]>
       </jboss-ql>
      
.....

Perhaps this can help you.
The return type of the ejbSelect is in jboss 3.2.3 always double, look at your other 
post. 
Look at the select-statement ![CDATA is in use !.

caio


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3834073#3834073

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3834073


-------------------------------------------------------
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to 
deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to