Uses of Interface
org.hibernate.StatelessSession
-
Packages that use StatelessSession Package Description org.hibernate This package defines the central Hibernate APIs, beginning withSessionFactory
, which represents an instance of Hibernate at runtime and is the source of new instances ofSession
andStatelessSession
, the most important APIs exposing persistence-related operations for entities.org.hibernate.engine.spi This package defines some central internal SPI abstractions used throughout the implementation of Hibernate.org.hibernate.internal An internal package containing implementations of central Hibernate APIs, mostly defined inorg.hibernate
.org.hibernate.testing.junit4 org.hibernate.testing.orm.junit org.hibernate.testing.orm.transaction org.hibernate.testing.transaction -
-
Uses of StatelessSession in org.hibernate
Methods in org.hibernate that return StatelessSession Modifier and Type Method Description StatelessSession
SessionFactory. openStatelessSession()
Open a new stateless session.StatelessSession
SessionFactory. openStatelessSession(Connection connection)
Open a new stateless session, utilizing the specified JDBCConnection
.StatelessSession
StatelessSessionBuilder. openStatelessSession()
Opens a session with the specified options.Method parameters in org.hibernate with type arguments of type StatelessSession Modifier and Type Method Description default <R> R
SessionFactory. fromStatelessSession(Function<StatelessSession,R> action)
Open aStatelessSession
and use it to obtain a value.default <R> R
SessionFactory. fromStatelessTransaction(Function<StatelessSession,R> action)
Open aStatelessSession
and use it to obtain a value within the bounds of a transaction.default void
SessionFactory. inStatelessSession(Consumer<StatelessSession> action)
Open aStatelessSession
and use it to perform an action.default void
SessionFactory. inStatelessTransaction(Consumer<StatelessSession> action)
Open aStatelessSession
and use it to perform an action within the bounds of a transaction. -
Uses of StatelessSession in org.hibernate.engine.spi
Methods in org.hibernate.engine.spi that return StatelessSession Modifier and Type Method Description default StatelessSession
SharedSessionContractImplementor. asStatelessSession()
Cast this object toStatelessSession
, if possible.StatelessSession
SessionFactoryDelegatingImpl. openStatelessSession()
StatelessSession
SessionFactoryDelegatingImpl. openStatelessSession(Connection connection)
-
Uses of StatelessSession in org.hibernate.internal
Classes in org.hibernate.internal that implement StatelessSession Modifier and Type Class Description class
StatelessSessionImpl
Concrete implementation of theStatelessSession
API.Methods in org.hibernate.internal that return StatelessSession Modifier and Type Method Description StatelessSession
StatelessSessionImpl. asStatelessSession()
StatelessSession
SessionFactoryImpl. openStatelessSession()
StatelessSession
SessionFactoryImpl. openStatelessSession(Connection connection)
StatelessSession
SessionFactoryImpl.StatelessSessionBuilderImpl. openStatelessSession()
-
Uses of StatelessSession in org.hibernate.testing.junit4
Method parameters in org.hibernate.testing.junit4 with type arguments of type StatelessSession Modifier and Type Method Description protected void
BaseCoreFunctionalTestCase. inStatelessSession(Consumer<StatelessSession> action)
void
BaseNonConfigCoreFunctionalTestCase. inStatelessSession(Consumer<StatelessSession> action)
void
BaseNonConfigCoreFunctionalTestCase. inStatelessTransaction(Consumer<StatelessSession> action)
-
Uses of StatelessSession in org.hibernate.testing.orm.junit
Methods in org.hibernate.testing.orm.junit with parameters of type StatelessSession Modifier and Type Method Description void
SessionFactoryScope. inStatelessTransaction(StatelessSession session, Consumer<StatelessSession> action)
Method parameters in org.hibernate.testing.orm.junit with type arguments of type StatelessSession Modifier and Type Method Description void
SessionFactoryScope. inStatelessSession(Consumer<StatelessSession> action)
void
SessionFactoryScope. inStatelessTransaction(Consumer<StatelessSession> action)
void
SessionFactoryScope. inStatelessTransaction(StatelessSession session, Consumer<StatelessSession> action)
-
Uses of StatelessSession in org.hibernate.testing.orm.transaction
Methods in org.hibernate.testing.orm.transaction with parameters of type StatelessSession Modifier and Type Method Description static void
TransactionUtil. inTransaction(StatelessSession session, Consumer<StatelessSession> action)
Method parameters in org.hibernate.testing.orm.transaction with type arguments of type StatelessSession Modifier and Type Method Description static void
TransactionUtil. inTransaction(StatelessSession session, Consumer<StatelessSession> action)
-
Uses of StatelessSession in org.hibernate.testing.transaction
Methods in org.hibernate.testing.transaction with parameters of type StatelessSession Modifier and Type Method Description static void
TransactionUtil2. inStatelessTransaction(StatelessSession session, Consumer<StatelessSession> action)
Method parameters in org.hibernate.testing.transaction with type arguments of type StatelessSession Modifier and Type Method Description static void
TransactionUtil2. inStatelessSession(SessionFactoryImplementor sfi, Consumer<StatelessSession> action)
static void
TransactionUtil2. inStatelessTransaction(SessionFactoryImplementor factory, Consumer<StatelessSession> action)
static void
TransactionUtil2. inStatelessTransaction(StatelessSession session, Consumer<StatelessSession> action)
-