Author: steve.ebersole(a)jboss.com
Date: 2009-08-15 16:04:28 -0400 (Sat, 15 Aug 2009)
New Revision: 17319
Modified:
core/trunk/core/src/main/java/org/hibernate/impl/SessionImpl.java
Log:
HHH-4088 - Session.getSession should always return sessions from parent (or root) session
Modified: core/trunk/core/src/main/java/org/hibernate/impl/SessionImpl.java
===================================================================
--- core/trunk/core/src/main/java/org/hibernate/impl/SessionImpl.java 2009-08-15 18:23:24
UTC (rev 17318)
+++ core/trunk/core/src/main/java/org/hibernate/impl/SessionImpl.java 2009-08-15 20:04:28
UTC (rev 17319)
@@ -258,7 +258,7 @@
}
if ( rootSession != null ) {
- rootSession.getSession( entityMode );
+ return rootSession.getSession( entityMode );
}
errorIfClosed();
Show replies by date