Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-10426

Drop usage of JpaAttachments#TRANSACTION_MANAGER and #TSR

    XMLWordPrintable

Details

    • Task
    • Resolution: Done
    • Major
    • 14.0.0.Beta2
    • None
    • JPA / Hibernate
    • None

    Description

      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.

      Attachments

        Activity

          People

            smarlow1@redhat.com Scott Marlow
            dlloyd@redhat.com David Lloyd
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: