[jboss-jira] [JBoss JIRA] (WFLY-10426) Drop usage of JpaAttachments#TRANSACTION_MANAGER and #TSR

Scott Marlow (JIRA) issues at jboss.org
Wed May 30 14:46:00 EDT 2018


     [ https://issues.jboss.org/browse/WFLY-10426?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Scott Marlow updated WFLY-10426:
--------------------------------
    Fix Version/s: 14.0.0.CR1


> Drop usage of JpaAttachments#TRANSACTION_MANAGER and #TSR
> ---------------------------------------------------------
>
>                 Key: WFLY-10426
>                 URL: https://issues.jboss.org/browse/WFLY-10426
>             Project: WildFly
>          Issue Type: Task
>          Components: JPA / Hibernate
>            Reporter: David Lloyd
>            Assignee: Scott Marlow
>             Fix For: 14.0.0.CR1
>
>
> Since the WildFly Transaction Client is responsible for coordinating between WildFly and the backing TM implementation, the attachments {{JpaAttachments#TRANSACTION_MANAGER}} and {{JpaAttachments#TRANSACTION_SYNCHRONIZATION_REGISTRY}} are no longer needed and all usages can be replaced with simple calls to {{ContextTransactionManager.getInstance()}} and {{ContextTransactionSynchronizationRegistry.getInstance()}}.
> Note that deployment dependencies (such as those established in {{PersistenceUnitParseProcessor#deploy}}) are presently still required (to ensure that the TM is available before starting the deployment), but the value can be discarded.



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the jboss-jira mailing list