public class HibernateClassicDatabase extends HibernateDatabase
| Modifier and Type | Field and Description |
|---|---|
protected org.hibernate.cfg.Configuration |
configuration |
DEFAULT_SCHEMA, dialect, LOGcaseSensitive, currentDateTimeFunction, dateFunctions, defaultAutoIncrementBy, defaultAutoIncrementStartWith, defaultCatalogName, defaultSchemaName, quotingStrategy, sequenceCurrentValueFunction, sequenceNextValueFunction, unmodifiableDataTypes, unquotedObjectsAreUppercased| Constructor and Description |
|---|
HibernateClassicDatabase() |
| Modifier and Type | Method and Description |
|---|---|
protected org.hibernate.boot.Metadata |
buildMetadataFromPath()
Called by
HibernateDatabase.buildMetadata() when a CustomMetadataFactory is not configured. |
protected void |
configureSources(org.hibernate.boot.MetadataSources sources)
Adds any implementation-specific sources to the given
MetadataSources |
protected String |
findDialectName()
Called by
HibernateDatabase.createMetadataSources() to determine the correct dialect name based on url parameters, configuration files, etc. |
protected String |
getDefaultDatabaseProductName() |
String |
getShortName() |
boolean |
isCorrectDatabaseImplementation(liquibase.database.DatabaseConnection conn) |
afterSetup, buildMetadata, configureImplicitNamingStrategy, configureMetadataBuilder, configureNewIdentifierGeneratorSupport, configurePhysicalNamingStrategy, createMetadataSources, createsIndexesForForeignKeys, getConnectionCatalogName, getConnectionSchemaName, getDefaultCatalogName, getDefaultDriver, getDefaultPort, getDefaultSchemaName, getDialect, getHibernateConnection, getMetadata, getPriority, getProperty, isCaseSensitive, isSafeToRunUpdate, requiresPassword, requiresUsername, setConnection, supportsCatalogs, supportsInitiallyDeferrableColumns, supportsSchemas, supportsTablespacesaddReservedWords, canCreateChangeLogTable, close, commit, correctObjectName, correctSchema, correctSchema, dataTypeIsNotModifiable, disableForeignKeyChecks, doesTagExist, dropDatabaseObjects, enableForeignKeyChecks, equals, escapeColumnName, escapeColumnName, escapeColumnNameList, escapeConstraintName, escapeDataTypeName, escapeIndexName, escapeObjectName, escapeObjectName, escapeSequenceName, escapeStringForDatabase, escapeTableName, escapeViewName, execute, executeRollbackStatements, executeRollbackStatements, executeStatements, filterRollbackVisitors, generateAutoIncrementBy, generateAutoIncrementStartWith, generateDatabaseFunctionValue, generatePrimaryKeyName, get, getAutoCommitMode, getAutoIncrementByClause, getAutoIncrementClause, getAutoIncrementClause, getAutoIncrementClause, getAutoIncrementClosing, getAutoIncrementOpening, getAutoIncrementStartWithClause, getConcatSql, getConnection, getConnectionSchemaNameCallStatement, getContainingObjects, getCurrentDateTimeFunction, getDatabaseChangeLogLockTableName, getDatabaseChangeLogTableName, getDatabaseMajorVersion, getDatabaseMinorVersion, getDatabaseProductName, getDatabaseProductVersion, getDataTypeMaxParameters, getDateFunctions, getDateLiteral, getDateLiteral, getDateLiteral, getDateTimeLiteral, getDefaultFractionalDigitsForTimestamp, getDefaultScaleForNativeDataType, getDefaultSchema, getFetchSize, getJdbcCatalogName, getJdbcCatalogName, getJdbcSchemaName, getJdbcSchemaName, getLineComment, getLiquibaseCatalogName, getLiquibaseSchemaName, getLiquibaseTablespaceName, getMaxFractionalDigitsForTimestamp, getName, getObjectQuotingStrategy, getOutputDefaultCatalog, getOutputDefaultSchema, getQuotingEndCharacter, getQuotingEndReplacement, getQuotingStartCharacter, getRanChangeSet, getRanChangeSetList, getRanDate, getRunStatus, getSchemaAndCatalogCase, getSchemaFromJdbcInfo, getSystemSchema, getSystemTables, getSystemViews, getTimeLiteral, getViewDefinition, hashCode, isAutoCommit, isDateOnly, isDateTime, isDefaultCatalog, isDefaultSchema, isFunction, isLiquibaseObject, isReservedWord, isSystemObject, isSystemView, isTimeOnly, isTimestamp, jdbcCallsCatalogsSchemas, markChangeSetExecStatus, mustQuoteObjectName, parseDate, quoteObject, removeRanStatus, requiresExplicitNullForColumns, resetInternalState, rollback, saveRollbackStatement, saveStatements, set, setAutoCommit, setCanCacheLiquibaseTableInfo, setCaseSensitive, setCurrentDateTimeFunction, setDatabaseChangeLogLockTableName, setDatabaseChangeLogTableName, setDefaultCatalogName, setDefaultSchemaName, setLiquibaseCatalogName, setLiquibaseSchemaName, setLiquibaseTablespaceName, setObjectQuotingStrategy, setOutputDefaultCatalog, setOutputDefaultSchema, startsWithNumeric, supportsAutoIncrement, supportsBatchUpdates, supportsCatalogInObjectName, supportsDDLInTransaction, supportsDropTableCascadeConstraints, supportsForeignKeyDisable, supportsNotNullConstraintNames, supportsPrimaryKeyNames, supportsRestrictForeignKeys, supportsSequences, tag, toString, unescapeDataTypeName, unescapeDataTypeString, validatepublic boolean isCorrectDatabaseImplementation(liquibase.database.DatabaseConnection conn)
throws liquibase.exception.DatabaseException
liquibase.exception.DatabaseExceptionprotected String findDialectName()
HibernateDatabaseHibernateDatabase.createMetadataSources() to determine the correct dialect name based on url parameters, configuration files, etc.findDialectName in class HibernateDatabaseprotected org.hibernate.boot.Metadata buildMetadataFromPath()
throws liquibase.exception.DatabaseException
HibernateDatabaseHibernateDatabase.buildMetadata() when a CustomMetadataFactory is not configured.
Default implementation passes the results of HibernateDatabase.createMetadataSources() to HibernateDatabase.configureSources(MetadataSources) and then calls HibernateDatabase.configureMetadataBuilder(MetadataBuilder)
but this method can be overridden with any provider-specific implementations needed.buildMetadataFromPath in class HibernateDatabaseliquibase.exception.DatabaseExceptionprotected void configureSources(org.hibernate.boot.MetadataSources sources)
throws liquibase.exception.DatabaseException
HibernateDatabaseMetadataSourcesconfigureSources in class HibernateDatabaseliquibase.exception.DatabaseExceptionpublic String getShortName()
protected String getDefaultDatabaseProductName()
getDefaultDatabaseProductName in class liquibase.database.AbstractJdbcDatabaseCopyright © 2020 Liquibase.org. All rights reserved.