Class SessionFactoryWrapper

  • All Implemented Interfaces:
    jakarta.persistence.EntityManagerFactory, Closeable, Serializable, AutoCloseable, Referenceable, org.hibernate.engine.spi.Mapping, org.hibernate.engine.spi.SessionFactoryImplementor, org.hibernate.query.spi.QueryParameterBindingTypeResolver, org.hibernate.query.sqm.spi.SqmCreationContext, org.hibernate.SessionFactory, org.hibernate.sql.ast.spi.SqlAstCreationContext

    public class SessionFactoryWrapper
    extends org.hibernate.engine.spi.SessionFactoryDelegatingImpl
    See Also:
    Serialized Form
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface org.hibernate.SessionFactory

        org.hibernate.SessionFactory.TransactionManagementException
      • Nested classes/interfaces inherited from interface org.hibernate.engine.spi.SessionFactoryImplementor

        org.hibernate.engine.spi.SessionFactoryImplementor.DeserializationResolver<T extends org.hibernate.engine.spi.SessionFactoryImplementor>
    • Constructor Summary

      Constructors 
      Constructor Description
      SessionFactoryWrapper​(org.hibernate.SessionFactory delegate)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Map<String,​org.hibernate.persister.entity.EntityPersister> getAllClassMetadata()  
      Map<String,​org.hibernate.persister.collection.CollectionPersister> getAllCollectionMetadata()  
      org.hibernate.persister.entity.EntityPersister getClassMetadata​(Class<?> clazz)  
      org.hibernate.persister.entity.EntityPersister getClassMetadata​(String string)  
      org.hibernate.persister.collection.CollectionPersister getCollectionMetadata​(String string)  
      org.hibernate.engine.spi.SessionImplementor openSession()  
      • Methods inherited from class org.hibernate.engine.spi.SessionFactoryDelegatingImpl

        addNamedEntityGraph, addNamedQuery, addObserver, bestGuessEntityName, close, containsFetchProfileDefinition, createEntityManager, createEntityManager, createEntityManager, createEntityManager, delegate, findEntityGraphByName, findEntityGraphsByType, getCache, getCollectionRolesByEntityParticipant, getCriteriaBuilder, getCurrentSession, getCurrentTenantIdentifierResolver, getCustomEntityDirtinessStrategy, getDefinedFetchProfileNames, getDefinedFilterNames, getDeserializationResolver, getEntityNotFoundDelegate, getEventEngine, getFastSessionServices, getFetchProfile, getFilterDefinition, getGenerator, getIdentifierGenerator, getIdentifierPropertyName, getIdentifierType, getJdbcServices, getJpaMetamodel, getMaximumFetchDepth, getMetamodel, getName, getPersistenceUnitUtil, getProperties, getQueryEngine, getReference, getReferencedPropertyType, getRuntimeMetamodels, getSchemaManager, getServiceRegistry, getSessionFactoryOptions, getSqlStringGenerationContext, getStatistics, getTypeConfiguration, getUuid, getWrapperOptions, isClosed, isOpen, openStatelessSession, openStatelessSession, openTemporarySession, resolveParameterBindType, resolveParameterBindType, unwrap, withOptions, withStatelessOptions
      • Methods inherited from interface org.hibernate.SessionFactory

        fromSession, fromTransaction, inSession, inTransaction
      • Methods inherited from interface org.hibernate.engine.spi.SessionFactoryImplementor

        getMappingMetamodel, getSessionFactory
      • Methods inherited from interface org.hibernate.query.sqm.spi.SqmCreationContext

        getNodeBuilder
    • Constructor Detail

      • SessionFactoryWrapper

        public SessionFactoryWrapper​(org.hibernate.SessionFactory delegate)
    • Method Detail

      • openSession

        public org.hibernate.engine.spi.SessionImplementor openSession()
        Specified by:
        openSession in interface org.hibernate.SessionFactory
        Specified by:
        openSession in interface org.hibernate.engine.spi.SessionFactoryImplementor
        Overrides:
        openSession in class org.hibernate.engine.spi.SessionFactoryDelegatingImpl
      • getAllClassMetadata

        public Map<String,​org.hibernate.persister.entity.EntityPersister> getAllClassMetadata()
      • getAllCollectionMetadata

        public Map<String,​org.hibernate.persister.collection.CollectionPersister> getAllCollectionMetadata()
      • getClassMetadata

        public org.hibernate.persister.entity.EntityPersister getClassMetadata​(String string)
      • getClassMetadata

        public org.hibernate.persister.entity.EntityPersister getClassMetadata​(Class<?> clazz)
      • getCollectionMetadata

        public org.hibernate.persister.collection.CollectionPersister getCollectionMetadata​(String string)