Bugs item #1028012, was opened at 2004-09-14 18:50
Message generated for change (Comment added) made by loubyansky
You can respond by visiting:
https://sourceforge.net/tracker/?func=detailatid=376685aid=1028012group_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-21 19:08
Message:
Logged In: YES
user_id=543482
Duplicate and was fixed.
--
You can respond by visiting:
https://sourceforge.net/tracker/?func=detailatid=376685aid=1028012group_id=22866
---
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development