0 Replies Latest reply on Mar 17, 2003 3:51 AM by raghavendra kedilaya

    jboss finder method

    raghavendra kedilaya Newbie

      Dear all,

      I have defined a finder method in my CMP bean
      * @ejb:finder signature="java.util.Collection findByDoctorCode(java.lang.Long doctorcode)"
      *query="SELECT OBJECT(p) FROM CustomerBean AS p where p.doctorcode = ?1"
      * unchecked="true"

      But i get following error while deploying bean
      unknown terminal field Encountered "doctorcode" after p

      can anyone suggest me how to proceed with this ejb-query