public static GetSession ( ISessionFactory sessionFactory, IInterceptor entityInterceptor, IAdoExceptionTranslator adoExceptionTranslator ) : ISession | ||
sessionFactory | ISessionFactory | The session factory to create the /// session with. |
entityInterceptor | IInterceptor | Hibernate entity interceptor, or null if none. |
adoExceptionTranslator | IAdoExceptionTranslator | AdoExceptionTranslator to use for flushing the
/// Session on transaction synchronization (can be null ; only used when actually
/// registering a transaction synchronization). |
return | ISession |
SessionFactoryUtils::GetSession ( ISessionFactory sessionFactory, IInterceptor entityInterceptor, IAdoExceptionTranslator adoExceptionTranslator, bool allowCreate ) : ISession | |
SessionFactoryUtils::GetSession ( ISessionFactory sessionFactory, bool allowCreate ) : ISession |