HHH-4088 - Session.getSession should always return sessions from parent (or root) session

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17319 1b8cb986-b30d-0410-93ca-fae66ebed9b2
This commit is contained in:
Steve Ebersole 2009-08-15 20:04:28 +00:00
parent db0c121763
commit cda1a1abeb

View File

@ -258,7 +258,7 @@ public Session getSession(EntityMode entityMode) {
}
if ( rootSession != null ) {
rootSession.getSession( entityMode );
return rootSession.getSession( entityMode );
}
errorIfClosed();