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:
parent
db0c121763
commit
cda1a1abeb
|
@ -258,7 +258,7 @@ public final class SessionImpl extends AbstractSessionImpl
|
|||
}
|
||||
|
||||
if ( rootSession != null ) {
|
||||
rootSession.getSession( entityMode );
|
||||
return rootSession.getSession( entityMode );
|
||||
}
|
||||
|
||||
errorIfClosed();
|
||||
|
|
Loading…
Reference in New Issue