Uses of Interface
org.hibernate.StatelessSession
Packages that use StatelessSession
Package
Description
This package defines the central Hibernate APIs, beginning with
SessionFactory, which represents an instance of
Hibernate at runtime and is the source of new instances of
Session and StatelessSession,
the most important APIs exposing persistence-related operations for
entities.API for querying the history of
audited entities.
This package defines some central internal SPI abstractions
used throughout the implementation of Hibernate.
-
Uses of StatelessSession in org.hibernate
Methods in org.hibernate that return StatelessSessionModifier and TypeMethodDescriptionSessionFactory.createEntityAgent(EntityAgent.CreationOption... options) SharedStatelessSessionBuilder.open()Open the stateless session.StatelessSessionBuilder.open()SessionFactory.openStatelessSession()Open a new stateless session.SessionFactory.openStatelessSession(Connection connection) Open a new stateless session, utilizing the specified JDBCConnection.StatelessSessionBuilder.openStatelessSession()Opens a session with the specified options.Method parameters in org.hibernate with type arguments of type StatelessSessionModifier and TypeMethodDescriptiondefault <R> RSessionFactory.fromStatelessSession(Function<? super StatelessSession, R> action) Open aStatelessSessionand use it to obtain a value.default <R> RSessionFactory.fromStatelessTransaction(Function<? super StatelessSession, R> action) Open aStatelessSessionand use it to obtain a value within the bounds of a transaction.default voidSessionFactory.inStatelessSession(Consumer<? super StatelessSession> action) Open aStatelessSessionand use it to perform the given action.default voidSessionFactory.inStatelessTransaction(Consumer<? super StatelessSession> action) Open aStatelessSessionand use it to perform an action within the bounds of a transaction. -
Uses of StatelessSession in org.hibernate.audit
Methods in org.hibernate.audit with parameters of type StatelessSessionModifier and TypeMethodDescriptionstatic AuditLogAuditLogFactory.create(StatelessSession session) Create an audit log sharing the stateless session's JDBC connection. -
Uses of StatelessSession in org.hibernate.engine.spi
Subinterfaces of StatelessSession in org.hibernate.engine.spiModifier and TypeInterfaceDescriptioninterfaceSPI extension of StatelessSession