You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by "David Blevins (JIRA)" <ji...@apache.org> on 2010/01/29 13:30:34 UTC
[jira] Commented: (OPENEJB-847) Validation: @Resource
UserTransaction injection mistakenly used on bean with Container-Managed
Transactions
[ https://issues.apache.org/jira/browse/OPENEJB-847?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12806323#action_12806323 ]
David Blevins commented on OPENEJB-847:
---------------------------------------
Sorry, I glanced at it and it looked good. User on IRC ran into this the other day and didn't get the validation message. Small bug, we were checking the bean.getResourceRef() instead of the bean.getResourceEnvRef() list.
I redid the test case so that it just checks an annotated bean rather than constructing that part of the jaxb tree by hand. Will reopen and close the jira.
> Validation: @Resource UserTransaction injection mistakenly used on bean with Container-Managed Transactions
> -----------------------------------------------------------------------------------------------------------
>
> Key: OPENEJB-847
> URL: https://issues.apache.org/jira/browse/OPENEJB-847
> Project: OpenEJB
> Issue Type: Sub-task
> Reporter: David Blevins
> Assignee: Jacek Laskowski
> Fix For: 3.1.3
>
>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.