Description:
|
As part of the fix for
https://hibernate.onjira.com/browse/
HHH-7239 which was originally addressing an issue with memory consumption it was decided at the last minute to correct the fact that the after transaction processing wasn't being called on child sessions.
However, in certain cases (i.e the child session was closed()) the beforeTransactionCompletion() isn't getting called but the the afterTransactionCompletion() is.
This caused an issue with Hibernate search where an exception was being thrown "Access a Sealed WorkQueue which has not been sealed" since the beforeTransactionCompletion() never got called.
It's a relatively easy fix, pull request forthcoming.
|