3 Replies Latest reply on Dec 4, 2003 3:11 AM by null null

    Error compiling EJB-QL statement

    null null Newbie

      I run jboss 3.2.2 with Tomcat.

      When I deploy a CMP EJB I get the
      error below. Do you have any idea of
      what could be the reason of the message?

      Thanks.
      U.


      2003-12-03 15:28:21,437 ERROR [org.jboss.ejb.EntityContainer] Starting failed
      org.jboss.deployment.DeploymentException:
      Error compiling EJB-QL statement '
      select object(o) from myobject o where o.mypro BETWEEN ?1 and ?2

      '; - nested throwable:
      (org.jboss.ejb.plugins.cmp.ejbql.ParseException: Encountered "BETWEEN" at line 1, column 62.
      Was expecting one of:
      "=" ...
      "<>" ...
      )