[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-7090) Temporary session closing affects original session
Steve Ebersole (JIRA)
noreply at atlassian.com
Mon Mar 19 18:36:48 EDT 2012
[ https://hibernate.onjira.com/browse/HHH-7090?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=46027#comment-46027 ]
Steve Ebersole commented on HHH-7090:
-------------------------------------
We may want to do something with protecting session.getTransaction calls on the "non primary session", but aside from that sharing a "transaction context" is actually working
> Temporary session closing affects original session
> --------------------------------------------------
>
> Key: HHH-7090
> URL: https://hibernate.onjira.com/browse/HHH-7090
> Project: Hibernate ORM
> Issue Type: Bug
> Components: core
> Affects Versions: 4.1.0
> Reporter: Lukasz Antoniak
> Assignee: Steve Ebersole
> Labels: session
> Fix For: 4.1.2
>
> Attachments: TemporarySessionTest.java
>
> Time Spent: 1h 46m
>
> {{SharedSessionBuilder#transactionContext()}} shares the entire {{TransactionContext}}, which causes problems after temporary session closing (original session is closed as well). Also the auto-closing feature might not work as expected.
--
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