Bugs item #569313, was opened at 2002-06-15 18:32
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=376685&aid=569313&group_id=22866
Category: JBossCMP
Group: v3.0 Rabbit Hole
Status: Open
Resolution: None
Priority: 5
Submitted By: Stephen Coy (scoy)
Assigned to: Nobody/Anonymous (nobody)
Summary: ejb-ql parser broken in 3.0.1RC1
Initial Comment:
This query fragment works fine in 3.0.0:
<query>
<query-method>
<method-name>findForUser</method-name>
<method-params>
<method-param>java.lang.String</method-param>
<method-param>java.lang.String</method-param>
</method-params>
</query-method>
<result-type-mapping>Remote</result-type-mapping>
<ejb-ql><![CDATA[select distinct object(p) from User as u,
in (u.userRoles) as r, in (r.rolePrivs) as p where u.loginId = ?1 and
p.pcode = ?2]]></ejb-ql>
</query>
but fails in 3.0.1RC1 with the following error:
17:25:23,269 ERROR [URLDeploymentScanner] Failed to deploy:
org.jboss.deployment.scanner.URLDeploymentScanner$Deployed
URL@e8fea58d{ url=file:/Users/steve/EnterpriseJava/jboss-3.0/
build/output/jboss-3.0.1RC1/server/sacha/deploy/sacha.jar,
deployedLastModified=0 }
org.jboss.deployment.DeploymentException: Could not deploy
file:/Users/steve/EnterpriseJava/jboss-3.0/build/output/jboss-
3.0.1RC1/server/sacha/deploy/sacha.jar; - nested throwable:
(org.jboss.deployment.DeploymentException: Error compiling
ejbql; - nested throwable:
(org.jboss.ejb.plugins.cmp.ejbql.ParseException: Encountered
"User" at line 1, column 32.
Was expecting one of:
"IN" ...
<ABSTRACT_SCHEMA> ...
))
"User" is a legitimate abstract schema name.
----------------------------------------------------------------------
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=376685&aid=569313&group_id=22866
_______________________________________________________________
Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -
http://devcon.sprintpcs.com/adp/index.cfm?source=osdntextlink
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development