类 OverrideConfiguration

java.lang.Object
org.hibernate.cfg.Configuration
org.beangle.orm.hibernate.internal.OverrideConfiguration
所有已实现的接口:
Serializable

public class OverrideConfiguration extends org.hibernate.cfg.Configuration
Provide schema reconfig and overriderable class mapping in sessionFactory
从以下版本开始:
2.1
作者:
chaostone
另请参阅:
  • 嵌套类概要

    嵌套类
    修饰符和类型
    说明
    protected class 
     

    从类继承的嵌套类/接口 org.hibernate.cfg.Configuration

    org.hibernate.cfg.Configuration.MappingsImpl, org.hibernate.cfg.Configuration.MetadataSourceQueue
  • 字段概要

    从类继承的字段 org.hibernate.cfg.Configuration

    ARTEFACT_PROCESSING_ORDER, auxiliaryDatabaseObjects, classes, collections, columnNameBindingPerTable, DEFAULT_ARTEFACT_PROCESSING_ORDER, DEFAULT_CACHE_CONCURRENCY_STRATEGY, extendsQueue, fetchProfiles, filterDefinitions, imports, metadataSourceQueue, namedQueries, namedSqlQueries, propertyReferences, secondPasses, settingsFactory, sqlFunctions, sqlResultSetMappings, tableNameBinding, tables, typeDefs, USE_NEW_ID_GENERATOR_MAPPINGS, xmlHelper
  • 构造器概要

    构造器
    构造器
    说明
     
    OverrideConfiguration(org.hibernate.cfg.SettingsFactory settingsFactory)
     
  • 方法概要

    修饰符和类型
    方法
    说明
    org.hibernate.cfg.Mappings
     
    protected org.hibernate.cfg.Configuration
    doConfigure(InputStream stream, String resourceName)
    Just disable xml file validation.
    Speed up boostrap
    int
     
    protected void
    Update persistentclass and collection's schema.
    Remove duplicated persistentClass register in classes map.
    void
    setDynaupdateMinColumn(int dynaupdateMinColumn)
     

    从类继承的方法 org.hibernate.cfg.Configuration

    add, addAnnotatedClass, addAuxiliaryDatabaseObject, addCacheableFile, addCacheableFile, addCacheableFileStrictly, addClass, addDirectory, addDocument, addFetchProfile, addFile, addFile, addFilterDefinition, addInputStream, addJar, addPackage, addProperties, addResource, addResource, addSqlFunction, addURL, addXML, buildMapping, buildMappings, buildSessionFactory, buildSessionFactory, buildSettings, buildSettings, configure, configure, configure, configure, configure, doConfigure, findPossibleExtends, generateDropSchemaScript, generateSchemaCreationScript, generateSchemaUpdateScript, generateSchemaUpdateScriptList, getClassMapping, getClassMappings, getCollectionMapping, getCollectionMappings, getConfigurationInputStream, getCurrentTenantIdentifierResolver, getEntityNotFoundDelegate, getEntityResolver, getEntityTuplizerFactory, getFilterDefinitions, getIdentifierGeneratorFactory, getImports, getInterceptor, getMappedSuperclassMappings, getNamedQueries, getNamedSQLQueries, getNamingStrategy, getNamingStrategyDelegator, getProperties, getProperty, getReflectionManager, getSessionFactoryObserver, getSqlFunctions, getSqlResultSetMappings, getTableMappings, getTypeResolver, iterateFetchProfiles, mergeProperties, registerTypeContributor, registerTypeOverride, registerTypeOverride, registerTypeOverride, reset, secondPassCompileForeignKeys, setCacheConcurrencyStrategy, setCacheConcurrencyStrategy, setCacheConcurrencyStrategy, setCollectionCacheConcurrencyStrategy, setCollectionCacheConcurrencyStrategy, setCurrentTenantIdentifierResolver, setEntityNotFoundDelegate, setEntityResolver, setInterceptor, setNamingStrategy, setNamingStrategyDelegator, setPrecedence, setProperties, setProperty, setSessionFactoryObserver, validateSchema

    从类继承的方法 java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 构造器详细资料

    • OverrideConfiguration

      public OverrideConfiguration()
    • OverrideConfiguration

      public OverrideConfiguration(org.hibernate.cfg.SettingsFactory settingsFactory)
  • 方法详细资料

    • doConfigure

      protected org.hibernate.cfg.Configuration doConfigure(InputStream stream, String resourceName) throws org.hibernate.HibernateException
      Just disable xml file validation.
      Speed up boostrap
      覆盖:
      doConfigure 在类中 org.hibernate.cfg.Configuration
      抛出:
      org.hibernate.HibernateException
    • createMappings

      public org.hibernate.cfg.Mappings createMappings()
      覆盖:
      createMappings 在类中 org.hibernate.cfg.Configuration
    • secondPassCompile

      protected void secondPassCompile() throws org.hibernate.MappingException
      Update persistentclass and collection's schema.
      Remove duplicated persistentClass register in classes map.
      覆盖:
      secondPassCompile 在类中 org.hibernate.cfg.Configuration
      抛出:
      org.hibernate.MappingException
      另请参阅:
      • Configuration.addClass(Class)
    • getDynaupdateMinColumn

      public int getDynaupdateMinColumn()
    • setDynaupdateMinColumn

      public void setDynaupdateMinColumn(int dynaupdateMinColumn)