public class SessionFactory extends Object implements MethodInterceptor
Session instances. Wraps a
 call to SessionFactoryUtils. Should be safe to call from
 within any service implementation call or inside of Executor.execute.| Constructor and Description | 
|---|
| SessionFactory(org.hibernate.SessionFactory factory,
              SqlAction isolatedSqlAction) | 
| Modifier and Type | Method and Description | 
|---|---|
| org.hibernate.Session | getSession()Returns a session active for the current thread. | 
| Object | invoke(MethodInvocation mi)Wraps all invocations to Session to prevent certain usages. | 
public SessionFactory(org.hibernate.SessionFactory factory,
                      SqlAction isolatedSqlAction)
public org.hibernate.Session getSession()
public Object invoke(MethodInvocation mi) throws Throwable
QueryBuilder may unwrap the session in certain
 cases.invoke in interface MethodInterceptorThrowable
                
                
Version: 5.2.4-ice35-b23
Copyright © 2016 The University of Dundee & Open Microscopy Environment. All Rights Reserved.