You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by "Rakesh Midha (JIRA)" <ji...@apache.org> on 2006/11/27 07:16:21 UTC

[jira] Commented: (OPENEJB-384) Deployment doesn't ensure queries defined for ejbSelect methods

    [ http://issues.apache.org/jira/browse/OPENEJB-384?page=comments#action_12453504 ] 
            
Rakesh Midha commented on OPENEJB-384:
--------------------------------------


Sorry, cannot edit this jira as I dont have contributor access. So positing this information as comment.

Component : Deployment
Affect Version : 1.2
Fix Version : 1.2



> Deployment doesn't ensure queries defined for ejbSelect methods
> ---------------------------------------------------------------
>
>                 Key: OPENEJB-384
>                 URL: http://issues.apache.org/jira/browse/OPENEJB-384
>             Project: OpenEJB
>          Issue Type: Bug
>         Environment: Windows XP
>            Reporter: Rakesh Midha
>
> Opening Geronimo JIRA in openEJB https://issues.apache.org/jira/browse/GERONIMO-1082
> I deployed a CMP entity bean with an ejbSelect method, but I forgot to actually define a query for it in my ejb-jar.xml. This caused a very bizarre NullPointerException at runtime. Instead, the deployment should check that all ejbSelect methods have queries defined. (And the same for finders, if it doesn't already.)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira