[JBoss-dev] [ jboss-Bugs-1027985 ] EJB-QL parsing error in JBoss 3.2.5
Bugs item #1027985, was opened at 2004-09-14 17:17 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detailatid=376685aid=1027985group_id=22866 Category: JBossCMP Group: v3.2 Status: Open Resolution: None Priority: 5 Submitted By: Fernando Bellas (fbellas) Assigned to: Nobody/Anonymous (nobody) Summary: EJB-QL parsing error in JBoss 3.2.5 Initial Comment: Hi, I get the following error when I deploy an EJB jar file in JBoss 3.2.5: - Depends On Me: MBeanException: org.jboss.deployment.DeploymentException: Error compiling EJB-QL statement 'SELECT OBJECT(e) FROM Department d, IN(d.employees) e WHERE d.departmentIdentifier = ?1 AND e.positionIdentifier = ?2'; - nested throwable: (org.jboss.ejb.plugins.cmp.ejbql.ParseException: Encountered WHERE at line 2, column 49. Was expecting one of: EOF , ... ) - JBoss seems to detect a parsing error in the following query (which I specify in the EJB jar file I am trying to deploy): query query-method method-namefindByDepartmentAndPosition/method-name method-params method-paramjava.lang.String/method-param method-paramjava.lang.String/method-param /method-params /query-method ejb-ql ![CDATA[ SELECT OBJECT(e) FROM Department d, IN(d.employees) e WHERE d.departmentIdentifier = ?1 AND e.positionIdentifier = ?2 ]] /ejb-ql /query However, such a query seems to be correct. Even more, I can deploy the same EJB jar file in JBoss 3.2.1 (and works fine). I send you the ejb-jar.xml where I specify this query. Thank you very much in advance, Fernando Bellas. -- You can respond by visiting: https://sourceforge.net/tracker/?func=detailatid=376685aid=1027985group_id=22866 --- This SF.Net email is sponsored by: thawte's Crypto Challenge Vl Crack the code and win a Sony DCRHC40 MiniDV Digital Handycam Camcorder. More prizes in the weekly Lunch Hour Challenge. Sign up NOW http://ad.doubleclick.net/clk;10740251;10262165;m ___ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] [ jboss-Bugs-1027985 ] EJB-QL parsing error in JBoss 3.2.5
Bugs item #1027985, was opened at 2004-09-14 18:17 Message generated for change (Comment added) made by loubyansky You can respond by visiting: https://sourceforge.net/tracker/?func=detailatid=376685aid=1027985group_id=22866 Category: JBossCMP Group: v3.2 Status: Closed Resolution: Out of Date Priority: 5 Submitted By: Fernando Bellas (fbellas) Assigned to: Alexey Loubyansky (loubyansky) Summary: EJB-QL parsing error in JBoss 3.2.5 Initial Comment: Hi, I get the following error when I deploy an EJB jar file in JBoss 3.2.5: - Depends On Me: MBeanException: org.jboss.deployment.DeploymentException: Error compiling EJB-QL statement 'SELECT OBJECT(e) FROM Department d, IN(d.employees) e WHERE d.departmentIdentifier = ?1 AND e.positionIdentifier = ?2'; - nested throwable: (org.jboss.ejb.plugins.cmp.ejbql.ParseException: Encountered WHERE at line 2, column 49. Was expecting one of: EOF , ... ) - JBoss seems to detect a parsing error in the following query (which I specify in the EJB jar file I am trying to deploy): query query-method method-namefindByDepartmentAndPosition/method-name method-params method-paramjava.lang.String/method-param method-paramjava.lang.String/method-param /method-params /query-method ejb-ql ![CDATA[ SELECT OBJECT(e) FROM Department d, IN(d.employees) e WHERE d.departmentIdentifier = ?1 AND e.positionIdentifier = ?2 ]] /ejb-ql /query However, such a query seems to be correct. Even more, I can deploy the same EJB jar file in JBoss 3.2.1 (and works fine). I send you the ejb-jar.xml where I specify this query. Thank you very much in advance, Fernando Bellas. -- Comment By: Alexey Loubyansky (loubyansky) Date: 2004-09-14 18:38 Message: Logged In: YES user_id=543482 I think this was fixed http://cvs.sourceforge.net/viewcvs.py/jboss/jboss/src/main/org/jboss/ejb/plugins/cmp/ejbql/EJBQLParser.jjt?r1=1.2.4.3r2=1.2.4.4 -- You can respond by visiting: https://sourceforge.net/tracker/?func=detailatid=376685aid=1027985group_id=22866 --- This SF.Net email is sponsored by: thawte's Crypto Challenge Vl Crack the code and win a Sony DCRHC40 MiniDV Digital Handycam Camcorder. More prizes in the weekly Lunch Hour Challenge. Sign up NOW http://ad.doubleclick.net/clk;10740251;10262165;m ___ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development