Package org.hibernate.testing.orm.junit
Interface SessionFactoryScope
-
public interface SessionFactoryScope
-
-
Method Summary
-
-
-
Method Detail
-
getSessionFactory
SessionFactoryImplementor getSessionFactory()
-
getMetadataImplementor
MetadataImplementor getMetadataImplementor()
-
getStatementInspector
StatementInspector getStatementInspector()
-
getStatementInspector
<T extends StatementInspector> T getStatementInspector(Class<T> type)
-
getCollectingStatementInspector
SQLStatementInspector getCollectingStatementInspector()
-
withSessionFactory
default void withSessionFactory(Consumer<SessionFactoryImplementor> action)
-
inSession
void inSession(Consumer<SessionImplementor> action)
-
inTransaction
void inTransaction(Consumer<SessionImplementor> action)
-
inTransaction
void inTransaction(SessionImplementor session, Consumer<SessionImplementor> action)
-
fromSession
<T> T fromSession(Function<SessionImplementor,T> action)
-
fromTransaction
<T> T fromTransaction(Function<SessionImplementor,T> action)
-
fromTransaction
<T> T fromTransaction(SessionImplementor session, Function<SessionImplementor,T> action)
-
inStatelessSession
void inStatelessSession(Consumer<StatelessSession> action)
-
inStatelessTransaction
void inStatelessTransaction(Consumer<StatelessSession> action)
-
inStatelessTransaction
void inStatelessTransaction(StatelessSession session, Consumer<StatelessSession> action)
-
-