You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by "Jacek Laskowski (JIRA)" <ji...@apache.org> on 2006/11/28 09:45:25 UTC
[jira] Closed: (OPENEJB-384) Deployment doesn't ensure queries
defined for ejbSelect methods
[ http://issues.apache.org/jira/browse/OPENEJB-384?page=all ]
Jacek Laskowski closed OPENEJB-384.
-----------------------------------
Open it when unsatisfied.
> 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
> Components: deployment
> Affects Versions: 2.2, 2.3
> Reporter: Rakesh Midha
> Fix For: 2.2, 2.3
>
> Attachments: querymissing.patch
>
>
> 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