| Author |
EJB-QL compile error: FROM not found
|
Matt Kim
Greenhorn
Joined: Mar 01, 2004
Posts: 26
|
|
Hi all, I'm not sure if this is a container related issue or an EJB related issue. I seem to be getting this error from Jboss: org.jboss.deployment.DeploymentException: Error compiling EJB-QL statement ''; - nested throwable: (org.jboss.ejb.plugins.cmp.ejbql.ParseException: FROM not found) at org.jboss.ejb.plugins.cmp.jdbc.JDBCEJBQLQuery.<init>(JDBCEJBQLQuery.java:50) The weird thing is... it's saying that the EJB-QL is in my entity bean called MessageCounter, but I don't have any EJB-QL statements in it. Here is my XML file: <entity> <display-name>MessageCounter</display-name> <ejb-name>MessageCounter</ejb-name> <local-home>ca.jambo.jradio.ejb.entity.MessageCounterHome</local-home> <local>ca.jambo.jradio.ejb.entity.MessageCounter</local> <ejb-class>ca.jambo.jradio.ejb.entity.MessageCounterBean</ejb-class> <persistence-type>Container</persistence-type> <prim-key-class>ca.jambo.jradio.ejb.pk.MessageCounterPK</prim-key-class> <reentrant>False</reentrant> <cmp-version>2.x</cmp-version> <abstract-schema-name>MessageCounter</abstract-schema-name> <cmp-field> <field-name>messageId</field-name> </cmp-field> </entity> Anybody have the same problem? My setup is jboss-3.2.3, MySQL, and jBuilder as the IDE. Regards, Matt
|
 |
 |
|
|
subject: EJB-QL compile error: FROM not found
|
|
|