[hibernate-issues] [Hibernate-JIRA] Commented: (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 18:00:09 EDT 2012


    [ https://hibernate.onjira.com/browse/HHH-7308?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=46572#comment-46572 ] 

Shawn Clowater commented on HHH-7308:
-------------------------------------

Pull request created @ https://github.com/hibernate/hibernate-orm/pull/330

> 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