public interface SessionFactoryScope
| Modifier and Type | Method and Description |
|---|---|
<T> T |
fromSession(Function<org.hibernate.engine.spi.SessionImplementor,T> action) |
<T> T |
fromTransaction(Function<org.hibernate.engine.spi.SessionImplementor,T> action) |
<T> T |
fromTransaction(org.hibernate.engine.spi.SessionImplementor session,
Function<org.hibernate.engine.spi.SessionImplementor,T> action) |
org.hibernate.engine.spi.SessionFactoryImplementor |
getSessionFactory() |
void |
inSession(Consumer<org.hibernate.engine.spi.SessionImplementor> action) |
void |
inTransaction(Consumer<org.hibernate.engine.spi.SessionImplementor> action) |
void |
inTransaction(org.hibernate.engine.spi.SessionImplementor session,
Consumer<org.hibernate.engine.spi.SessionImplementor> action) |
org.hibernate.engine.spi.SessionFactoryImplementor getSessionFactory()
void inSession(Consumer<org.hibernate.engine.spi.SessionImplementor> action)
void inTransaction(Consumer<org.hibernate.engine.spi.SessionImplementor> action)
void inTransaction(org.hibernate.engine.spi.SessionImplementor session,
Consumer<org.hibernate.engine.spi.SessionImplementor> action)
<T> T fromSession(Function<org.hibernate.engine.spi.SessionImplementor,T> action)
<T> T fromTransaction(Function<org.hibernate.engine.spi.SessionImplementor,T> action)
<T> T fromTransaction(org.hibernate.engine.spi.SessionImplementor session,
Function<org.hibernate.engine.spi.SessionImplementor,T> action)
Copyright © 2001-2019 Red Hat, Inc. All Rights Reserved.