1 Reply Latest reply on Aug 13, 2002 5:54 PM by dsundstrom

    finder problem in jboss 3.0

    araujo

      Hi,

      i have this code in the finder method of my entity bean:

      * @ejb:finder signature="java.util.Collection findByInform()"
      *
      * @jboss:finder-query name="findByInform"
      * query="inform = 0"

      and when my client tries to call the entityHome.findByInform() i get the error :
      javax.ejb.FinderException: Find failed: java.lang.ArrayIndexOutOfBoundsException

      I have also notice that if i put a argument in the finder method, like this:

      * @ejb:finder signature="java.util.Collection findByInform(int inform)"
      *
      * @jboss:finder-query name="findByInform"
      * query="inform = 0"

      there is no problem.

      Can anyone help me with this problem

      Thanks

      .david