1 Reply Latest reply on Sep 6, 2002 2:43 AM by Alexey Loubyansky

    Problem with findByPrimaryKey

    Gavin Hughes Newbie

      I'm getting the following error when calling the default finder 'findByPrimaryKey' for a CMP entity bean.

      javax.ejb.FinderException: Find failed: java.sql.SQLException: ORA-00936: missing expression

      Can anyone explain what this means and how I can fix it ?

      I'm using JBoss3.0.0, XDoclet 1.1.2 and Oracle 9i on Windows XP.

      I haven't done any explicit definition of this finder or any other finder in my Bean class - other than
      XDoclet generating a findByPrimaryKey method in the Home interface.

      Thanks,
      Gavin.