0 Replies Latest reply on Dec 11, 2003 3:28 AM by bnogent

    Why this ejb-ql don't work !

    bnogent Newbie

      Hello,
      My ejb-jar.xml looks like that :

      ....
      <abstract-schema-name>RoleAS</abstract-schema-name>
      ....

      <query-method>
      <method-name>findAll</method-name>
      <method-params></method-params>
      </query-method>
      <ejb-ql>SELECT OBJECT(r) FROM RoleAS r</ejb-ql>

      ....

      with
      Collection findAll() throws FinderException;
      in my home

      And when I compile :
      Error compiling EJB-QL statement 'SELECT OBJECT(r) FROM RoleAS r'; - nested throwable: (java.lang.NoSuchMethodError)

      Thanks