5 Replies Latest reply on Oct 15, 2002 5:38 AM by Tin Blaskovic

    JBossQL Problem

    Richard Doust Newbie

      I've written a JBossQL query and am getting an exception at deployment. The exception says:
      org.jboss.deployment.DeploymentException: Unknown query method : public abstract java.util.Collection com.foo.entity.user.ejb.UserBean.ejbSelectTransactionsReverseOrder(com.foo.entity.user.UserLocal) throws javax.ejb.FinderException.
      Here's the declaration from jbosscmp-jdbc.xml:

      <jboss-ql>SELECT OBJECT(t) FROM Transaction t WHERE t.user = ?1 ORDER BY t.date DESC, t.id DESC</jboss-ql>

      and here's the declaration in UserBean.java:
      public abstract Collection
      ejbSelectTransactionsReverseOrder(UserLocal user)
      throws FinderException;

      Can anyone help me resolve this?