[hibernate-issues] [Hibernate-JIRA] Resolved: (HHH-7188) Binder fails to pop context off of stack after processing each entity source

John Verhaeg (JIRA) noreply at atlassian.com
Mon Mar 19 16:21:48 EDT 2012


     [ https://hibernate.onjira.com/browse/HHH-7188?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

John Verhaeg resolved HHH-7188.
-------------------------------

    Resolution: Fixed

Changed Binder to push/pop context in appropriate places for root and sub entities

> Binder fails to pop context off of stack after processing each entity source
> ----------------------------------------------------------------------------
>
>                 Key: HHH-7188
>                 URL: https://hibernate.onjira.com/browse/HHH-7188
>             Project: Hibernate ORM
>          Issue Type: Bug
>          Components: metamodel
>    Affects Versions: 5.0.0
>            Reporter: John Verhaeg
>            Assignee: John Verhaeg
>             Fix For: 5.0.0
>
>
> Popping the context off the stack in the finally block that was intended for this purpose, however, will not work since the attributes (and things for the root entity) are bound afterwards, but still need access to the context.  Due to the root entity being handled differently than other entities, pushing the context onto the stack for it needs to also be handled differently than other entities.

--
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