2 Replies Latest reply on Jul 4, 2003 6:02 AM by pranav

    how to define the finder method of entity bean on jboss?

    xiaoyi

      I have defined an entity bean.And in its home interface,there is a findAllAccounts method,
      and i have defined the method in the jaws.xml file.
      findByID

      protonaccount.account_number={0}




      findAllAcounts



      but when i get the wrong message when i call the entity bean:
      error getting the accountsUnknown query: public abstract java.util.Collection com.bank.ProtonAccountHome.findAllAccounts() throws javax.ejb.FinderException,java.rmi.RemoteException
      Who can tell me what is the wrong?
      thanks!