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

Category: JBossCMP
Group: v4.0
Status: Open
Resolution: Postponed
Priority: 5
Submitted By: Stephen Coy (scoy)
>Assigned to: Nobody/Anonymous (nobody)
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: 2003-08-17 17: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-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


-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to