[ http://jira.jboss.com/jira/browse/JBAS-1229?page=history ]

Scott M Stark updated JBAS-1229:
--------------------------------

      Assign To: Alexey Loubyansky  (was: Scott M Stark)
    Description: 
SourceForge Submitter: davout .
I've noticed that if you mistakenly create a 'finder' 
method in a CMP entity bean with an empty EQL string 
then on deployment the application server reports this 
error with the wrong entity bean name and a misleading 
error message.

It seems to use the last entity bean name in the 
deployment list irrespective of where the EQL occurs. 

It also reports the error as...

org.jboss.ejb.plugins.cmp.ejbql.ParseException: FROM 
not found

... which is correct but also misleading.

It ought to report something like....

    "null EQL string"

  was:
SourceForge Submitter: davout .
I've noticed that if you mistakenly create a 'finder' 
method in a CMP entity bean with an empty EQL string 
then on deployment the application server reports this 
error with the wrong entity bean name and a misleading 
error message.

It seems to use the last entity bean name in the 
deployment list irrespective of where the EQL occurs. 

It also reports the error as...

org.jboss.ejb.plugins.cmp.ejbql.ParseException: FROM 
not found

... which is correct but also misleading.

It ought to report something like....

    "null EQL string"

    Environment: 
       Priority: Minor  (was: Major)
      Component: CMP service

> Finder with null EQL string reported o wrong entity bean
> --------------------------------------------------------
>
>          Key: JBAS-1229
>          URL: http://jira.jboss.com/jira/browse/JBAS-1229
>      Project: JBoss Application Server
>         Type: Bug
>   Components: CMP service
>     Versions: JBossAS-3.2.6 Final
>     Reporter: SourceForge User
>     Assignee: Alexey Loubyansky
>     Priority: Minor

>
>
> SourceForge Submitter: davout .
> I've noticed that if you mistakenly create a 'finder' 
> method in a CMP entity bean with an empty EQL string 
> then on deployment the application server reports this 
> error with the wrong entity bean name and a misleading 
> error message.
> It seems to use the last entity bean name in the 
> deployment list irrespective of where the EQL occurs. 
> It also reports the error as...
> org.jboss.ejb.plugins.cmp.ejbql.ParseException: FROM 
> not found
> ... which is correct but also misleading.
> It ought to report something like....
>     "null EQL string"

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.jboss.com/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
JBoss-Development mailing list
JBoss-Development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to