[cdi-dev] [JBoss JIRA] Commented: (CDI-1) Clarify how resource producer fields (for persistence contexts) interact with transaction propagation

Stuart Douglas (JIRA) jira-events at lists.jboss.org
Tue May 24 03:30:01 EDT 2011


    [ https://issues.jboss.org/browse/CDI-1?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12603846#comment-12603846 ] 

Stuart Douglas commented on CDI-1:
----------------------------------


The specification states the persistence context can be injected using @PersistenceContext however does explain exactly what sort of persistence context it is and how it interacts with PC propagation. 

As the JPA states that only SFSB's can use a persistence context of type EXTENDED, the only valid type of persistence context is a transaction scoped em, which probably means the container must injection a dependent scoped proxy to a transaction scoped EM. 

If this is the case, then does this entity manger follow the rules for persistence context propagation outline in JPA 7.6.3? 


> Clarify how resource producer fields (for persistence contexts) interact with transaction propagation
> -----------------------------------------------------------------------------------------------------
>
>                 Key: CDI-1
>                 URL: https://issues.jboss.org/browse/CDI-1
>             Project: CDI Specification Issues
>          Issue Type: Clarification
>          Components: Java EE integration
>    Affects Versions: 1.0
>            Reporter: Pete Muir
>             Fix For: 1.1 (Proposed)
>
>


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the cdi-dev mailing list