Deprecated
as a consequence of Mapping being deprecated. See corresponding docs for further information.
SessionFactory and the internal
implementation of Hibernate.
SessionFactory, org.hibernate.internal.SessionFactoryImpl
| Modifier and Type | Class and Description |
|---|---|
| public static interface | SessionFactoryImplementor.DeserializationResolver<T extends SessionFactoryImplementor>
Deprecated
for removal since 6.2. this is no longer used
Contract for resolving this SessionFactory on deserialization
|
| addObserver | back to summary |
|---|---|
| public void addObserver(SessionFactoryObserver observer) | |
| bestGuessEntityName | back to summary |
|---|---|
| public String bestGuessEntityName(Object object) The best guess entity name for an entity not in an association | |
| findEntityGraphByName | back to summary |
|---|---|
| public RootGraphImplementor Redeclares org. Doc from org. Return the root
| |
| getCache | back to summary |
|---|---|
| public CacheImplementor getCache() Redeclares org. Doc from org. Obtain direct access to the underlying cache regions.
| |
| getCriteriaBuilder | back to summary |
|---|---|
| public HibernateCriteriaBuilder getCriteriaBuilder() Redeclares org. Doc from org. Obtain a
| |
| getCurrentTenantIdentifierResolver | back to summary |
|---|---|
| public CurrentTenantIdentifierResolver | |
| getCustomEntityDirtinessStrategy | back to summary |
|---|---|
| public CustomEntityDirtinessStrategy getCustomEntityDirtinessStrategy() | |
| getDeserializationResolver | back to summary |
|---|---|
| public SessionFactoryImplementor. Deprecated for removal since 6.2. this is never called
| |
| getEntityNotFoundDelegate | back to summary |
|---|---|
| public EntityNotFoundDelegate getEntityNotFoundDelegate() | |
| getEventEngine | back to summary |
|---|---|
| public EventEngine getEventEngine() Get the EventEngine associated with this SessionFactory | |
| getFastSessionServices | back to summary |
|---|---|
public FastSessionServices getFastSessionServices()
| |
| getFetchProfile | back to summary |
|---|---|
| public FetchProfile getFetchProfile(String name) Retrieve fetch profile by name.
| |
| getFilterDefinition | back to summary |
|---|---|
| public FilterDefinition getFilterDefinition(String filterName) Redeclares org. Doc from org. Obtain the definition of a filter by name.
| |
| getGenerator | back to summary |
|---|---|
| public Generator getGenerator(String rootEntityName) Get the identifier generator for the hierarchy | |
| getIdentifierGenerator | back to summary |
|---|---|
| public IdentifierGenerator getIdentifierGenerator(String rootEntityName)
Get the identifier generator for the hierarchy
| |
| getJdbcServices | back to summary |
|---|---|
| public JdbcServices getJdbcServices() Get the JdbcServices.
| |
| getMappingMetamodel | back to summary |
|---|---|
| public default MappingMetamodelImplementor getMappingMetamodel() Implements org. Doc from org. The runtime MappingMetamodelImplementor
| |
| getMetamodel | back to summary |
|---|---|
| public MetamodelImplementor getMetamodel() Redeclares jakarta. Doc from jakarta. Deprecated no longer for internal use, use Return an instance of
| |
| getName | back to summary |
|---|---|
| public String getName() Access to the name (if one) assigned to the SessionFactory
| |
| getQueryEngine | back to summary |
|---|---|
| public QueryEngine getQueryEngine() Redeclares org. | |
| getRuntimeMetamodels | back to summary |
|---|---|
| public RuntimeMetamodelsImplementor getRuntimeMetamodels() | |
| getServiceRegistry | back to summary |
|---|---|
| public ServiceRegistryImplementor getServiceRegistry() Redeclares org. Redeclares as abstract: org. Access to the ServiceRegistry for this SessionFactory.
| |
| getSessionFactory | back to summary |
|---|---|
| public default SessionFactoryImplementor getSessionFactory() Implements org. Doc from org. Deprecated as a consequence of The SessionFactory | |
| getSessionFactoryOptions | back to summary |
|---|---|
| public SessionFactoryOptions getSessionFactoryOptions() Redeclares org. Doc from org. Get the options used to build this factory.
| |
| getSqlStringGenerationContext | back to summary |
|---|---|
| public SqlStringGenerationContext getSqlStringGenerationContext() | |
| getStatistics | back to summary |
|---|---|
| public StatisticsImplementor getStatistics() Redeclares org. Doc from org. Retrieve the statistics for this factory.
| |
| getTenantIdentifierJavaType | back to summary |
|---|---|
| public JavaType The java type to use for a tenant identifier.
| |
| getTypeConfiguration | back to summary |
|---|---|
| public TypeConfiguration getTypeConfiguration() Redeclares org. Redeclares as abstract: org. | |
| getUuid | back to summary |
|---|---|
| public String getUuid() Get the UUID for this SessionFactory.
The value is generated as a
| |
| getWrapperOptions | back to summary |
|---|---|
| public WrapperOptions getWrapperOptions() | |
| openSession | back to summary |
|---|---|
| public SessionImplementor openSession() Redeclares org. Overrides
| |
| openTemporarySession | back to summary |
|---|---|
| public SessionImplementor openTemporarySession() throws HibernateException Get a non-transactional "current" session (used by hibernate-envers) | |
| resolveParameterBindType | back to summary |
|---|---|
| public <T> BindableType Redeclares org. Deprecated for removal since 6.2. Use
| |
| resolveParameterBindType | back to summary |
|---|---|
| public <T> BindableType Redeclares org. Deprecated for removal since 6.2. Use
| |
| withOptions | back to summary |
|---|---|
| public SessionBuilderImplementor withOptions() Redeclares org. Doc from org. Obtain a session builder for creating
new
| |
Deprecated
for removal since 6.2.
this is no longer used
| Modifier and Type | Method and Description |
|---|---|
| public T |
| resolve | back to summary |
|---|---|
| public T resolve() | |