[
https://hibernate.onjira.com/browse/HHH-7090?page=com.atlassian.jira.plug...
]
Steve Ebersole commented on HHH-7090:
-------------------------------------
I will document ongoing findings for those interested.
I think there will be a number of "creation options" that need to simply be
disallowed in conjunction with sharing a transaction context. The first one I ran across
is "managed close". This setting is supposed to automatically close the session
when the transaction is completed. I think we should force that this be directed by the
"primary session".
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
Attachments: TemporarySessionTest.java
{{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