Shawn Clowater commented on Bug HHH-7603

Pull request created at https://github.com/hibernate/hibernate-orm/pull/390

This one was a bit of a beast to actually write a test for and it's a bit convoluted but the behaviour did change between 4.1.6 and 4.1.7.

For completeness I dropped this change into the Hib Search tests and the failure over there went away. Basically the gist was that it was now getting a NPE anytime something tried to touch a lazy collection that had an associated Session but that session didn't have the collection in the collections set.

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