Package org.hibernate.tool.orm.jbt.wrp
Class SessionFactoryWrapper
- java.lang.Object
-
- org.hibernate.engine.spi.SessionFactoryDelegatingImpl
-
- org.hibernate.tool.orm.jbt.wrp.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
-
-
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.EntityPersistergetClassMetadata(Class<?> clazz)org.hibernate.persister.entity.EntityPersistergetClassMetadata(String string)org.hibernate.persister.collection.CollectionPersistergetCollectionMetadata(String string)org.hibernate.engine.spi.SessionImplementoropenSession()-
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 class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.hibernate.SessionFactory
fromSession, fromTransaction, inSession, inTransaction
-
-
-
-
Method Detail
-
openSession
public org.hibernate.engine.spi.SessionImplementor openSession()
- Specified by:
openSessionin interfaceorg.hibernate.SessionFactory- Specified by:
openSessionin interfaceorg.hibernate.engine.spi.SessionFactoryImplementor- Overrides:
openSessionin classorg.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)
-
-