Bugs item #571995, was opened at 2002-06-21 10:07
Message generated for change (Comment added) made by loubyansky
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=571995&group_id=22866

Category: JBossCMP
Group: v4.0
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Stephen Coy (scoy)
Assigned to: Alexey Loubyansky (loubyansky)
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: Alexey Loubyansky (loubyansky)
Date: 2003-10-24 16:05

Message:
Logged In: YES 
user_id=543482

The check was added to EJB verifier. Thanks!

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

Comment By: Dain Sundstrom (dsundstrom)
Date: 2003-08-18 01:39

Message:
Logged In: YES 
user_id=251431

I am no no longer a JBoss committer, so I am unable to fix
any bugs.

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

Comment By: Dain Sundstrom (dsundstrom)
Date: 2002-06-25 02: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


-------------------------------------------------------
This SF.net email is sponsored by: The SF.net Donation Program.
Do you like what SourceForge.net is doing for the Open
Source Community?  Make a contribution, and help us add new
features and functionality. Click here: http://sourceforge.net/donate/
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to