public class RecordingSessionFactory extends SessionFactoryDecorator
| Constructor and Description |
|---|
RecordingSessionFactory(org.hibernate.SessionFactory delegate) |
| Modifier and Type | Method and Description |
|---|---|
int |
decreaseSessionCount() |
int |
getSessionCount() |
int |
increaseSessionCount() |
org.hibernate.classic.Session |
openSession() |
org.hibernate.classic.Session |
openSession(Connection connection) |
org.hibernate.classic.Session |
openSession(Connection connection,
org.hibernate.Interceptor interceptor) |
org.hibernate.classic.Session |
openSession(org.hibernate.Interceptor interceptor) |
close, containsFetchProfileDefinition, evict, evict, evictCollection, evictCollection, evictEntity, evictEntity, evictQueries, evictQueries, getAllClassMetadata, getAllCollectionMetadata, getCache, getClassMetadata, getClassMetadata, getCollectionMetadata, getCurrentSession, getDefinedFilterNames, getDelegate, getFilterDefinition, getReference, getStatistics, getTypeHelper, isClosed, openStatelessSession, openStatelessSessionpublic RecordingSessionFactory(@Nonnull org.hibernate.SessionFactory delegate)
public int increaseSessionCount()
public int decreaseSessionCount()
public int getSessionCount()
public org.hibernate.classic.Session openSession()
throws org.hibernate.HibernateException
openSession in interface org.hibernate.SessionFactoryopenSession in class SessionFactoryDecoratororg.hibernate.HibernateExceptionpublic org.hibernate.classic.Session openSession(org.hibernate.Interceptor interceptor)
throws org.hibernate.HibernateException
openSession in interface org.hibernate.SessionFactoryopenSession in class SessionFactoryDecoratororg.hibernate.HibernateExceptionpublic org.hibernate.classic.Session openSession(Connection connection)
openSession in interface org.hibernate.SessionFactoryopenSession in class SessionFactoryDecoratorpublic org.hibernate.classic.Session openSession(Connection connection, org.hibernate.Interceptor interceptor)
openSession in interface org.hibernate.SessionFactoryopenSession in class SessionFactoryDecorator