Bugs item #571995, was opened at 2002-06-21 02:07
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=571995&group_id=22866
Category: JBossCMP
Group: v3.0 Rabbit Hole
Status: Open
>Resolution: Accepted
Priority: 5
Submitted By: Stephen Coy (scoy)
>Assigned to: Dain Sundstrom (dsundstrom)
Summary: Wrong error reporting for ejb finders
Initial Comment:
I had erroneously declared a finder method as:
java.util.Set findUserLists(com.whitesmiths.sacha.ejb.auth.interfaces.UserLocal user)
Note the use of "Set". Sets are only legal for select methods.
When I tried to deploy this, JBoss (Branch_3_0) said:
org.jboss.deployment.DeploymentException: Error compiling ejbql; - nested throwable:
(org.jboss.ejb.plugins.cmp.ejbql.ParseException: Encountered "<EOF>" at line 1, column
96.
Was expecting one of:
"IN" ...
<ABSTRACT_SCHEMA> ...
)
at org.jboss.ejb.plugins.cmp.jdbc.JDBCEJBQLQuery.<init>(JDBCEJBQLQuery.java:46)
at
org.jboss.ejb.plugins.cmp.jdbc.JDBCCommandFactory.createEJBQLQuery(JDBCCommandFactory.java:44)
which had me looking for syntax errors in the EJB QL, instead of the method signature.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=571995&group_id=22866
-------------------------------------------------------
Sponsored by:
ThinkGeek at http://www.ThinkGeek.com/
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development