Uses of Interface
org.hibernate.SessionFactory
-
Packages that use SessionFactory Package Description org.hibernate org.hibernate.boot This package contains the contracts that make up the Hibernate native bootstrapping API (building a SessionFactory).org.hibernate.boot.spi org.hibernate.cfg org.hibernate.engine.spi org.hibernate.type.spi -
-
Uses of SessionFactory in org.hibernate
Methods in org.hibernate that return SessionFactory Modifier and Type Method Description SessionFactoryCache. getSessionFactory()Access to the SessionFactory this Cache is bound to.SessionFactoryMetamodel. getSessionFactory()Access to the SessionFactory that this Metamodel instance is bound to.SessionFactorySession. getSessionFactory()Get the session factory which created this session.Methods in org.hibernate with parameters of type SessionFactory Modifier and Type Method Description default voidSessionFactoryObserver. sessionFactoryClosed(SessionFactory factory)Callback to indicate that the given factory has been closed.default voidSessionFactoryObserver. sessionFactoryClosing(SessionFactory factory)Callback to indicate that the given factory is about to close.default voidSessionFactoryObserver. sessionFactoryCreated(SessionFactory factory)Callback to indicate that the given factory has been created and is now ready for use. -
Uses of SessionFactory in org.hibernate.boot
Methods in org.hibernate.boot that return SessionFactory Modifier and Type Method Description SessionFactorySessionFactoryBuilder. build()After all options have been set, build the SessionFactory.SessionFactoryMetadata. buildSessionFactory()Short-hand form of building aSessionFactorythrough the builder without any additional option overrides. -
Uses of SessionFactory in org.hibernate.boot.spi
Methods in org.hibernate.boot.spi that return SessionFactory Modifier and Type Method Description SessionFactoryAbstractDelegatingSessionFactoryBuilder. build()SessionFactoryAbstractDelegatingMetadata. buildSessionFactory() -
Uses of SessionFactory in org.hibernate.cfg
Methods in org.hibernate.cfg that return SessionFactory Modifier and Type Method Description SessionFactoryConfiguration. buildSessionFactory()Create aSessionFactoryusing the properties and mappings in this configuration.SessionFactoryConfiguration. buildSessionFactory(ServiceRegistry serviceRegistry)Create aSessionFactoryusing the properties and mappings in this configuration. -
Uses of SessionFactory in org.hibernate.engine.spi
Subinterfaces of SessionFactory in org.hibernate.engine.spi Modifier and Type Interface Description interfaceSessionFactoryImplementorDefines the internal contract between the SessionFactory and other parts of Hibernate such as implementors of Type.Classes in org.hibernate.engine.spi that implement SessionFactory Modifier and Type Class Description classSessionFactoryDelegatingImplBase delegating implementation of the SessionFactory and SessionFactoryImplementor contracts for intended for easier implementation of SessionFactory.Methods in org.hibernate.engine.spi that return SessionFactory Modifier and Type Method Description SessionFactorySessionLazyDelegator. getSessionFactory() -
Uses of SessionFactory in org.hibernate.type.spi
Methods in org.hibernate.type.spi with parameters of type SessionFactory Modifier and Type Method Description voidTypeConfiguration. sessionFactoryClosed(SessionFactory factory)voidTypeConfiguration. sessionFactoryCreated(SessionFactory factory)
-