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:
  • Nested Class Summary

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

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

    Fields inherited from interface org.hibernate.type.descriptor.jdbc.JdbcTypeIndicators

    NO_COLUMN_LENGTH, NO_COLUMN_PRECISION, NO_COLUMN_SCALE

    Fields inherited from interface org.hibernate.query.spi.QueryEngine

    DEFAULT_QUERY_PLAN_MAX_COUNT
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    addObserver(org.hibernate.SessionFactoryObserver observer)
     
    void
     
    org.hibernate.graph.spi.RootGraphImplementor<?>
     
    org.hibernate.loader.BatchFetchStyle
     
    org.hibernate.boot.spi.MetadataImplementor
     
    org.hibernate.boot.spi.BootstrapContext
     
    org.hibernate.boot.spi.MetadataBuildingOptions
     
    org.hibernate.cache.spi.CacheImplementor
     
    org.hibernate.query.sqm.NodeBuilder
     
    org.hibernate.context.spi.CurrentTenantIdentifierResolver<Object>
     
    org.hibernate.CustomEntityDirtinessStrategy
     
    org.hibernate.TimeZoneStorageStrategy
     
     
    org.hibernate.dialect.Dialect
     
    org.hibernate.metamodel.spi.MappingMetamodelImplementor
     
    org.hibernate.EntityNameResolver[]
     
    org.hibernate.proxy.EntityNotFoundDelegate
     
    org.hibernate.internal.FastSessionServices
     
    org.hibernate.query.sqm.function.SqmFunctionRegistry
     
    org.hibernate.query.hql.HqlTranslator
     
    org.hibernate.id.factory.IdentifierGeneratorFactory
     
     
    org.hibernate.type.Type
     
    org.hibernate.boot.model.naming.ImplicitNamingStrategy
     
    org.hibernate.query.spi.QueryInterpretationCache
     
    org.hibernate.engine.jdbc.spi.JdbcServices
     
    org.hibernate.jpa.spi.MutableJpaCompliance
     
    org.hibernate.metamodel.model.domain.spi.JpaMetamodelImplementor
     
    org.hibernate.boot.spi.MappingDefaults
     
    org.hibernate.metamodel.spi.MappingMetamodelImplementor
     
     
    org.hibernate.metamodel.spi.MetamodelImplementor
     
     
    org.hibernate.query.named.NamedObjectRepository
     
    org.hibernate.engine.query.spi.NativeQueryInterpreter
     
    org.hibernate.boot.model.naming.PhysicalNamingStrategy
     
    int
     
    int
     
    int
     
    int
     
    int
     
    org.hibernate.query.spi.QueryEngine
     
    org.hibernate.type.Type
    getReferencedPropertyType(String className, String propertyName)
     
    org.hibernate.metamodel.spi.RuntimeMetamodelsImplementor
     
    org.hibernate.boot.registry.internal.StandardServiceRegistryImpl
     
    org.hibernate.engine.spi.SessionFactoryImplementor
     
     
    org.hibernate.SessionFactoryObserver[]
     
    org.hibernate.boot.spi.SessionFactoryOptions
     
     
    org.hibernate.boot.model.relational.SqlStringGenerationContext
     
    org.hibernate.query.sqm.function.SqmFunctionRegistry
     
    org.hibernate.query.sqm.sql.SqmTranslatorFactory
     
    org.hibernate.stat.spi.StatisticsImplementor
     
    protected abstract String
    getSupertype(String entityName)
     
    org.hibernate.type.descriptor.java.JavaType<Object>
     
    org.hibernate.type.spi.TypeConfiguration
     
     
    boolean
     
    boolean
     
    boolean
     
    boolean
     
    protected abstract boolean
    isSubtype(String entityName, String subtypeEntityName)
     
    void
    setCheckNullability(boolean enabled)
     
    void
     

    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 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.QueryEngine

    interpretHql

    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

    Methods inherited from interface org.hibernate.query.sqm.spi.SqmCreationContext

    getNodeBuilder
  • Constructor Details

    • MockSessionFactory

      public MockSessionFactory()
  • Method Details

    • getTypeConfiguration

      public org.hibernate.type.spi.TypeConfiguration getTypeConfiguration()
      Specified by:
      getTypeConfiguration in interface org.hibernate.boot.spi.BootstrapContext
      Specified by:
      getTypeConfiguration in interface org.hibernate.boot.model.FunctionContributions
      Specified by:
      getTypeConfiguration in interface org.hibernate.type.descriptor.jdbc.JdbcTypeIndicators
      Specified by:
      getTypeConfiguration in interface org.hibernate.boot.spi.MetadataBuildingOptions
      Specified by:
      getTypeConfiguration in interface org.hibernate.persister.spi.PersisterCreationContext
      Specified by:
      getTypeConfiguration in interface org.hibernate.query.spi.QueryEngine
      Specified by:
      getTypeConfiguration in interface org.hibernate.query.spi.QueryParameterBindingTypeResolver
      Specified by:
      getTypeConfiguration in interface org.hibernate.metamodel.spi.RuntimeModelCreationContext
      Specified by:
      getTypeConfiguration in interface org.hibernate.engine.spi.SessionFactoryImplementor
      Specified by:
      getTypeConfiguration in interface org.hibernate.query.sqm.spi.SqmCreationContext
    • addObserver

      public void addObserver(org.hibernate.SessionFactoryObserver observer)
      Specified by:
      addObserver in interface org.hibernate.engine.spi.SessionFactoryImplementor
    • getBuildingOptions

      public org.hibernate.boot.spi.MetadataBuildingOptions getBuildingOptions()
      Specified by:
      getBuildingOptions in interface org.hibernate.boot.spi.MetadataBuildingContext
    • getPhysicalNamingStrategy

      public org.hibernate.boot.model.naming.PhysicalNamingStrategy getPhysicalNamingStrategy()
      Specified by:
      getPhysicalNamingStrategy in interface org.hibernate.boot.spi.MetadataBuildingOptions
    • getImplicitNamingStrategy

      public org.hibernate.boot.model.naming.ImplicitNamingStrategy getImplicitNamingStrategy()
      Specified by:
      getImplicitNamingStrategy in interface org.hibernate.boot.spi.MetadataBuildingOptions
    • isSubtype

      protected abstract boolean isSubtype(String entityName, String subtypeEntityName)
    • getSupertype

      protected abstract String getSupertype(String entityName)
    • getIdentifierType

      public org.hibernate.type.Type getIdentifierType(String className) throws org.hibernate.MappingException
      Specified by:
      getIdentifierType in interface org.hibernate.engine.spi.Mapping
      Throws:
      org.hibernate.MappingException
    • getIdentifierPropertyName

      public String getIdentifierPropertyName(String className) throws org.hibernate.MappingException
      Specified by:
      getIdentifierPropertyName in interface org.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:
      getReferencedPropertyType in interface org.hibernate.engine.spi.Mapping
      Throws:
      org.hibernate.MappingException
    • getMetamodel

      public org.hibernate.metamodel.spi.MetamodelImplementor getMetamodel()
      Specified by:
      getMetamodel in interface EntityManagerFactory
      Specified by:
      getMetamodel in interface org.hibernate.engine.spi.SessionFactoryImplementor
    • getServiceRegistry

      public org.hibernate.boot.registry.internal.StandardServiceRegistryImpl getServiceRegistry()
      Specified by:
      getServiceRegistry in interface org.hibernate.boot.spi.BootstrapContext
      Specified by:
      getServiceRegistry in interface org.hibernate.boot.model.FunctionContributions
      Specified by:
      getServiceRegistry in interface org.hibernate.boot.spi.MetadataBuildingOptions
      Specified by:
      getServiceRegistry in interface org.hibernate.metamodel.spi.RuntimeModelCreationContext
      Specified by:
      getServiceRegistry in interface org.hibernate.engine.spi.SessionFactoryImplementor
      Specified by:
      getServiceRegistry in interface org.hibernate.boot.spi.SessionFactoryOptions
      Specified by:
      getServiceRegistry in interface org.hibernate.sql.ast.spi.SqlAstCreationContext
      Specified by:
      getServiceRegistry in interface org.hibernate.query.sqm.spi.SqmCreationContext
    • getJdbcServices

      public org.hibernate.engine.jdbc.spi.JdbcServices getJdbcServices()
      Specified by:
      getJdbcServices in interface org.hibernate.metamodel.spi.RuntimeModelCreationContext
      Specified by:
      getJdbcServices in interface org.hibernate.engine.spi.SessionFactoryImplementor
    • getName

      public String getName()
      Specified by:
      getName in interface org.hibernate.engine.spi.SessionFactoryImplementor
    • getSessionFactoryOptions

      public org.hibernate.boot.spi.SessionFactoryOptions getSessionFactoryOptions()
      Specified by:
      getSessionFactoryOptions in interface org.hibernate.metamodel.spi.RuntimeModelCreationContext
      Specified by:
      getSessionFactoryOptions in interface org.hibernate.SessionFactory
      Specified by:
      getSessionFactoryOptions in interface org.hibernate.engine.spi.SessionFactoryImplementor
    • getDefinedFilterNames

      public Set<String> getDefinedFilterNames()
      Specified by:
      getDefinedFilterNames in interface org.hibernate.SessionFactory
    • getCache

      public org.hibernate.cache.spi.CacheImplementor getCache()
      Specified by:
      getCache in interface EntityManagerFactory
      Specified by:
      getCache in interface org.hibernate.metamodel.spi.RuntimeModelCreationContext
      Specified by:
      getCache in interface org.hibernate.SessionFactory
      Specified by:
      getCache in interface org.hibernate.engine.spi.SessionFactoryImplementor
    • getEntityNotFoundDelegate

      public org.hibernate.proxy.EntityNotFoundDelegate getEntityNotFoundDelegate()
      Specified by:
      getEntityNotFoundDelegate in interface org.hibernate.engine.spi.SessionFactoryImplementor
      Specified by:
      getEntityNotFoundDelegate in interface org.hibernate.boot.spi.SessionFactoryOptions
    • getCustomEntityDirtinessStrategy

      public org.hibernate.CustomEntityDirtinessStrategy getCustomEntityDirtinessStrategy()
      Specified by:
      getCustomEntityDirtinessStrategy in interface org.hibernate.engine.spi.SessionFactoryImplementor
      Specified by:
      getCustomEntityDirtinessStrategy in interface org.hibernate.boot.spi.SessionFactoryOptions
    • getCurrentTenantIdentifierResolver

      public org.hibernate.context.spi.CurrentTenantIdentifierResolver<Object> getCurrentTenantIdentifierResolver()
      Specified by:
      getCurrentTenantIdentifierResolver in interface org.hibernate.engine.spi.SessionFactoryImplementor
      Specified by:
      getCurrentTenantIdentifierResolver in interface org.hibernate.boot.spi.SessionFactoryOptions
    • getTenantIdentifierJavaType

      public org.hibernate.type.descriptor.java.JavaType<Object> getTenantIdentifierJavaType()
      Specified by:
      getTenantIdentifierJavaType in interface org.hibernate.engine.spi.SessionFactoryImplementor
    • isPreferJavaTimeJdbcTypesEnabled

      public boolean isPreferJavaTimeJdbcTypesEnabled()
      Specified by:
      isPreferJavaTimeJdbcTypesEnabled in interface org.hibernate.type.descriptor.jdbc.JdbcTypeIndicators
      Specified by:
      isPreferJavaTimeJdbcTypesEnabled in interface org.hibernate.boot.spi.MetadataBuildingContext
      Specified by:
      isPreferJavaTimeJdbcTypesEnabled in interface org.hibernate.boot.spi.SessionFactoryOptions
    • isPreferNativeEnumTypesEnabled

      public boolean isPreferNativeEnumTypesEnabled()
      Specified by:
      isPreferNativeEnumTypesEnabled in interface org.hibernate.type.descriptor.jdbc.JdbcTypeIndicators
      Specified by:
      isPreferNativeEnumTypesEnabled in interface org.hibernate.boot.spi.MetadataBuildingContext
      Specified by:
      isPreferNativeEnumTypesEnabled in interface org.hibernate.boot.spi.SessionFactoryOptions
    • getFastSessionServices

      public org.hibernate.internal.FastSessionServices getFastSessionServices()
      Specified by:
      getFastSessionServices in interface org.hibernate.engine.spi.SessionFactoryImplementor
    • close

      public void close()
      Specified by:
      close in interface AutoCloseable
      Specified by:
      close in interface Closeable
      Specified by:
      close in interface EntityManagerFactory
      Specified by:
      close in interface org.hibernate.query.spi.QueryEngine
      Specified by:
      close in interface org.hibernate.SessionFactory
    • findEntityGraphByName

      public org.hibernate.graph.spi.RootGraphImplementor<?> findEntityGraphByName(String s)
      Specified by:
      findEntityGraphByName in interface org.hibernate.SessionFactory
      Specified by:
      findEntityGraphByName in interface org.hibernate.engine.spi.SessionFactoryImplementor
    • getNativeQueryInterpreter

      public org.hibernate.engine.query.spi.NativeQueryInterpreter getNativeQueryInterpreter()
      Specified by:
      getNativeQueryInterpreter in interface org.hibernate.query.spi.QueryEngine
    • getInterpretationCache

      public org.hibernate.query.spi.QueryInterpretationCache getInterpretationCache()
      Specified by:
      getInterpretationCache in interface org.hibernate.query.spi.QueryEngine
    • getStatistics

      public org.hibernate.stat.spi.StatisticsImplementor getStatistics()
      Specified by:
      getStatistics in interface org.hibernate.SessionFactory
      Specified by:
      getStatistics in interface org.hibernate.engine.spi.SessionFactoryImplementor
    • getSqmFunctionRegistry

      public org.hibernate.query.sqm.function.SqmFunctionRegistry getSqmFunctionRegistry()
      Specified by:
      getSqmFunctionRegistry in interface org.hibernate.query.spi.QueryEngine
    • getCriteriaBuilder

      public org.hibernate.query.sqm.NodeBuilder getCriteriaBuilder()
      Specified by:
      getCriteriaBuilder in interface EntityManagerFactory
      Specified by:
      getCriteriaBuilder in interface org.hibernate.query.spi.QueryEngine
      Specified by:
      getCriteriaBuilder in interface org.hibernate.SessionFactory
      Specified by:
      getCriteriaBuilder in interface org.hibernate.engine.spi.SessionFactoryImplementor
    • validateNamedQueries

      public void validateNamedQueries()
      Specified by:
      validateNamedQueries in interface org.hibernate.query.spi.QueryEngine
    • getNamedObjectRepository

      public org.hibernate.query.named.NamedObjectRepository getNamedObjectRepository()
      Specified by:
      getNamedObjectRepository in interface org.hibernate.query.spi.QueryEngine
    • getHqlTranslator

      public org.hibernate.query.hql.HqlTranslator getHqlTranslator()
      Specified by:
      getHqlTranslator in interface org.hibernate.query.spi.QueryEngine
    • getSqmTranslatorFactory

      public org.hibernate.query.sqm.sql.SqmTranslatorFactory getSqmTranslatorFactory()
      Specified by:
      getSqmTranslatorFactory in interface org.hibernate.query.spi.QueryEngine
    • getQueryEngine

      public org.hibernate.query.spi.QueryEngine getQueryEngine()
      Specified by:
      getQueryEngine in interface org.hibernate.engine.spi.SessionFactoryImplementor
      Specified by:
      getQueryEngine in interface org.hibernate.query.sqm.spi.SqmCreationContext
    • getJpaMetamodel

      public org.hibernate.metamodel.model.domain.spi.JpaMetamodelImplementor getJpaMetamodel()
      Specified by:
      getJpaMetamodel in interface org.hibernate.query.sqm.spi.SqmCreationContext
    • getMappingMetamodel

      public org.hibernate.metamodel.spi.MappingMetamodelImplementor getMappingMetamodel()
      Specified by:
      getMappingMetamodel in interface org.hibernate.query.spi.QueryParameterBindingTypeResolver
      Specified by:
      getMappingMetamodel in interface org.hibernate.engine.spi.SessionFactoryImplementor
      Specified by:
      getMappingMetamodel in interface org.hibernate.sql.ast.spi.SqlAstCreationContext
    • getRuntimeMetamodels

      public org.hibernate.metamodel.spi.RuntimeMetamodelsImplementor getRuntimeMetamodels()
      Specified by:
      getRuntimeMetamodels in interface org.hibernate.engine.spi.SessionFactoryImplementor
    • isClosed

      public boolean isClosed()
      Specified by:
      isClosed in interface org.hibernate.SessionFactory
    • getJpaCompliance

      public org.hibernate.jpa.spi.MutableJpaCompliance getJpaCompliance()
      Specified by:
      getJpaCompliance in interface org.hibernate.boot.spi.BootstrapContext
      Specified by:
      getJpaCompliance in interface org.hibernate.query.spi.QueryEngineOptions
      Specified by:
      getJpaCompliance in interface org.hibernate.boot.spi.SessionFactoryOptions
    • getSessionFactoryName

      public String getSessionFactoryName()
      Specified by:
      getSessionFactoryName in interface org.hibernate.boot.spi.SessionFactoryOptions
    • getUuid

      public String getUuid()
      Specified by:
      getUuid in interface org.hibernate.engine.spi.SessionFactoryImplementor
      Specified by:
      getUuid in interface org.hibernate.boot.spi.SessionFactoryOptions
    • getSessionFactoryObservers

      public org.hibernate.SessionFactoryObserver[] getSessionFactoryObservers()
      Specified by:
      getSessionFactoryObservers in interface org.hibernate.boot.spi.SessionFactoryOptions
    • getEntityNameResolvers

      public org.hibernate.EntityNameResolver[] getEntityNameResolvers()
      Specified by:
      getEntityNameResolvers in interface org.hibernate.boot.spi.SessionFactoryOptions
    • getBatchFetchStyle

      public org.hibernate.loader.BatchFetchStyle getBatchFetchStyle()
      Specified by:
      getBatchFetchStyle in interface org.hibernate.boot.spi.SessionFactoryOptions
    • isDelayBatchFetchLoaderCreationsEnabled

      public boolean isDelayBatchFetchLoaderCreationsEnabled()
      Specified by:
      isDelayBatchFetchLoaderCreationsEnabled in interface org.hibernate.boot.spi.SessionFactoryOptions
    • getMaximumFetchDepth

      public Integer getMaximumFetchDepth()
      Specified by:
      getMaximumFetchDepth in interface org.hibernate.boot.spi.SessionFactoryOptions
      Specified by:
      getMaximumFetchDepth in interface org.hibernate.sql.ast.spi.SqlAstCreationContext
    • setCheckNullability

      public void setCheckNullability(boolean enabled)
      Specified by:
      setCheckNullability in interface org.hibernate.boot.spi.SessionFactoryOptions
    • getDialect

      public org.hibernate.dialect.Dialect getDialect()
      Specified by:
      getDialect in interface org.hibernate.boot.model.FunctionContributions
      Specified by:
      getDialect in interface org.hibernate.type.descriptor.jdbc.JdbcTypeIndicators
      Specified by:
      getDialect in interface org.hibernate.metamodel.spi.RuntimeModelCreationContext
    • getPreferredSqlTypeCodeForBoolean

      public int getPreferredSqlTypeCodeForBoolean()
      Specified by:
      getPreferredSqlTypeCodeForBoolean in interface org.hibernate.type.descriptor.jdbc.JdbcTypeIndicators
      Specified by:
      getPreferredSqlTypeCodeForBoolean in interface org.hibernate.boot.spi.MetadataBuildingContext
      Specified by:
      getPreferredSqlTypeCodeForBoolean in interface org.hibernate.boot.spi.SessionFactoryOptions
    • getPreferredSqlTypeCodeForDuration

      public int getPreferredSqlTypeCodeForDuration()
      Specified by:
      getPreferredSqlTypeCodeForDuration in interface org.hibernate.type.descriptor.jdbc.JdbcTypeIndicators
      Specified by:
      getPreferredSqlTypeCodeForDuration in interface org.hibernate.boot.spi.MetadataBuildingContext
      Specified by:
      getPreferredSqlTypeCodeForDuration in interface org.hibernate.boot.spi.SessionFactoryOptions
    • getPreferredSqlTypeCodeForUuid

      public int getPreferredSqlTypeCodeForUuid()
      Specified by:
      getPreferredSqlTypeCodeForUuid in interface org.hibernate.type.descriptor.jdbc.JdbcTypeIndicators
      Specified by:
      getPreferredSqlTypeCodeForUuid in interface org.hibernate.boot.spi.MetadataBuildingContext
      Specified by:
      getPreferredSqlTypeCodeForUuid in interface org.hibernate.boot.spi.SessionFactoryOptions
    • getPreferredSqlTypeCodeForInstant

      public int getPreferredSqlTypeCodeForInstant()
      Specified by:
      getPreferredSqlTypeCodeForInstant in interface org.hibernate.type.descriptor.jdbc.JdbcTypeIndicators
      Specified by:
      getPreferredSqlTypeCodeForInstant in interface org.hibernate.boot.spi.MetadataBuildingContext
      Specified by:
      getPreferredSqlTypeCodeForInstant in interface org.hibernate.boot.spi.SessionFactoryOptions
    • getPreferredSqlTypeCodeForArray

      public int getPreferredSqlTypeCodeForArray()
      Specified by:
      getPreferredSqlTypeCodeForArray in interface org.hibernate.type.descriptor.jdbc.JdbcTypeIndicators
      Specified by:
      getPreferredSqlTypeCodeForArray in interface org.hibernate.boot.spi.MetadataBuildingContext
      Specified by:
      getPreferredSqlTypeCodeForArray in interface org.hibernate.boot.spi.SessionFactoryOptions
    • getSessionFactory

      public org.hibernate.engine.spi.SessionFactoryImplementor getSessionFactory()
      Specified by:
      getSessionFactory in interface org.hibernate.persister.spi.PersisterCreationContext
      Specified by:
      getSessionFactory in interface org.hibernate.metamodel.spi.RuntimeModelCreationContext
      Specified by:
      getSessionFactory in interface org.hibernate.engine.spi.SessionFactoryImplementor
      Specified by:
      getSessionFactory in interface org.hibernate.sql.ast.spi.SqlAstCreationContext
    • getBootstrapContext

      public org.hibernate.boot.spi.BootstrapContext getBootstrapContext()
      Specified by:
      getBootstrapContext in interface org.hibernate.boot.spi.MetadataBuildingContext
      Specified by:
      getBootstrapContext in interface org.hibernate.persister.spi.PersisterCreationContext
      Specified by:
      getBootstrapContext in interface org.hibernate.metamodel.spi.RuntimeModelCreationContext
    • getBootModel

      public org.hibernate.boot.spi.MetadataImplementor getBootModel()
      Specified by:
      getBootModel in interface org.hibernate.metamodel.spi.RuntimeModelCreationContext
    • getDomainModel

      public org.hibernate.metamodel.spi.MappingMetamodelImplementor getDomainModel()
      Specified by:
      getDomainModel in interface org.hibernate.metamodel.spi.RuntimeModelCreationContext
    • getFunctionRegistry

      public org.hibernate.query.sqm.function.SqmFunctionRegistry getFunctionRegistry()
      Specified by:
      getFunctionRegistry in interface org.hibernate.boot.spi.BootstrapContext
      Specified by:
      getFunctionRegistry in interface org.hibernate.boot.model.FunctionContributions
      Specified by:
      getFunctionRegistry in interface org.hibernate.metamodel.spi.RuntimeModelCreationContext
    • getSettings

      public Map<String,Object> getSettings()
      Specified by:
      getSettings in interface org.hibernate.metamodel.spi.RuntimeModelCreationContext
    • getSqlStringGenerationContext

      public org.hibernate.boot.model.relational.SqlStringGenerationContext getSqlStringGenerationContext()
      Specified by:
      getSqlStringGenerationContext in interface org.hibernate.metamodel.spi.RuntimeModelCreationContext
      Specified by:
      getSqlStringGenerationContext in interface org.hibernate.engine.spi.SessionFactoryImplementor
    • getIdentifierGeneratorFactory

      public org.hibernate.id.factory.IdentifierGeneratorFactory getIdentifierGeneratorFactory()
      Specified by:
      getIdentifierGeneratorFactory in interface org.hibernate.boot.spi.BootstrapContext
      Specified by:
      getIdentifierGeneratorFactory in interface org.hibernate.boot.spi.MetadataBuildingOptions
    • getMappingDefaults

      public org.hibernate.boot.spi.MappingDefaults getMappingDefaults()
      Specified by:
      getMappingDefaults in interface org.hibernate.boot.spi.MetadataBuildingContext
      Specified by:
      getMappingDefaults in interface org.hibernate.boot.spi.MetadataBuildingOptions
    • getDefaultTimeZoneStorageStrategy

      public org.hibernate.TimeZoneStorageStrategy getDefaultTimeZoneStorageStrategy()
      Specified by:
      getDefaultTimeZoneStorageStrategy in interface org.hibernate.type.descriptor.jdbc.JdbcTypeIndicators
      Specified by:
      getDefaultTimeZoneStorageStrategy in interface org.hibernate.boot.spi.SessionFactoryOptions