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.1
Status: Open
>Resolution: Postponed
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.



----------------------------------------------------------------------

>Comment By: Dain Sundstrom (dsundstrom)
Date: 2002-06-24 18:54

Message:
Logged In: YES 
user_id=251431

This will be fixed during the rewrite of the metadata
package in 3.1.

----------------------------------------------------------------------

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

Reply via email to