[hibernate-issues] [Hibernate-JIRA] Created: (HHH-7308) beforeTransactionCompletion() not getting called in the same scenarios as afterTransactionCompletion() in the TransactionObserver for child Sessions
Shawn Clowater (JIRA)
noreply at atlassian.com
Tue May 8 17:25:09 EDT 2012
beforeTransactionCompletion() not getting called in the same scenarios as afterTransactionCompletion() in the TransactionObserver for child Sessions
----------------------------------------------------------------------------------------------------------------------------------------------------
Key: HHH-7308
URL: https://hibernate.onjira.com/browse/HHH-7308
Project: Hibernate ORM
Issue Type: Bug
Components: core
Affects Versions: 4.1.3
Environment: Hibernate 4.1.3 only
Reporter: Shawn Clowater
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.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the hibernate-issues
mailing list