Bugs item #583066, was opened at 2002-07-17 17:08 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=376685&aid=583066&group_id=22866
Category: JBossCMP Group: v3.0 Rabbit Hole Status: Open Resolution: None Priority: 5 Submitted By: Jonathan Tobias (javamartini) Assigned to: Nobody/Anonymous (nobody) Summary: xml comments in <ejb-ql> cause error Initial Comment: Here is a contrived <query> tag from an entity bean. When I comment out the WHERE clause as you see, it causes the error below on deployment. When I remove this comment, it deploys fine. <query> <query-method> <method-name>findByUsername</method-name> <method-params/> </query-method> <ejb-ql> SELECT OBJECT(c) FROM CoreRequest c <!-- WHERE c.user.username = x --> </ejb-ql> </query> 17:06:09,284 ERROR [EjbModule] Starting failed org.jboss.deployment.DeploymentException: Error compiling ejbql; - nested throwable: (org.jboss.ejb.plugins.cmp.ejbql.ParseException: Encountered "null" at line 3, column 21. Was expecting one of: <EOF> "," ... ) at org.jboss.ejb.plugins.cmp.jdbc.JDBCEJBQLQuery.<init>(JDBCEJBQLQuery.java:46) at org.jboss.ejb.plugins.cmp.jdbc.JDBCCommandFactory.createEJBQLQuery(JDBCCommandFactory.java:44) at org.jboss.ejb.plugins.cmp.jdbc.JDBCQueryManager.start(JDBCQueryManager.java:214) at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.start(JDBCStoreManager.java:389) at org.jboss.ejb.plugins.CMPPersistenceManager.start(CMPPersistenceManager.java:198) at org.jboss.ejb.EntityContainer.start(EntityContainer.java:376) ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=376685&aid=583066&group_id=22866 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development