When I deploy the ear to JBoss-4.0.2 I get the following:
Error compiling JBossQL statement 'select Object(o) from principalsSchema o'; - 
nested throwable: (org.jboss.ejb.plugins.cmp.ejbql.ParseException: Encountered 
"principalsSchema" at line 1, column 23.
Was expecting one of: 
    "IN" ...
    <ABSTRACT_SCHEMA> ...

The simple application has only findAll queries and this happens for all of 
them.  It happens with "as o" as well as just "o", like the example above.

Despite that everything works, even the findAll queries.

The IDE is JBoss IDE 1.5 Milestone 1 and the JDK 1.5.0.01 

Any idea what is wrong?  I searched JBoss and the web and can find related 
stuff, but not this for simple findAll queries. 

Here is an example:
@ejb.finder 
 *    signature="java.util.Collection findAll()"  
 *    query="select Object(o) from principalsSchema as o"
 *    view-type="local"

Thanks

Chris

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

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


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to