public class CustomConfiguration
extends org.hibernate.cfg.Configuration
Modifier and Type | Field and Description |
---|---|
private static long |
serialVersionUID |
ARTEFACT_PROCESSING_ORDER, auxiliaryDatabaseObjects, classes, collections, columnNameBindingPerTable, DEFAULT_ARTEFACT_PROCESSING_ORDER, DEFAULT_CACHE_CONCURRENCY_STRATEGY, extendsQueue, fetchProfiles, filterDefinitions, imports, metadataSourceQueue, namedEntityGraphMap, namedProcedureCallMap, namedQueries, namedSqlQueries, namingStrategy, propertyReferences, secondPasses, settingsFactory, sqlFunctions, sqlResultSetMappings, tableNameBinding, tables, typeDefs, USE_NEW_ID_GENERATOR_MAPPINGS, xmlHelper
Constructor and Description |
---|
CustomConfiguration() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
checkTable(org.hibernate.mapping.Table table,
org.hibernate.tool.hbm2ddl.DatabaseMetadata m) |
protected List<String> |
generateAuxiliaryDatabaseObjectDropScript(org.hibernate.dialect.Dialect d,
String c,
String s) |
protected List<String> |
generateConstraintDropScript(org.hibernate.dialect.Dialect d,
String c,
String s,
org.hibernate.tool.hbm2ddl.DatabaseMetadata m) |
String[] |
generateDropSchemaScript(org.hibernate.dialect.Dialect d,
org.hibernate.tool.hbm2ddl.DatabaseMetadata m)
Based on
Configuration.generateDropSchemaScript(Dialect)
. |
protected List<String> |
generateIdentifierGeneratorDropScript(org.hibernate.dialect.Dialect d,
String c,
String s,
org.hibernate.tool.hbm2ddl.DatabaseMetadata m) |
protected List<String> |
generateTableDropScript(org.hibernate.dialect.Dialect d,
String c,
String s,
org.hibernate.tool.hbm2ddl.DatabaseMetadata m) |
private Iterator<org.hibernate.id.PersistentIdentifierGenerator> |
iterateGenerators(org.hibernate.dialect.Dialect d,
String c,
String s)
Copied from
Configuration.iterateGenerators(Dialect) . |
add, addAnnotatedClass, addAttributeConverter, addAttributeConverter, addAttributeConverter, addAttributeConverter, addAttributeConverter, 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, createMappings, doConfigure, doConfigure, findPossibleExtends, generateDropSchemaScript, generateSchemaCreationScript, generateSchemaUpdateScript, generateSchemaUpdateScriptList, getClassMapping, getClassMappings, getCollectionMapping, getCollectionMappings, getConfigurationInputStream, getCurrentTenantIdentifierResolver, getEntityNotFoundDelegate, getEntityResolver, getEntityTuplizerFactory, getFilterDefinitions, getIdentifierGeneratorFactory, getImports, getInterceptor, getJaccPermissionDeclarations, getMappedSuperclassMappings, getMappedSuperclassMappingsCopy, getNamedEntityGraphs, getNamedProcedureCallMap, getNamedQueries, getNamedSQLQueries, getNamingStrategy, getProperties, getProperty, getReflectionManager, getSessionFactoryObserver, getSqlFunctions, getSqlResultSetMappings, getTableMappings, getTypeResolver, iterateFetchProfiles, iterateGenerators, mergeProperties, registerTypeContributor, registerTypeOverride, registerTypeOverride, registerTypeOverride, reset, secondPassCompile, secondPassCompileForeignKeys, setCacheConcurrencyStrategy, setCacheConcurrencyStrategy, setCacheConcurrencyStrategy, setCollectionCacheConcurrencyStrategy, setCollectionCacheConcurrencyStrategy, setCurrentTenantIdentifierResolver, setEntityNotFoundDelegate, setEntityResolver, setInterceptor, setNamingStrategy, setPrecedence, setProperties, setProperty, setSessionFactoryObserver, validateSchema
private static final long serialVersionUID
public String[] generateDropSchemaScript(org.hibernate.dialect.Dialect d, org.hibernate.tool.hbm2ddl.DatabaseMetadata m) throws org.hibernate.HibernateException
Configuration.generateDropSchemaScript(Dialect)
. Rewritten to only create drop commands for existing tables/sequences.d
- m
- org.hibernate.HibernateException
private Iterator<org.hibernate.id.PersistentIdentifierGenerator> iterateGenerators(org.hibernate.dialect.Dialect d, String c, String s) throws org.hibernate.MappingException
Configuration.iterateGenerators(Dialect)
.org.hibernate.MappingException
protected List<String> generateConstraintDropScript(org.hibernate.dialect.Dialect d, String c, String s, org.hibernate.tool.hbm2ddl.DatabaseMetadata m) throws org.hibernate.HibernateException
org.hibernate.HibernateException
protected List<String> generateTableDropScript(org.hibernate.dialect.Dialect d, String c, String s, org.hibernate.tool.hbm2ddl.DatabaseMetadata m) throws org.hibernate.HibernateException
org.hibernate.HibernateException
protected boolean checkTable(org.hibernate.mapping.Table table, org.hibernate.tool.hbm2ddl.DatabaseMetadata m)
protected List<String> generateAuxiliaryDatabaseObjectDropScript(org.hibernate.dialect.Dialect d, String c, String s)
protected List<String> generateIdentifierGeneratorDropScript(org.hibernate.dialect.Dialect d, String c, String s, org.hibernate.tool.hbm2ddl.DatabaseMetadata m) throws org.hibernate.MappingException, org.hibernate.HibernateException
org.hibernate.MappingException
org.hibernate.HibernateException
Copyright © 2012-2015 52north.org. All Rights Reserved.