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

Transaction for Hibernate Interceptor is null

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Duplicate Issue
    • Affects Version/s: 14.0.0.Final, 15.0.1.Final, 16.0.0.Final
    • Fix Version/s: None
    • Labels:
      None
    • Steps to Reproduce:
      • Create and register a hibernate interceptor that touches transaction provided by afterTransactionCompletion(Transaction tx)

      Description

      With Wildfly 13 - javaee7 transactions in hibernate interceptors were never null.
      Since Wildfly 14 - javaee8 transactions in hibernate interceptors are always null.

      Attached sources and a jar of a minimal reproducer for Wildfly 16. This is reproducible by using a fresh unchanged Wildfly 16 and unchanged standalone.xml. Extract Wildfly 16, drop in the jar in the deployments folder and start the server.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  smarlow Scott Marlow
                  Reporter:
                  mchur Markus Chur
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  4 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: