0 Replies Latest reply on May 25, 2003 11:35 PM by linubert

    problem about ejb-ql compile in cmp 2.x

    linubert Newbie

      i desperately need your help, i can't deploy my cmp, it always says

      org.jboss.deployment.DeploymentException: Error compiling EJB-QL statement ''; - nested throwable: (org.jboss.ejb.plugins.cmp.ejbql.ParseException: FROM not found)

      my ejb-jar.xml:

      <![CDATA[ SELECT OBJECT(o) FROM TestEntity o WHERE o.firstName = ?1 AND o.lastName = ?2 ]]>

      and my jbosscmp-jdbc.xml:

      <datasource-mapping>MS SQLSERVER2000</datasource-mapping>

      what is the problem? i have check it thousands times.
      thanks in advance.