Change By: Strong Liu (05/Sep/12 2:01 AM)
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.
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira