1 Reply Latest reply on Aug 15, 2002 3:46 AM by Pete Luellen

    EJB FINDER METHOD EXCEPTION (JBoss 3.0.0)

    Ajit Rajan Newbie


      I get an error for finder methods with ejb-ql queries of
      Type SELECT OBJECT(o) FROM Owner(o).
      When I run the client,I get an javax.EJB.FinderException saying that missing expression in finder query.
      On further diagonistics,I found that any ejb-ql query consisting of the keyword OBJECT,when translated to sql by JBOSS 3.0 had a missing term between the SELECT and the FROM clause.
      EXAMPLE:
      for the ejb-ql query below
      SELECT OBJECT(o) FROM Owner(o).
      JBoss X'lated it to
      SELECT FROM tabOwner

      Please note :
      OWNER is Schema-name
      tabOwner is the Table name on which the Query is to be executed.