What confuses me is that the ...WithClosedSession tests work fine. The only differentiator is ...WithClearedSession does the lazy loading within an open session and transaction. The other 2 close them first.
Is there anything significant in the test having a session (although cleared) and transaction open when the temporary session is opened?
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
What confuses me is that the ...WithClosedSession tests work fine. The only differentiator is ...WithClearedSession does the lazy loading within an open session and transaction. The other 2 close them first.
Is there anything significant in the test having a session (although cleared) and transaction open when the temporary session is opened?