2 Replies Latest reply on Jul 20, 2002 2:07 PM by Dain Sundstrom

    trouble with JBOSS-QL... help

    Matt Pease Newbie

      Hello Jboss folk --
      All was going well until I tried this little bit o code. Now my bean won't deploy & below is the error. Am I writing the JBOSS-QL correctly?

      Thank ya!
      matt
      -----
      Matt Pease
      FullScreen

      2002-07-18 21:33:44,725 DEBUG [org.jboss.ejb.plugins.cmp.jdbc.JDBCJBossQLQuery.FssItemEJB.findByCategory] JBossQL:
      SELECT p.fssItem
      FROM PositionEJB AS p
      WHERE p.category = ?1
      ORDER BY p.position DESC


      2002-07-18 21:33:44,725 ERROR [org.jboss.ejb.EjbModule] Starting failed

      org.jboss.deployment.DeploymentException: Error compiling ejbql; - nested throwable: (org.jboss.ejb.plugins.cmp.ejbql.ParseException: Encountered "1" at line 4, column 24.

      Was expecting one of:

      <IDENTIFICATION_VARIABLE> ...

      <ENTITY_VALUED_PARAMETER> ...

      <ENTITY_VALUED_PATH> ...

      )

      at org.jboss.ejb.plugins.cmp.jdbc.JDBCJBossQLQuery.(JDBCJBossQLQuery.java:46)

      at org.jboss.ejb.plugins.cmp.jdbc.JDBCCommandFactory.createJBossQLQuery(JDBCCommandFactory.java:54)