Well, I've fiddled around with my EJB, separating the orderCount into an 
ejbHomeOrderCount and ejbSelectOrderCount. I assume that this is the correct 
(and only) way to do it in the first place.

... but now I've got a different error:

org.jboss.deployment.DeploymentException: Error compiling EJB-QL statement 
'SELECT COUNT(o) FROM Order o'; - nested throwable: 
(org.jboss.ejb.plugins.cmp.ejbql.ParseException: Encountered "Order" at line 1, 
column 22.

I've seen this pop up before but it "spontaneously" dissapeared. I've looked 
into it, and I know my ejb-ql syntax is right as I also found it right in the 
EJB 2.1 _Spec_ (11.2.7.3):
SELECT COUNT(o) FROM Order o

If You look at my previous post You'll not that I have an abstract-schema Order 
defined.

The joys of 'doing' EJBs... aaahhhh

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3872944#3872944

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3872944


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to