What is wrong here?
2005-05-01 17:55:22,759 ERROR [org.jboss.deployment.scanner.URLDeploymentScanner] Incomplete Deployment listing:
MBeans waiting for other MBeans:
ObjectName: jboss.j2ee:jndiName=OrderItemLocal,service=EJB
state: FAILED
I Depend On:
Depends On Me: org.jboss.deployment.DeploymentException: Error compiling EJB-QL statement 'SELECT OBJECT(o) FROM Order AS o WHERE o.customer.userId = ?1'; - nested throwable: (org.jboss.ejb.plugins.cmp.ejbql.ParseException: Encountered "Order" at line 1, column 23.
Was expecting one of:
"IN" ...
<ABSTRACT_SCHEMA> ...
)
ObjectName: jboss.j2ee:jndiName=OrderItemLocal,plugin=pool,service=EJB
state: CREATED
I Depend On:
Depends On Me:
Put your query into the Order bean not into OrderItem if you are searching for orders.