@ -171,9 +171,6 @@ public class SpringSessionContext implements CurrentSessionContext {
@@ -171,9 +171,6 @@ public class SpringSessionContext implements CurrentSessionContext {
@ -185,6 +182,8 @@ public class SpringSessionContext implements CurrentSessionContext {
@@ -185,6 +182,8 @@ public class SpringSessionContext implements CurrentSessionContext {
@ -194,6 +193,10 @@ public class SpringSessionContext implements CurrentSessionContext {
@@ -194,6 +193,10 @@ public class SpringSessionContext implements CurrentSessionContext {
}
returnsession;
}
else{
thrownewHibernateException("Could not obtain transaction-synchronized Session for current thread");