| Create and register a hibernate interceptor that touches transaction provided by afterTransactionCompletion(Transaction tx) This is related to WFLY-11832. Description is copied. 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. |