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:37:21 UTC
[jira] Resolved: (OPENEJB-384) Deployment doesn't ensure queries
defined for ejbSelect methods
[ http://issues.apache.org/jira/browse/OPENEJB-384?page=all ]
Jacek Laskowski resolved OPENEJB-384.
-------------------------------------
Fix Version/s: 2.2
Resolution: Fixed
Committed to the 2.2 branch and the trunk. Please verify.
> 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
> Reporter: Rakesh Midha
> Fix For: 2.2
>
> 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