]
Steve Ebersole closed HHH-4088.
-------------------------------
Resolution: Fixed
Session.getSession should always return sessions from parent (or
root) session
------------------------------------------------------------------------------
Key: HHH-4088
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-4088
Project: Hibernate Core
Issue Type: Bug
Components: core
Reporter: Steve Ebersole
Assignee: Steve Ebersole
Fix For: 3.3.x, 3.5
There is a bug in SessionImpl.getSession():
if ( rootSession != null ) {
rootSession.getSession( entityMode );
}
should read:
if ( rootSession != null ) {
return rootSession.getSession( entityMode );
}
(notice the missing return)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: