Class MockSessionFactory
- java.lang.Object
-
- org.hibernate.processor.validation.MockSessionFactory
-
- All Implemented Interfaces:
EntityManagerFactory,Closeable,Serializable,AutoCloseable,Referenceable,org.hibernate.boot.model.FunctionContributions,org.hibernate.boot.spi.BootstrapContext,org.hibernate.boot.spi.MetadataBuildingContext,org.hibernate.boot.spi.MetadataBuildingOptions,org.hibernate.boot.spi.SessionFactoryOptions,org.hibernate.engine.spi.Mapping,org.hibernate.engine.spi.SessionFactoryImplementor,org.hibernate.metamodel.spi.RuntimeModelCreationContext,org.hibernate.persister.spi.PersisterCreationContext,org.hibernate.query.spi.QueryEngine,org.hibernate.query.spi.QueryEngineOptions,org.hibernate.query.spi.QueryParameterBindingTypeResolver,org.hibernate.query.sqm.spi.SqmCreationContext,org.hibernate.SessionFactory,org.hibernate.sql.ast.spi.SqlAstCreationContext,org.hibernate.type.descriptor.jdbc.JdbcTypeIndicators
- Direct Known Subclasses:
ProcessorSessionFactory
public abstract class MockSessionFactory extends Object implements org.hibernate.engine.spi.SessionFactoryImplementor, org.hibernate.query.spi.QueryEngine, org.hibernate.metamodel.spi.RuntimeModelCreationContext, org.hibernate.boot.spi.MetadataBuildingOptions, org.hibernate.boot.spi.BootstrapContext, org.hibernate.boot.spi.MetadataBuildingContext, org.hibernate.boot.model.FunctionContributions, org.hibernate.boot.spi.SessionFactoryOptions, org.hibernate.type.descriptor.jdbc.JdbcTypeIndicators
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MockSessionFactory()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description voidaddObserver(org.hibernate.SessionFactoryObserver observer)voidclose()org.hibernate.graph.spi.RootGraphImplementor<?>findEntityGraphByName(String s)org.hibernate.loader.BatchFetchStylegetBatchFetchStyle()org.hibernate.boot.spi.MetadataImplementorgetBootModel()org.hibernate.boot.spi.BootstrapContextgetBootstrapContext()org.hibernate.boot.spi.MetadataBuildingOptionsgetBuildingOptions()org.hibernate.cache.spi.CacheImplementorgetCache()org.hibernate.query.sqm.NodeBuildergetCriteriaBuilder()org.hibernate.context.spi.CurrentTenantIdentifierResolver<Object>getCurrentTenantIdentifierResolver()org.hibernate.CustomEntityDirtinessStrategygetCustomEntityDirtinessStrategy()org.hibernate.TimeZoneStorageStrategygetDefaultTimeZoneStorageStrategy()Set<String>getDefinedFilterNames()org.hibernate.dialect.DialectgetDialect()org.hibernate.metamodel.spi.MappingMetamodelImplementorgetDomainModel()org.hibernate.EntityNameResolver[]getEntityNameResolvers()org.hibernate.proxy.EntityNotFoundDelegategetEntityNotFoundDelegate()org.hibernate.internal.FastSessionServicesgetFastSessionServices()org.hibernate.query.sqm.function.SqmFunctionRegistrygetFunctionRegistry()org.hibernate.query.hql.HqlTranslatorgetHqlTranslator()org.hibernate.id.factory.IdentifierGeneratorFactorygetIdentifierGeneratorFactory()StringgetIdentifierPropertyName(String className)org.hibernate.type.TypegetIdentifierType(String className)org.hibernate.boot.model.naming.ImplicitNamingStrategygetImplicitNamingStrategy()org.hibernate.query.spi.QueryInterpretationCachegetInterpretationCache()org.hibernate.engine.jdbc.spi.JdbcServicesgetJdbcServices()org.hibernate.jpa.spi.MutableJpaCompliancegetJpaCompliance()org.hibernate.metamodel.model.domain.spi.JpaMetamodelImplementorgetJpaMetamodel()org.hibernate.boot.spi.MappingDefaultsgetMappingDefaults()org.hibernate.metamodel.spi.MappingMetamodelImplementorgetMappingMetamodel()IntegergetMaximumFetchDepth()org.hibernate.metamodel.spi.MetamodelImplementorgetMetamodel()StringgetName()org.hibernate.query.named.NamedObjectRepositorygetNamedObjectRepository()org.hibernate.engine.query.spi.NativeQueryInterpretergetNativeQueryInterpreter()org.hibernate.boot.model.naming.PhysicalNamingStrategygetPhysicalNamingStrategy()intgetPreferredSqlTypeCodeForArray()intgetPreferredSqlTypeCodeForBoolean()intgetPreferredSqlTypeCodeForDuration()intgetPreferredSqlTypeCodeForInstant()intgetPreferredSqlTypeCodeForUuid()org.hibernate.query.spi.QueryEnginegetQueryEngine()org.hibernate.type.TypegetReferencedPropertyType(String className, String propertyName)org.hibernate.metamodel.spi.RuntimeMetamodelsImplementorgetRuntimeMetamodels()org.hibernate.boot.registry.internal.StandardServiceRegistryImplgetServiceRegistry()org.hibernate.engine.spi.SessionFactoryImplementorgetSessionFactory()StringgetSessionFactoryName()org.hibernate.SessionFactoryObserver[]getSessionFactoryObservers()org.hibernate.boot.spi.SessionFactoryOptionsgetSessionFactoryOptions()Map<String,Object>getSettings()org.hibernate.boot.model.relational.SqlStringGenerationContextgetSqlStringGenerationContext()org.hibernate.query.sqm.function.SqmFunctionRegistrygetSqmFunctionRegistry()org.hibernate.query.sqm.sql.SqmTranslatorFactorygetSqmTranslatorFactory()org.hibernate.stat.spi.StatisticsImplementorgetStatistics()protected abstract StringgetSupertype(String entityName)org.hibernate.type.descriptor.java.JavaType<Object>getTenantIdentifierJavaType()org.hibernate.type.spi.TypeConfigurationgetTypeConfiguration()StringgetUuid()org.hibernate.type.BasicType<?>getVersionType(String className)booleanisClosed()booleanisDelayBatchFetchLoaderCreationsEnabled()booleanisPreferJavaTimeJdbcTypesEnabled()booleanisPreferNativeEnumTypesEnabled()protected abstract booleanisSubtype(String entityName, String subtypeEntityName)voidsetCheckNullability(boolean enabled)voidvalidateNamedQueries()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.hibernate.boot.spi.BootstrapContext
getArchiveDescriptorFactory, getAttributeConverters, getAuxiliaryDatabaseObjectList, getCacheRegionDefinitions, getClassLoaderAccess, getClassmateContext, getCustomTypeProducer, getJandexView, getJpaTempClassLoader, getMetadataBuildingOptions, getReflectionManager, getRepresentationStrategySelector, getScanEnvironment, getScanner, getScanOptions, getSqlFunctions, isJpaBootstrap, markAsJpaBootstrap, registerAdHocBasicType, release, resolveAdHocBasicType
-
Methods inherited from interface jakarta.persistence.EntityManagerFactory
addNamedEntityGraph, addNamedQuery, createEntityManager, createEntityManager, createEntityManager, createEntityManager, getPersistenceUnitUtil, getProperties, isOpen, unwrap
-
Methods inherited from interface org.hibernate.type.descriptor.jdbc.JdbcTypeIndicators
getColumnLength, getColumnPrecision, getColumnScale, getDefaultZonedTimeSqlType, getDefaultZonedTimestampSqlType, getEnumeratedType, getExplicitJdbcTypeCode, getJdbcType, getTemporalPrecision, isLob, isNationalized, resolveJdbcTypeCode
-
Methods inherited from interface org.hibernate.boot.spi.MetadataBuildingContext
getCurrentContributorName, getMetadataCollector, getObjectNameNormalizer, getTypeDefinitionRegistry
-
Methods inherited from interface org.hibernate.boot.spi.MetadataBuildingOptions
createImplicitDiscriminatorsForJoinedInheritance, disallowExtensionsInCdi, getBasicTypeRegistrations, getColumnOrderingStrategy, getCompositeUserTypes, getDefaultTimeZoneStorage, getImplicitCacheAccessType, getManagedTypeRepresentationResolver, getPersistentCollectionRepresentationResolver, getSchemaCharset, getSharedCacheMode, getSourceProcessOrdering, getTimeZoneSupport, getWrapperArrayHandling, ignoreExplicitDiscriminatorsForJoinedInheritance, isAllowExtensionsInCdi, isMultiTenancyEnabled, isNoConstraintByDefault, isSpecjProprietarySyntaxEnabled, isXmlMappingEnabled, shouldImplicitlyForceDiscriminatorInSelect, useNationalizedCharacterData
-
Methods inherited from interface org.hibernate.query.spi.QueryEngineOptions
getCustomHqlTranslator, getCustomSqlFunctionMap, getCustomSqmFunctionRegistry, getCustomSqmMultiTableInsertStrategy, getCustomSqmMultiTableMutationStrategy, getCustomSqmTranslatorFactory
-
Methods inherited from interface javax.naming.Referenceable
getReference
-
Methods inherited from interface org.hibernate.metamodel.spi.RuntimeModelCreationContext
getJavaTypeRegistry, getMetadata
-
Methods inherited from interface org.hibernate.SessionFactory
containsFetchProfileDefinition, findEntityGraphsByType, fromSession, fromStatelessSession, fromStatelessTransaction, fromTransaction, getCurrentSession, getDefinedFetchProfileNames, getSchemaManager, inSession, inStatelessSession, inStatelessTransaction, inTransaction, openStatelessSession, openStatelessSession, withStatelessOptions
-
Methods inherited from interface org.hibernate.engine.spi.SessionFactoryImplementor
bestGuessEntityName, getAutoEnabledFilters, getDeserializationResolver, getEventEngine, getFetchProfile, getFilterDefinition, getGenerator, getIdentifierGenerator, getWrapperOptions, openSession, openTemporarySession, resolveParameterBindType, resolveParameterBindType, withOptions
-
Methods inherited from interface org.hibernate.boot.spi.SessionFactoryOptions
areJPACallbacksEnabled, doesConnectionProviderDisableAutoCommit, getBaselineSessionEventsListenerBuilder, getBeanManagerReference, getCacheRegionPrefix, getCriteriaValueHandlingMode, getDefaultBatchFetchSize, getDefaultCatalog, getDefaultNullPrecedence, getDefaultSchema, getDefaultTenantIdentifierJavaType, getImmutableEntityUpdateQueryHandlingMode, getInterceptor, getJdbcBatchSize, getJdbcFetchSize, getJdbcTimeZone, getJsonFormatMapper, getNativeJdbcParametersIgnored, getPhysicalConnectionHandlingMode, getQueryCacheLayout, getQueryStatisticsMaxSize, getSchemaAutoTooling, getStatelessInterceptorImplementorSupplier, getStatementInspector, getTempTableDdlTransactionHandling, getTimestampsCacheFactory, getValidatorFactoryReference, getXmlFormatMapper, inClauseParameterPaddingEnabled, isAllowOutOfTransactionUpdateOperations, isAllowRefreshDetachedEntity, isAutoCloseSessionEnabled, isAutoEvictCollectionCache, isCheckNullability, isCollectionsInDefaultFetchGroupEnabled, isCommentsEnabled, isCriteriaCopyTreeEnabled, isDirectReferenceCacheEntriesEnabled, isFailOnPaginationOverCollectionFetchEnabled, isFlushBeforeCompletionEnabled, isGetGeneratedKeysEnabled, isIdentifierRollbackEnabled, isInitializeLazyStateOutsideTransactionsEnabled, isJdbcBatchVersionedData, isJpaBootstrap, isJtaTrackByThread, isJtaTransactionAccessEnabled, isMinimalPutsEnabled, isMultiTenancyEnabled, isNamedQueryStartupCheckingEnabled, isOrderInsertsEnabled, isOrderUpdatesEnabled, isPassProcedureParameterNames, isPortableIntegerDivisionEnabled, isPreferUserTransaction, isQueryCacheEnabled, isReleaseResourcesOnCloseEnabled, isScrollableResultSetsEnabled, isSecondLevelCacheEnabled, isSessionFactoryNameAlsoJndiName, isStatisticsEnabled, isStructuredCacheEntriesEnabled, isSubselectFetchEnabled, isUnownedAssociationTransientCheck, isUseOfJdbcNamedParametersEnabled
-
-
-
-
Method Detail
-
getTypeConfiguration
public org.hibernate.type.spi.TypeConfiguration getTypeConfiguration()
- Specified by:
getTypeConfigurationin interfaceorg.hibernate.boot.spi.BootstrapContext- Specified by:
getTypeConfigurationin interfaceorg.hibernate.boot.model.FunctionContributions- Specified by:
getTypeConfigurationin interfaceorg.hibernate.type.descriptor.jdbc.JdbcTypeIndicators- Specified by:
getTypeConfigurationin interfaceorg.hibernate.boot.spi.MetadataBuildingOptions- Specified by:
getTypeConfigurationin interfaceorg.hibernate.persister.spi.PersisterCreationContext- Specified by:
getTypeConfigurationin interfaceorg.hibernate.query.spi.QueryEngine- Specified by:
getTypeConfigurationin interfaceorg.hibernate.query.spi.QueryParameterBindingTypeResolver- Specified by:
getTypeConfigurationin interfaceorg.hibernate.metamodel.spi.RuntimeModelCreationContext- Specified by:
getTypeConfigurationin interfaceorg.hibernate.engine.spi.SessionFactoryImplementor- Specified by:
getTypeConfigurationin interfaceorg.hibernate.query.sqm.spi.SqmCreationContext
-
addObserver
public void addObserver(org.hibernate.SessionFactoryObserver observer)
- Specified by:
addObserverin interfaceorg.hibernate.engine.spi.SessionFactoryImplementor
-
getBuildingOptions
public org.hibernate.boot.spi.MetadataBuildingOptions getBuildingOptions()
- Specified by:
getBuildingOptionsin interfaceorg.hibernate.boot.spi.MetadataBuildingContext
-
getPhysicalNamingStrategy
public org.hibernate.boot.model.naming.PhysicalNamingStrategy getPhysicalNamingStrategy()
- Specified by:
getPhysicalNamingStrategyin interfaceorg.hibernate.boot.spi.MetadataBuildingOptions
-
getImplicitNamingStrategy
public org.hibernate.boot.model.naming.ImplicitNamingStrategy getImplicitNamingStrategy()
- Specified by:
getImplicitNamingStrategyin interfaceorg.hibernate.boot.spi.MetadataBuildingOptions
-
getIdentifierType
public org.hibernate.type.Type getIdentifierType(String className) throws org.hibernate.MappingException
- Specified by:
getIdentifierTypein interfaceorg.hibernate.engine.spi.Mapping- Throws:
org.hibernate.MappingException
-
getVersionType
public org.hibernate.type.BasicType<?> getVersionType(String className) throws org.hibernate.MappingException
- Throws:
org.hibernate.MappingException
-
getIdentifierPropertyName
public String getIdentifierPropertyName(String className) throws org.hibernate.MappingException
- Specified by:
getIdentifierPropertyNamein interfaceorg.hibernate.engine.spi.Mapping- Throws:
org.hibernate.MappingException
-
getReferencedPropertyType
public org.hibernate.type.Type getReferencedPropertyType(String className, String propertyName) throws org.hibernate.MappingException
- Specified by:
getReferencedPropertyTypein interfaceorg.hibernate.engine.spi.Mapping- Throws:
org.hibernate.MappingException
-
getMetamodel
public org.hibernate.metamodel.spi.MetamodelImplementor getMetamodel()
- Specified by:
getMetamodelin interfaceEntityManagerFactory- Specified by:
getMetamodelin interfaceorg.hibernate.engine.spi.SessionFactoryImplementor
-
getServiceRegistry
public org.hibernate.boot.registry.internal.StandardServiceRegistryImpl getServiceRegistry()
- Specified by:
getServiceRegistryin interfaceorg.hibernate.boot.spi.BootstrapContext- Specified by:
getServiceRegistryin interfaceorg.hibernate.boot.model.FunctionContributions- Specified by:
getServiceRegistryin interfaceorg.hibernate.boot.spi.MetadataBuildingOptions- Specified by:
getServiceRegistryin interfaceorg.hibernate.metamodel.spi.RuntimeModelCreationContext- Specified by:
getServiceRegistryin interfaceorg.hibernate.engine.spi.SessionFactoryImplementor- Specified by:
getServiceRegistryin interfaceorg.hibernate.boot.spi.SessionFactoryOptions- Specified by:
getServiceRegistryin interfaceorg.hibernate.sql.ast.spi.SqlAstCreationContext- Specified by:
getServiceRegistryin interfaceorg.hibernate.query.sqm.spi.SqmCreationContext
-
getJdbcServices
public org.hibernate.engine.jdbc.spi.JdbcServices getJdbcServices()
- Specified by:
getJdbcServicesin interfaceorg.hibernate.metamodel.spi.RuntimeModelCreationContext- Specified by:
getJdbcServicesin interfaceorg.hibernate.engine.spi.SessionFactoryImplementor
-
getName
public String getName()
- Specified by:
getNamein interfaceorg.hibernate.engine.spi.SessionFactoryImplementor
-
getSessionFactoryOptions
public org.hibernate.boot.spi.SessionFactoryOptions getSessionFactoryOptions()
- Specified by:
getSessionFactoryOptionsin interfaceorg.hibernate.metamodel.spi.RuntimeModelCreationContext- Specified by:
getSessionFactoryOptionsin interfaceorg.hibernate.SessionFactory- Specified by:
getSessionFactoryOptionsin interfaceorg.hibernate.engine.spi.SessionFactoryImplementor
-
getDefinedFilterNames
public Set<String> getDefinedFilterNames()
- Specified by:
getDefinedFilterNamesin interfaceorg.hibernate.SessionFactory
-
getCache
public org.hibernate.cache.spi.CacheImplementor getCache()
- Specified by:
getCachein interfaceEntityManagerFactory- Specified by:
getCachein interfaceorg.hibernate.metamodel.spi.RuntimeModelCreationContext- Specified by:
getCachein interfaceorg.hibernate.SessionFactory- Specified by:
getCachein interfaceorg.hibernate.engine.spi.SessionFactoryImplementor
-
getEntityNotFoundDelegate
public org.hibernate.proxy.EntityNotFoundDelegate getEntityNotFoundDelegate()
- Specified by:
getEntityNotFoundDelegatein interfaceorg.hibernate.engine.spi.SessionFactoryImplementor- Specified by:
getEntityNotFoundDelegatein interfaceorg.hibernate.boot.spi.SessionFactoryOptions
-
getCustomEntityDirtinessStrategy
public org.hibernate.CustomEntityDirtinessStrategy getCustomEntityDirtinessStrategy()
- Specified by:
getCustomEntityDirtinessStrategyin interfaceorg.hibernate.engine.spi.SessionFactoryImplementor- Specified by:
getCustomEntityDirtinessStrategyin interfaceorg.hibernate.boot.spi.SessionFactoryOptions
-
getCurrentTenantIdentifierResolver
public org.hibernate.context.spi.CurrentTenantIdentifierResolver<Object> getCurrentTenantIdentifierResolver()
- Specified by:
getCurrentTenantIdentifierResolverin interfaceorg.hibernate.engine.spi.SessionFactoryImplementor- Specified by:
getCurrentTenantIdentifierResolverin interfaceorg.hibernate.boot.spi.SessionFactoryOptions
-
getTenantIdentifierJavaType
public org.hibernate.type.descriptor.java.JavaType<Object> getTenantIdentifierJavaType()
- Specified by:
getTenantIdentifierJavaTypein interfaceorg.hibernate.engine.spi.SessionFactoryImplementor
-
isPreferJavaTimeJdbcTypesEnabled
public boolean isPreferJavaTimeJdbcTypesEnabled()
- Specified by:
isPreferJavaTimeJdbcTypesEnabledin interfaceorg.hibernate.type.descriptor.jdbc.JdbcTypeIndicators- Specified by:
isPreferJavaTimeJdbcTypesEnabledin interfaceorg.hibernate.boot.spi.MetadataBuildingContext- Specified by:
isPreferJavaTimeJdbcTypesEnabledin interfaceorg.hibernate.boot.spi.SessionFactoryOptions
-
isPreferNativeEnumTypesEnabled
public boolean isPreferNativeEnumTypesEnabled()
- Specified by:
isPreferNativeEnumTypesEnabledin interfaceorg.hibernate.type.descriptor.jdbc.JdbcTypeIndicators- Specified by:
isPreferNativeEnumTypesEnabledin interfaceorg.hibernate.boot.spi.MetadataBuildingContext- Specified by:
isPreferNativeEnumTypesEnabledin interfaceorg.hibernate.boot.spi.SessionFactoryOptions
-
getFastSessionServices
public org.hibernate.internal.FastSessionServices getFastSessionServices()
- Specified by:
getFastSessionServicesin interfaceorg.hibernate.engine.spi.SessionFactoryImplementor
-
close
public void close()
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Specified by:
closein interfaceEntityManagerFactory- Specified by:
closein interfaceorg.hibernate.query.spi.QueryEngine- Specified by:
closein interfaceorg.hibernate.SessionFactory
-
findEntityGraphByName
public org.hibernate.graph.spi.RootGraphImplementor<?> findEntityGraphByName(String s)
- Specified by:
findEntityGraphByNamein interfaceorg.hibernate.SessionFactory- Specified by:
findEntityGraphByNamein interfaceorg.hibernate.engine.spi.SessionFactoryImplementor
-
getNativeQueryInterpreter
public org.hibernate.engine.query.spi.NativeQueryInterpreter getNativeQueryInterpreter()
- Specified by:
getNativeQueryInterpreterin interfaceorg.hibernate.query.spi.QueryEngine
-
getInterpretationCache
public org.hibernate.query.spi.QueryInterpretationCache getInterpretationCache()
- Specified by:
getInterpretationCachein interfaceorg.hibernate.query.spi.QueryEngine
-
getStatistics
public org.hibernate.stat.spi.StatisticsImplementor getStatistics()
- Specified by:
getStatisticsin interfaceorg.hibernate.SessionFactory- Specified by:
getStatisticsin interfaceorg.hibernate.engine.spi.SessionFactoryImplementor
-
getSqmFunctionRegistry
public org.hibernate.query.sqm.function.SqmFunctionRegistry getSqmFunctionRegistry()
- Specified by:
getSqmFunctionRegistryin interfaceorg.hibernate.query.spi.QueryEngine
-
getCriteriaBuilder
public org.hibernate.query.sqm.NodeBuilder getCriteriaBuilder()
- Specified by:
getCriteriaBuilderin interfaceEntityManagerFactory- Specified by:
getCriteriaBuilderin interfaceorg.hibernate.query.spi.QueryEngine- Specified by:
getCriteriaBuilderin interfaceorg.hibernate.SessionFactory- Specified by:
getCriteriaBuilderin interfaceorg.hibernate.engine.spi.SessionFactoryImplementor
-
validateNamedQueries
public void validateNamedQueries()
- Specified by:
validateNamedQueriesin interfaceorg.hibernate.query.spi.QueryEngine
-
getNamedObjectRepository
public org.hibernate.query.named.NamedObjectRepository getNamedObjectRepository()
- Specified by:
getNamedObjectRepositoryin interfaceorg.hibernate.query.spi.QueryEngine
-
getHqlTranslator
public org.hibernate.query.hql.HqlTranslator getHqlTranslator()
- Specified by:
getHqlTranslatorin interfaceorg.hibernate.query.spi.QueryEngine
-
getSqmTranslatorFactory
public org.hibernate.query.sqm.sql.SqmTranslatorFactory getSqmTranslatorFactory()
- Specified by:
getSqmTranslatorFactoryin interfaceorg.hibernate.query.spi.QueryEngine
-
getQueryEngine
public org.hibernate.query.spi.QueryEngine getQueryEngine()
- Specified by:
getQueryEnginein interfaceorg.hibernate.engine.spi.SessionFactoryImplementor- Specified by:
getQueryEnginein interfaceorg.hibernate.query.sqm.spi.SqmCreationContext
-
getJpaMetamodel
public org.hibernate.metamodel.model.domain.spi.JpaMetamodelImplementor getJpaMetamodel()
- Specified by:
getJpaMetamodelin interfaceorg.hibernate.query.sqm.spi.SqmCreationContext
-
getMappingMetamodel
public org.hibernate.metamodel.spi.MappingMetamodelImplementor getMappingMetamodel()
- Specified by:
getMappingMetamodelin interfaceorg.hibernate.query.spi.QueryParameterBindingTypeResolver- Specified by:
getMappingMetamodelin interfaceorg.hibernate.engine.spi.SessionFactoryImplementor- Specified by:
getMappingMetamodelin interfaceorg.hibernate.sql.ast.spi.SqlAstCreationContext
-
getRuntimeMetamodels
public org.hibernate.metamodel.spi.RuntimeMetamodelsImplementor getRuntimeMetamodels()
- Specified by:
getRuntimeMetamodelsin interfaceorg.hibernate.engine.spi.SessionFactoryImplementor
-
isClosed
public boolean isClosed()
- Specified by:
isClosedin interfaceorg.hibernate.SessionFactory
-
getJpaCompliance
public org.hibernate.jpa.spi.MutableJpaCompliance getJpaCompliance()
- Specified by:
getJpaCompliancein interfaceorg.hibernate.boot.spi.BootstrapContext- Specified by:
getJpaCompliancein interfaceorg.hibernate.query.spi.QueryEngineOptions- Specified by:
getJpaCompliancein interfaceorg.hibernate.boot.spi.SessionFactoryOptions
-
getSessionFactoryName
public String getSessionFactoryName()
- Specified by:
getSessionFactoryNamein interfaceorg.hibernate.boot.spi.SessionFactoryOptions
-
getUuid
public String getUuid()
- Specified by:
getUuidin interfaceorg.hibernate.engine.spi.SessionFactoryImplementor- Specified by:
getUuidin interfaceorg.hibernate.boot.spi.SessionFactoryOptions
-
getSessionFactoryObservers
public org.hibernate.SessionFactoryObserver[] getSessionFactoryObservers()
- Specified by:
getSessionFactoryObserversin interfaceorg.hibernate.boot.spi.SessionFactoryOptions
-
getEntityNameResolvers
public org.hibernate.EntityNameResolver[] getEntityNameResolvers()
- Specified by:
getEntityNameResolversin interfaceorg.hibernate.boot.spi.SessionFactoryOptions
-
getBatchFetchStyle
public org.hibernate.loader.BatchFetchStyle getBatchFetchStyle()
- Specified by:
getBatchFetchStylein interfaceorg.hibernate.boot.spi.SessionFactoryOptions
-
isDelayBatchFetchLoaderCreationsEnabled
public boolean isDelayBatchFetchLoaderCreationsEnabled()
- Specified by:
isDelayBatchFetchLoaderCreationsEnabledin interfaceorg.hibernate.boot.spi.SessionFactoryOptions
-
getMaximumFetchDepth
public Integer getMaximumFetchDepth()
- Specified by:
getMaximumFetchDepthin interfaceorg.hibernate.boot.spi.SessionFactoryOptions- Specified by:
getMaximumFetchDepthin interfaceorg.hibernate.sql.ast.spi.SqlAstCreationContext
-
setCheckNullability
public void setCheckNullability(boolean enabled)
- Specified by:
setCheckNullabilityin interfaceorg.hibernate.boot.spi.SessionFactoryOptions
-
getDialect
public org.hibernate.dialect.Dialect getDialect()
- Specified by:
getDialectin interfaceorg.hibernate.boot.model.FunctionContributions- Specified by:
getDialectin interfaceorg.hibernate.type.descriptor.jdbc.JdbcTypeIndicators- Specified by:
getDialectin interfaceorg.hibernate.metamodel.spi.RuntimeModelCreationContext
-
getPreferredSqlTypeCodeForBoolean
public int getPreferredSqlTypeCodeForBoolean()
- Specified by:
getPreferredSqlTypeCodeForBooleanin interfaceorg.hibernate.type.descriptor.jdbc.JdbcTypeIndicators- Specified by:
getPreferredSqlTypeCodeForBooleanin interfaceorg.hibernate.boot.spi.MetadataBuildingContext- Specified by:
getPreferredSqlTypeCodeForBooleanin interfaceorg.hibernate.boot.spi.SessionFactoryOptions
-
getPreferredSqlTypeCodeForDuration
public int getPreferredSqlTypeCodeForDuration()
- Specified by:
getPreferredSqlTypeCodeForDurationin interfaceorg.hibernate.type.descriptor.jdbc.JdbcTypeIndicators- Specified by:
getPreferredSqlTypeCodeForDurationin interfaceorg.hibernate.boot.spi.MetadataBuildingContext- Specified by:
getPreferredSqlTypeCodeForDurationin interfaceorg.hibernate.boot.spi.SessionFactoryOptions
-
getPreferredSqlTypeCodeForUuid
public int getPreferredSqlTypeCodeForUuid()
- Specified by:
getPreferredSqlTypeCodeForUuidin interfaceorg.hibernate.type.descriptor.jdbc.JdbcTypeIndicators- Specified by:
getPreferredSqlTypeCodeForUuidin interfaceorg.hibernate.boot.spi.MetadataBuildingContext- Specified by:
getPreferredSqlTypeCodeForUuidin interfaceorg.hibernate.boot.spi.SessionFactoryOptions
-
getPreferredSqlTypeCodeForInstant
public int getPreferredSqlTypeCodeForInstant()
- Specified by:
getPreferredSqlTypeCodeForInstantin interfaceorg.hibernate.type.descriptor.jdbc.JdbcTypeIndicators- Specified by:
getPreferredSqlTypeCodeForInstantin interfaceorg.hibernate.boot.spi.MetadataBuildingContext- Specified by:
getPreferredSqlTypeCodeForInstantin interfaceorg.hibernate.boot.spi.SessionFactoryOptions
-
getPreferredSqlTypeCodeForArray
public int getPreferredSqlTypeCodeForArray()
- Specified by:
getPreferredSqlTypeCodeForArrayin interfaceorg.hibernate.type.descriptor.jdbc.JdbcTypeIndicators- Specified by:
getPreferredSqlTypeCodeForArrayin interfaceorg.hibernate.boot.spi.MetadataBuildingContext- Specified by:
getPreferredSqlTypeCodeForArrayin interfaceorg.hibernate.boot.spi.SessionFactoryOptions
-
getSessionFactory
public org.hibernate.engine.spi.SessionFactoryImplementor getSessionFactory()
- Specified by:
getSessionFactoryin interfaceorg.hibernate.persister.spi.PersisterCreationContext- Specified by:
getSessionFactoryin interfaceorg.hibernate.metamodel.spi.RuntimeModelCreationContext- Specified by:
getSessionFactoryin interfaceorg.hibernate.engine.spi.SessionFactoryImplementor- Specified by:
getSessionFactoryin interfaceorg.hibernate.sql.ast.spi.SqlAstCreationContext
-
getBootstrapContext
public org.hibernate.boot.spi.BootstrapContext getBootstrapContext()
- Specified by:
getBootstrapContextin interfaceorg.hibernate.boot.spi.MetadataBuildingContext- Specified by:
getBootstrapContextin interfaceorg.hibernate.persister.spi.PersisterCreationContext- Specified by:
getBootstrapContextin interfaceorg.hibernate.metamodel.spi.RuntimeModelCreationContext
-
getBootModel
public org.hibernate.boot.spi.MetadataImplementor getBootModel()
- Specified by:
getBootModelin interfaceorg.hibernate.metamodel.spi.RuntimeModelCreationContext
-
getDomainModel
public org.hibernate.metamodel.spi.MappingMetamodelImplementor getDomainModel()
- Specified by:
getDomainModelin interfaceorg.hibernate.metamodel.spi.RuntimeModelCreationContext
-
getFunctionRegistry
public org.hibernate.query.sqm.function.SqmFunctionRegistry getFunctionRegistry()
- Specified by:
getFunctionRegistryin interfaceorg.hibernate.boot.spi.BootstrapContext- Specified by:
getFunctionRegistryin interfaceorg.hibernate.boot.model.FunctionContributions- Specified by:
getFunctionRegistryin interfaceorg.hibernate.metamodel.spi.RuntimeModelCreationContext
-
getSettings
public Map<String,Object> getSettings()
- Specified by:
getSettingsin interfaceorg.hibernate.metamodel.spi.RuntimeModelCreationContext
-
getSqlStringGenerationContext
public org.hibernate.boot.model.relational.SqlStringGenerationContext getSqlStringGenerationContext()
- Specified by:
getSqlStringGenerationContextin interfaceorg.hibernate.metamodel.spi.RuntimeModelCreationContext- Specified by:
getSqlStringGenerationContextin interfaceorg.hibernate.engine.spi.SessionFactoryImplementor
-
getIdentifierGeneratorFactory
public org.hibernate.id.factory.IdentifierGeneratorFactory getIdentifierGeneratorFactory()
- Specified by:
getIdentifierGeneratorFactoryin interfaceorg.hibernate.boot.spi.BootstrapContext- Specified by:
getIdentifierGeneratorFactoryin interfaceorg.hibernate.boot.spi.MetadataBuildingOptions
-
getMappingDefaults
public org.hibernate.boot.spi.MappingDefaults getMappingDefaults()
- Specified by:
getMappingDefaultsin interfaceorg.hibernate.boot.spi.MetadataBuildingContext- Specified by:
getMappingDefaultsin interfaceorg.hibernate.boot.spi.MetadataBuildingOptions
-
getDefaultTimeZoneStorageStrategy
public org.hibernate.TimeZoneStorageStrategy getDefaultTimeZoneStorageStrategy()
- Specified by:
getDefaultTimeZoneStorageStrategyin interfaceorg.hibernate.type.descriptor.jdbc.JdbcTypeIndicators- Specified by:
getDefaultTimeZoneStorageStrategyin interfaceorg.hibernate.boot.spi.SessionFactoryOptions
-
-