I have defined this query:
| * @ejb.finder signature = "nl.muntpost.interfaces.StockArticle findByArticle(java.lang.String articleObjectId)" | * query = "SELECT OBJECT(c) FROM StockArticles AS c WHERE c.article = ?1" | The bean has a attribute "article" (which is a relation If I deploy and use the bean I get the following exception: | 13:58:11,219 DEBUG [StockArticle#findByArticle] EJB-QL: SELECT OBJECT(c) FROM StockArticles AS c WHERE c.article = ?1 | 13:58:11,223 INFO [STDOUT] org.jboss.ejb.plugins.cmp.ejbql.ParseException: Encountered "1" at line 1, column 60. | Was expecting one of: | <IDENTIFICATION_VARIABLE> ... | <ENTITY_VALUED_PARAMETER> ... | <ENTITY_VALUED_PATH> ... | What is wrong with my ejb-eql? TIA Joost View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3915150#3915150 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3915150 ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ JBoss-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-user
