You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by "Manu T George (JIRA)" <ji...@apache.org> on 2006/11/21 14:05:02 UTC
[jira] Updated: (OPENEJB-339) NPE in class AnnotationDeployer
during deployment of annotated beans
[ http://issues.apache.org/jira/browse/OPENEJB-339?page=all ]
Manu T George updated OPENEJB-339:
----------------------------------
Attachment: AnnotationDeployer.patch
Patch for setting the TransactionManagement to Container if both annotation and dd element are not given
> NPE in class AnnotationDeployer during deployment of annotated beans
> --------------------------------------------------------------------
>
> Key: OPENEJB-339
> URL: http://issues.apache.org/jira/browse/OPENEJB-339
> Project: OpenEJB
> Issue Type: Bug
> Components: ejb3 simplified
> Affects Versions: 3.0
> Environment: All
> Reporter: Manu T George
> Fix For: 3.0
>
> Attachments: AnnotationDeployer.patch
>
>
> When you try to deploy an annotated stateless session bean shown below, a NPE is thrown.
> The ejb3 core spec says in section 13.3.6
> By default, a session bean or message-driven bean has container managed transaction demarcation if the
> transaction management type is not specified.
> This means that even if we do not specify the annotation or deployment descriptor element for TransactionManagement then it should default to container managed transaction management
--
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