Bugs item #608202, was opened at 2002-09-12 15:30
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=608202&group_id=22866

Category: JBossCMP
Group: v3.0 Rabbit Hole
Status: Open
Resolution: None
Priority: 5
Submitted By: Cory Prowse (cosmic)
Assigned to: Nobody/Anonymous (nobody)
Summary: EJBQL fails to compile 

Initial Comment:
OS:
   Linux (2.4 kernel)
JDK:
   java version "1.4.0_01"
   Java(TM) 2 Runtime Environment, Standard Edition
(build 1.4.0_01-b03)
   Java HotSpot(TM) Client VM (build 1.4.0_01-b03,
mixed mode)
JBoss Release:
   JBoss-3.0.2 CVSTag=JBoss_3_0_2

NOTE: I will try and cut out a test case but it may
take a few days (deadline).  A workaround is to use
OBJECT() and get the field that way.

When I attempt the following EJBQL:
<query>
<query-method>
<method-name>ejbSelectCargoValue</method-name>
<method-params>
<method-param>packet.interfaces.PacketEntityLocal</method-param>
<method-param>java.lang.String</method-param>
</method-params>
</query-method>
<ejb-ql>[CDATA[SELECT c.value FROM PacketEntity p, IN
(p.cargoes) AS c WHERE p = ?1 AND c.name = ?2]]</ejb-ql>
</query>

I get the following exception:
org.jboss.deployment.DeploymentException: Error
compiling ejbql; - nested throwable:
(java.lang.IllegalStateException: Can not visit
multi-column path node. Should have been handled at a
higher level.)
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.startStoreManager(JDBCStoreManager.java:463)
at
org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.start(JDBCStoreManager.java:369)
at
org.jboss.ejb.plugins.CMPPersistenceManager.start(CMPPersistenceManager.java:198)


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=608202&group_id=22866


-------------------------------------------------------
In remembrance
www.osdn.com/911/
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to