Author: steve.ebersole(a)jboss.com
Date: 2009-08-15 16:10:06 -0400 (Sat, 15 Aug 2009)
New Revision: 17320
Modified:
core/branches/Branch_3_3/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/branches/Branch_3_3/core/src/main/java/org/hibernate/impl/SessionImpl.java
===================================================================
---
core/branches/Branch_3_3/core/src/main/java/org/hibernate/impl/SessionImpl.java 2009-08-15
20:04:28 UTC (rev 17319)
+++
core/branches/Branch_3_3/core/src/main/java/org/hibernate/impl/SessionImpl.java 2009-08-15
20:10:06 UTC (rev 17320)
@@ -255,7 +255,7 @@
}
if ( rootSession != null ) {
- rootSession.getSession( entityMode );
+ return rootSession.getSession( entityMode );
}
errorIfClosed();
Show replies by date