Class ReactiveSessionFactoryImpl

java.lang.Object
org.hibernate.internal.SessionFactoryImpl
org.hibernate.reactive.session.impl.ReactiveSessionFactoryImpl
All Implemented Interfaces:
jakarta.persistence.EntityManagerFactory, Serializable, AutoCloseable, Referenceable, org.hibernate.engine.spi.SessionFactoryImplementor, org.hibernate.SessionFactory

public class ReactiveSessionFactoryImpl extends org.hibernate.internal.SessionFactoryImpl
A Hibernate SessionFactory that can be unwrapped to produce a Stage.SessionFactory or a Mutiny.SessionFactory.
See Also:
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.hibernate.internal.SessionFactoryImpl

    org.hibernate.internal.SessionFactoryImpl.SessionBuilderImpl, org.hibernate.internal.SessionFactoryImpl.StatelessSessionBuilderImpl
  • Constructor Summary

    Constructors
    Constructor
    Description
    ReactiveSessionFactoryImpl(org.hibernate.boot.spi.MetadataImplementor bootMetamodel, org.hibernate.boot.spi.SessionFactoryOptions options, org.hibernate.boot.spi.BootstrapContext bootstrapContext)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.hibernate.query.spi.QueryEngine
     
    <T> T
    unwrap(Class<T> type)
     

    Methods inherited from class org.hibernate.internal.SessionFactoryImpl

    addNamedEntityGraph, addNamedQuery, addNamedQuery, addObserver, bestGuessEntityName, callInTransaction, close, configuredInterceptor, configuredInterceptor, containsFetchProfileDefinition, createEntityManager, createEntityManager, createEntityManager, createEntityManager, createGraphForDynamicEntity, findEntityGraphByName, findEntityGraphsByType, getAutoEnabledFilters, getCache, getClassLoaderService, getCriteriaBuilder, getCurrentSession, getCurrentTenantIdentifierResolver, getCustomEntityDirtinessStrategy, getDefinedFetchProfileNames, getDefinedFilterNames, getEntityCopyObserver, getEntityNotFoundDelegate, getEventEngine, getEventListenerGroups, getEventListenerRegistry, getFetchProfile, getFilterDefinition, getGenerator, getInterceptor, getJdbcServices, getJdbcValuesMappingProducerProvider, getJndiName, getJpaMetamodel, getManagedBeanRegistry, getMappingMetamodel, getMetamodel, getName, getNamedEntityGraphs, getNamedQueries, getParameterMarkerStrategy, getPersistenceUnitUtil, getProperties, getReference, getRuntimeMetamodels, getSchemaManager, getServiceRegistry, getSessionFactoryOptions, getSqlStringGenerationContext, getSqlTranslationEngine, getStatistics, getTenantIdentifierJavaType, getTransactionType, getTypeConfiguration, getUuid, getWrapperOptions, isClosed, isOpen, openSession, openStatelessSession, openStatelessSession, openTemporarySession, runInTransaction, validateNotClosed, withOptions, withStatelessOptions

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.hibernate.SessionFactory

    fromSession, fromStatelessSession, fromStatelessTransaction, fromTransaction, inSession, inStatelessSession, inStatelessTransaction, inTransaction, parseEntityGraph, parseEntityGraph, parseEntityGraph

    Methods inherited from interface org.hibernate.engine.spi.SessionFactoryImplementor

    createEntityGraph
  • Constructor Details

    • ReactiveSessionFactoryImpl

      public ReactiveSessionFactoryImpl(org.hibernate.boot.spi.MetadataImplementor bootMetamodel, org.hibernate.boot.spi.SessionFactoryOptions options, org.hibernate.boot.spi.BootstrapContext bootstrapContext)
  • Method Details

    • getQueryEngine

      public org.hibernate.query.spi.QueryEngine getQueryEngine()
      Specified by:
      getQueryEngine in interface org.hibernate.engine.spi.SessionFactoryImplementor
      Overrides:
      getQueryEngine in class org.hibernate.internal.SessionFactoryImpl
    • unwrap

      public <T> T unwrap(Class<T> type)
      Specified by:
      unwrap in interface jakarta.persistence.EntityManagerFactory
      Overrides:
      unwrap in class org.hibernate.internal.SessionFactoryImpl