Looking at it from afresh with no historical ties into HHH-10178, I think us having org.hibernate.Transaction#registerSynchronization(javax.transaction.Synchronization) makes it a clear cut, we need the dependency transitively. If we remove that, we can rethink it but that's another story. |