Uses of Interface
liquibase.database.Database
Package
Description
Liquibase top level namespace package.
The change package contains the available database "changes".
Technically, a Change expresses an intention for alter the structure of the Database.
Although Liquibase tries to provide a wide range of database refactorings, there are times you may want to create
your own custom refactoring class.
-
Uses of Database in liquibase
Modifier and TypeFieldDescriptionprotected Database
Liquibase.database
Returns the Database used by this Liquibase instance.Modifier and TypeMethodDescriptionReturns a new CatalogAndSchema object with null/default catalog and schema names set to the correct default catalog and schema.Liquibase.diff
(Database referenceDatabase, Database targetDatabase, CompareControl compareControl) boolean
CatalogAndSchema.equals
(CatalogAndSchema catalogAndSchema, Database accordingTo) CatalogAndSchema.standardize
(Database accordingTo) This method returns a new CatalogAndSchema adjusted based on the configuration of the passed database.ModifierConstructorDescriptionLiquibase
(String changeLogFile, ResourceAccessor resourceAccessor, Database database) Creates a Liquibase instance.Liquibase
(DatabaseChangeLog changeLog, ResourceAccessor resourceAccessor, Database database) RuntimeEnvironment
(Database targetDatabase, Contexts contexts, LabelExpression labelExpression) -
Uses of Database in liquibase.change
Modifier and TypeMethodDescriptionAbstractChange.checkStatus
(Database database) AbstractSQLChange.checkStatus
(Database database) Change.checkStatus
(Database database) Validate that this change executed successfully against the given database.AbstractChange.generateRollbackStatements
(Database database) Implementation relies on value returned fromAbstractChange.createInverses()
.Change.generateRollbackStatements
(Database database) Generates theSqlStatement
objects that would roll back the change.boolean
AbstractChange.generateRollbackStatementsVolatile
(Database database) Implementation delegates logic to theSqlGenerator.generateRollbackStatementsIsVolatile(Database)
method on theSqlStatement
objects returned byChange.generateStatements(liquibase.database.Database)
If no or null SqlStatements are returned by generateRollbackStatements then this method returns false.boolean
AbstractSQLChange.generateRollbackStatementsVolatile
(Database database) boolean
Change.generateRollbackStatementsVolatile
(Database database) Returns true if this change reads data from the database or other sources that would change during the course of an update in theChange.generateRollbackStatements(Database)
method.AbstractSQLChange.generateStatements
(Database database) Generates one or more SqlStatements depending on how the SQL should be parsed.Change.generateStatements
(Database database) Generates theSqlStatement
objects required to run the change for the given database.boolean
AbstractChange.generateStatementsVolatile
(Database database) Implementation delegates logic to theSqlGenerator.generateStatementsIsVolatile(Database)
method on theSqlStatement
objects returned byChange.generateStatements(liquibase.database.Database)
.boolean
AbstractSQLChange.generateStatementsVolatile
(Database database) boolean
Change.generateStatementsVolatile
(Database database) Returns true if this change reads data from the database or other sources that would change during the course of an update in theChange.generateStatements(Database)
method.AbstractChange.getAffectedDatabaseObjects
(Database database) Implementation delegates logic to theSqlGeneratorFactory.getAffectedDatabaseObjects(liquibase.statement.SqlStatement, liquibase.database.Database)
method on theSqlStatement
objects returned byChange.generateStatements(liquibase.database.Database)
Returns empty set if change is not supported for the passed databaseChange.getAffectedDatabaseObjects
(Database database) Returns exampleDatabaseObject
instances describing the objects affected by this change.ChangeParameterMetaData.getExampleValue
(Database database) ChangeMetaData.getOptionalParameters
(Database database) Returns the optional parameters for this change for the given database.ChangeMetaData.getRequiredParameters
(Database database) Returns the required parameters for this change for the given database.boolean
ChangeParameterMetaData.isRequiredFor
(Database database) A convenience method for testing the value returned byChangeParameterMetaData.getRequiredForDatabase()
against a given database.boolean
AbstractChange.shouldExecuteChange
(Database database) Return if this change should executeboolean
Implementation delegates logic to theSqlGenerator.supports(liquibase.statement.SqlStatement, liquibase.database.Database)
method on theSqlStatement
objects returned byChange.generateStatements(liquibase.database.Database)
.boolean
Implementation delegates logic to theSqlGenerator.supports(liquibase.statement.SqlStatement, liquibase.database.Database)
method on theSqlStatement
objects returned byChange.generateStatements(liquibase.database.Database)
.boolean
Return true if this Change object supports the passed database.boolean
boolean
AbstractChange.supportsRollback
(Database database) Implementation returns true ifAbstractChange.createInverses()
returns a non-null value.boolean
Change.supportsRollback
(Database database) Returns true if this can change be rolled back for the given database.Implementation checks the ChangeParameterMetaData for declared required fields and also delegates logic to theSqlGenerator.validate(liquibase.statement.SqlStatement, liquibase.database.Database, liquibase.sqlgenerator.SqlGeneratorChain)
method on theSqlStatement
objects returned byChange.generateStatements(liquibase.database.Database)
.Generate errors based on the configured Change instance.Implementation delegates logic to theSqlGenerator.warn(liquibase.statement.SqlStatement, liquibase.database.Database, liquibase.sqlgenerator.SqlGeneratorChain)
method on theSqlStatement
objects returned byChange.generateStatements(liquibase.database.Database)
.Generates warnings based on the configured Change instance. -
Uses of Database in liquibase.change.core
Modifier and TypeMethodDescriptionAddAutoIncrementChange.checkStatus
(Database database) AddColumnChange.checkStatus
(Database database) AddDefaultValueChange.checkStatus
(Database database) AddForeignKeyConstraintChange.checkStatus
(Database database) AddLookupTableChange.checkStatus
(Database database) AddPrimaryKeyChange.checkStatus
(Database database) AddUniqueConstraintChange.checkStatus
(Database database) AlterSequenceChange.checkStatus
(Database database) CreateIndexChange.checkStatus
(Database database) CreateProcedureChange.checkStatus
(Database database) CreateSequenceChange.checkStatus
(Database database) CreateTableChange.checkStatus
(Database database) CreateViewChange.checkStatus
(Database database) DropColumnChange.checkStatus
(Database database) DropDefaultValueChange.checkStatus
(Database database) DropForeignKeyConstraintChange.checkStatus
(Database database) DropIndexChange.checkStatus
(Database database) DropNotNullConstraintChange.checkStatus
(Database database) DropPrimaryKeyChange.checkStatus
(Database database) DropSequenceChange.checkStatus
(Database database) DropTableChange.checkStatus
(Database database) DropUniqueConstraintChange.checkStatus
(Database database) DropViewChange.checkStatus
(Database database) InsertDataChange.checkStatus
(Database database) LoadDataChange.checkStatus
(Database database) LoadUpdateDataChange.checkStatus
(Database database) RenameColumnChange.checkStatus
(Database database) RenameTableChange.checkStatus
(Database database) RenameViewChange.checkStatus
(Database database) TagDatabaseChange.checkStatus
(Database database) UpdateDataChange.checkStatus
(Database database) ExecuteShellCommandChange.createFinalCommandArray
(Database database) protected ExecutablePreparedStatementBase
LoadDataChange.createPreparedStatement
(Database database, String catalogName, String schemaName, String tableName, List<LoadDataColumnConfig> columns, ChangeSet changeSet, ResourceAccessor resourceAccessor) protected ExecutablePreparedStatementBase
LoadUpdateDataChange.createPreparedStatement
(Database database, String catalogName, String schemaName, String tableName, List<LoadDataColumnConfig> columns, ChangeSet changeSet, ResourceAccessor resourceAccessor) protected ProcessBuilder
ExecuteShellCommandChange.createProcessBuilder
(Database database) static boolean
CreateProcedureChange.databaseSupportsReplaceIfExists
(Database database) protected void
ExecuteShellCommandChange.executeCommand
(Database database) LoadUpdateDataChange.generateRollbackStatements
(Database database) boolean
CreateProcedureChange.generateRollbackStatementsVolatile
(Database database) boolean
ExecuteShellCommandChange.generateRollbackStatementsVolatile
(Database database) boolean
LoadDataChange.generateRollbackStatementsVolatile
(Database database) boolean
SQLFileChange.generateRollbackStatementsVolatile
(Database database) AddAutoIncrementChange.generateStatements
(Database database) AddColumnChange.generateStatements
(Database database) AddDefaultValueChange.generateStatements
(Database database) AddForeignKeyConstraintChange.generateStatements
(Database database) AddLookupTableChange.generateStatements
(Database database) AddNotNullConstraintChange.generateStatements
(Database database) AddPrimaryKeyChange.generateStatements
(Database database) AddUniqueConstraintChange.generateStatements
(Database database) AlterSequenceChange.generateStatements
(Database database) CreateIndexChange.generateStatements
(Database database) protected SqlStatement[]
CreateProcedureChange.generateStatements
(String logicText, String endDelimiter, Database database) CreateProcedureChange.generateStatements
(Database database) CreateSequenceChange.generateStatements
(Database database) CreateTableChange.generateStatements
(Database database) CreateViewChange.generateStatements
(Database database) DeleteDataChange.generateStatements
(Database database) DropAllForeignKeyConstraintsChange.generateStatements
(Database database) DropColumnChange.generateStatements
(Database database) DropDefaultValueChange.generateStatements
(Database database) DropForeignKeyConstraintChange.generateStatements
(Database database) DropIndexChange.generateStatements
(Database database) DropNotNullConstraintChange.generateStatements
(Database database) DropPrimaryKeyChange.generateStatements
(Database database) DropProcedureChange.generateStatements
(Database database) DropSequenceChange.generateStatements
(Database database) DropTableChange.generateStatements
(Database database) DropUniqueConstraintChange.generateStatements
(Database database) DropViewChange.generateStatements
(Database database) EmptyChange.generateStatements
(Database database) ExecuteShellCommandChange.generateStatements
(Database database) InsertDataChange.generateStatements
(Database database) LoadDataChange.generateStatements
(Database database) MergeColumnChange.generateStatements
(Database database) ModifyDataTypeChange.generateStatements
(Database database) OutputChange.generateStatements
(Database database) RenameColumnChange.generateStatements
(Database database) RenameSequenceChange.generateStatements
(Database database) RenameTableChange.generateStatements
(Database database) RenameViewChange.generateStatements
(Database database) SetColumnRemarksChange.generateStatements
(Database database) SetTableRemarksChange.generateStatements
(Database database) StopChange.generateStatements
(Database database) TagDatabaseChange.generateStatements
(Database database) Generates theSqlStatement
objects required to run the change for the given database.UpdateDataChange.generateStatements
(Database database) protected SqlStatement[]
LoadDataChange.generateStatementsFromRows
(Database database, List<LoadDataChange.LoadDataRowConfig> rows) boolean
CreateProcedureChange.generateStatementsVolatile
(Database database) boolean
CreateViewChange.generateStatementsVolatile
(Database database) boolean
DropAllForeignKeyConstraintsChange.generateStatementsVolatile
(Database database) boolean
DropColumnChange.generateStatementsVolatile
(Database database) boolean
DropPrimaryKeyChange.generateStatementsVolatile
(Database database) boolean
ExecuteShellCommandChange.generateStatementsVolatile
(Database database) boolean
LoadDataChange.generateStatementsVolatile
(Database database) boolean
MergeColumnChange.generateStatementsVolatile
(Database database) boolean
SQLFileChange.generateStatementsVolatile
(Database database) boolean
StopChange.generateStatementsVolatile
(Database database) protected void
ExecuteShellCommandChange.processResult
(int returnCode, String errorStreamOut, String infoStreamOut, Database database) Called byExecuteShellCommandChange.executeCommand(Database)
after running the command.boolean
boolean
boolean
boolean
boolean
protected boolean
LoadDataChange.supportsBatchUpdates
(Database database) -
Uses of Database in liquibase.change.custom
Modifier and TypeMethodDescriptionvoid
Runs the change logic for this custom change.CustomChangeWrapper.generateRollbackStatements
(Database database) Finishes configuring the CustomChange based on the values passed toCustomChangeWrapper.setParam(String, String)
then callsCustomSqlRollback.generateRollbackStatements(liquibase.database.Database)
orCustomTaskRollback.rollback(liquibase.database.Database)
depending on the CustomChange implementation.CustomSqlRollback.generateRollbackStatements
(Database database) Generates the SQL statements required to roll back the changeCustomChangeWrapper.generateStatements
(Database database) Finishes configuring the CustomChange based on the values passed toCustomChangeWrapper.setParam(String, String)
then callsCustomSqlChange.generateStatements(liquibase.database.Database)
orCustomTaskChange.execute(liquibase.database.Database)
depending on the CustomChange implementation.CustomSqlChange.generateStatements
(Database database) Generates the SQL statements required to run the changeboolean
CustomChangeWrapper.generateStatementsVolatile
(Database database) void
Method called to rollback the change.boolean
CustomChangeWrapper.supportsRollback
(Database database) Returns true if the customChange supports rolling back.Tests that the change is configured correctly before attempting to execute it.Call theCustomChange.validate(liquibase.database.Database)
method and return the result.Required for the Change interface, but not supported by CustomChanges. -
Uses of Database in liquibase.changelog
Modifier and TypeMethodDescriptionChangeSet.execute
(DatabaseChangeLog databaseChangeLog, ChangeExecListener listener, Database database) This method will actually execute each of the changes in the list against the specified database.ChangeSet.execute
(DatabaseChangeLog databaseChangeLog, Database database) ChangeLogHistoryServiceFactory.getChangeLogService
(Database database) boolean
FastCheckService.isUpToDateFastCheck
(List<ChangeSetFilter> changesetFilters, Database database, DatabaseChangeLog databaseChangeLog, Contexts contexts, LabelExpression labelExpression) Performs check of the historyService to determine if there is no unrun changesets without obtaining an exclusive write lock.StandardChangeLogHistoryService.queryDatabaseChangeLogTable
(Database database) void
void
ChangeSet.rollback
(Database database, ChangeExecListener listener) void
AbstractChangeLogHistoryService.setDatabase
(Database database) void
ChangeLogHistoryService.setDatabase
(Database database) void
MockChangeLogHistoryService.setDatabase
(Database database) boolean
boolean
boolean
boolean
boolean
ChangeSet.supportsRollback
(Database database) void
void
DatabaseChangeLog.validate
(Database database, Contexts contexts, LabelExpression labelExpression) ModifierConstructorDescriptionChangeLogParameters
(Database database) Creates a new ChangeLogParameters instance, populated with a set of "database.*" global parameters based on the passed database configuration.OfflineChangeLogHistoryService
(Database database, File changeLogFile, boolean executeDmlAgainstDatabase, boolean executeDdlAgainstDatabase) -
Uses of Database in liquibase.changelog.filter
ModifierConstructorDescriptionDbmsChangeSetFilter
(Database database) ShouldRunChangeSetFilter
(Database database) ShouldRunChangeSetFilter
(Database database, boolean ignoreClasspathPrefix) -
Uses of Database in liquibase.changelog.visitor
Modifier and TypeMethodDescriptionprotected void
ValidatingVisitor.additionalValidations
(ChangeSet changeSet, Database database, boolean shouldValidate, boolean ran) Other implementations of this class might optionally provide additional validations to do in this method.protected void
UpdateVisitor.fireRan
(ChangeSet changeSet, DatabaseChangeLog databaseChangeLog, Database database2, ChangeSet.ExecType execType) protected void
RollbackVisitor.fireRollbackFailed
(ChangeSet changeSet, DatabaseChangeLog databaseChangeLog, Database database, Exception e) protected void
UpdateVisitor.fireRunFailed
(ChangeSet changeSet, DatabaseChangeLog databaseChangeLog, Database database, MigrationFailedException e) protected void
UpdateVisitor.fireWillRun
(ChangeSet changeSet, DatabaseChangeLog databaseChangeLog, Database database2, ChangeSet.RunStatus runStatus) void
ChangeLogSyncListener.markedRan
(ChangeSet changeSet, DatabaseChangeLog databaseChangeLog, Database database) void
DefaultChangeExecListener.markedRan
(ChangeSet changeSet, DatabaseChangeLog databaseChangeLog, Database database) default void
ChangeLogSyncListener.markedRanFailed
(ChangeSet changeSet, DatabaseChangeLog databaseChangeLog, Database database, Exception e) void
AbstractChangeExecListener.ran
(Change change, ChangeSet changeSet, DatabaseChangeLog changeLog, Database database) void
AbstractChangeExecListener.ran
(ChangeSet changeSet, DatabaseChangeLog databaseChangeLog, Database database, ChangeSet.ExecType execType) void
ChangeExecListener.ran
(Change change, ChangeSet changeSet, DatabaseChangeLog changeLog, Database database) void
ChangeExecListener.ran
(ChangeSet changeSet, DatabaseChangeLog databaseChangeLog, Database database, ChangeSet.ExecType execType) Called after the given changeset is run.void
DefaultChangeExecListener.ran
(Change change, ChangeSet changeSet, DatabaseChangeLog changeLog, Database database) void
DefaultChangeExecListener.ran
(ChangeSet changeSet, DatabaseChangeLog databaseChangeLog, Database database, ChangeSet.ExecType execType) void
LoggingChangeExecListener.ran
(ChangeSet changeSet, DatabaseChangeLog databaseChangeLog, Database database, ChangeSet.ExecType execType) void
AbstractChangeExecListener.rollbackFailed
(ChangeSet changeSet, DatabaseChangeLog databaseChangeLog, Database database, Exception e) Called when there is a rollback failurevoid
ChangeExecListener.rollbackFailed
(ChangeSet changeSet, DatabaseChangeLog databaseChangeLog, Database database, Exception exception) void
DefaultChangeExecListener.rollbackFailed
(ChangeSet changeSet, DatabaseChangeLog databaseChangeLog, Database database, Exception exception) void
LoggingChangeExecListener.rollbackFailed
(ChangeSet changeSet, DatabaseChangeLog databaseChangeLog, Database database, Exception e) Called when there is a rollback failurevoid
AbstractChangeExecListener.rolledBack
(ChangeSet changeSet, DatabaseChangeLog databaseChangeLog, Database database) void
ChangeExecListener.rolledBack
(ChangeSet changeSet, DatabaseChangeLog databaseChangeLog, Database database) Called after a change is rolled back.void
DefaultChangeExecListener.rolledBack
(ChangeSet changeSet, DatabaseChangeLog databaseChangeLog, Database database) void
LoggingChangeExecListener.rolledBack
(ChangeSet changeSet, DatabaseChangeLog databaseChangeLog, Database database) void
AbstractChangeExecListener.runFailed
(ChangeSet changeSet, DatabaseChangeLog databaseChangeLog, Database database, Exception exception) void
ChangeExecListener.runFailed
(ChangeSet changeSet, DatabaseChangeLog databaseChangeLog, Database database, Exception exception) void
DefaultChangeExecListener.runFailed
(ChangeSet changeSet, DatabaseChangeLog databaseChangeLog, Database database, Exception exception) void
SkippedChangeSetVisitor.skipped
(ChangeSet changeSet, DatabaseChangeLog databaseChangeLog, Database database, Set<ChangeSetFilterResult> filterResults) void
StatusVisitor.skipped
(ChangeSet changeSet, DatabaseChangeLog databaseChangeLog, Database database, Set<ChangeSetFilterResult> filterResults) void
ValidatingVisitor.validate
(Database database, DatabaseChangeLog changeLog) protected void
ValidatingVisitor.validateChange
(ChangeSet changeSet, Database database, Change change, boolean shouldValidate) void
ChangeLogSyncVisitor.visit
(ChangeSet changeSet, DatabaseChangeLog databaseChangeLog, Database database, Set<ChangeSetFilterResult> filterResults) void
ChangeSetVisitor.visit
(ChangeSet changeSet, DatabaseChangeLog databaseChangeLog, Database database, Set<ChangeSetFilterResult> filterResults) void
DBDocVisitor.visit
(ChangeSet changeSet, DatabaseChangeLog databaseChangeLog, Database database, Set<ChangeSetFilterResult> filterResults) void
DetermineNumberChangesFollowingVisitor.visit
(ChangeSet changeSet, DatabaseChangeLog databaseChangeLog, Database database, Set<ChangeSetFilterResult> filterResults) void
ExpectedChangesVisitor.visit
(ChangeSet changeSet, DatabaseChangeLog databaseChangeLog, Database database, Set<ChangeSetFilterResult> filterResults) void
ListVisitor.visit
(ChangeSet changeSet, DatabaseChangeLog databaseChangeLog, Database database, Set<ChangeSetFilterResult> filterResults) void
RollbackVisitor.visit
(ChangeSet changeSet, DatabaseChangeLog databaseChangeLog, Database database, Set<ChangeSetFilterResult> filterResults) void
StatusVisitor.visit
(ChangeSet changeSet, DatabaseChangeLog databaseChangeLog, Database database, Set<ChangeSetFilterResult> filterResults) void
UpdateVisitor.visit
(ChangeSet changeSet, DatabaseChangeLog databaseChangeLog, Database database, Set<ChangeSetFilterResult> filterResults) void
ValidatingVisitor.visit
(ChangeSet changeSet, DatabaseChangeLog databaseChangeLog, Database database, Set<ChangeSetFilterResult> filterResults) void
AbstractChangeExecListener.willRollback
(ChangeSet changeSet, DatabaseChangeLog databaseChangeLog, Database database) Called before a change is rolled back.void
ChangeExecListener.willRollback
(ChangeSet changeSet, DatabaseChangeLog databaseChangeLog, Database database) Called before a change is rolled back.void
DefaultChangeExecListener.willRollback
(ChangeSet changeSet, DatabaseChangeLog databaseChangeLog, Database database) void
LoggingChangeExecListener.willRollback
(ChangeSet changeSet, DatabaseChangeLog databaseChangeLog, Database database) Called before a change is rolled back.void
AbstractChangeExecListener.willRun
(Change change, ChangeSet changeSet, DatabaseChangeLog changeLog, Database database) void
AbstractChangeExecListener.willRun
(ChangeSet changeSet, DatabaseChangeLog databaseChangeLog, Database database, ChangeSet.RunStatus runStatus) void
ChangeExecListener.willRun
(Change change, ChangeSet changeSet, DatabaseChangeLog changeLog, Database database) void
ChangeExecListener.willRun
(ChangeSet changeSet, DatabaseChangeLog databaseChangeLog, Database database, ChangeSet.RunStatus runStatus) Called just before a given changeset is run.void
DefaultChangeExecListener.willRun
(Change change, ChangeSet changeSet, DatabaseChangeLog changeLog, Database database) void
DefaultChangeExecListener.willRun
(ChangeSet changeSet, DatabaseChangeLog databaseChangeLog, Database database, ChangeSet.RunStatus runStatus) void
LoggingChangeExecListener.willRun
(ChangeSet changeSet, DatabaseChangeLog databaseChangeLog, Database database, ChangeSet.RunStatus runStatus) ModifierConstructorDescriptionChangeLogSyncVisitor
(Database database) ChangeLogSyncVisitor
(Database database, ChangeLogSyncListener listener) DBDocVisitor
(Database database) RollbackVisitor
(Database database) Deprecated.- please use the constructor with ChangeExecListener, which can be null.RollbackVisitor
(Database database, ChangeExecListener listener) RollbackVisitor
(Database database, ChangeExecListener listener, List<ChangeSet> processedChangesets) StatusVisitor
(Database database) UpdateVisitor
(Database database) Deprecated.- please use the constructor with ChangeExecListener, which can be null.UpdateVisitor
(Database database, ChangeExecListener execListener) UpdateVisitor
(Database database, ChangeExecListener execListener, ShouldRunChangeSetFilter shouldRunChangeSetFilter) -
Uses of Database in liquibase.command.core
Modifier and TypeFieldDescriptionstatic final CommandArgumentDefinition<Database>
InternalSnapshotCommandStep.DATABASE_ARG
Modifier and TypeMethodDescriptionHistoryCommand.getDatabase()
Deprecated.SnapshotCommand.getDatabase()
Deprecated.DiffCommand.getReferenceDatabase()
Deprecated.DiffCommand.getTargetDatabase()
Deprecated.Modifier and TypeMethodDescriptionprotected SnapshotControl
SnapshotCommandStep.createSnapshotControl
(CommandScope commandScope, Database database) protected SnapshotControl
SnapshotReferenceCommandStep.createSnapshotControl
(CommandScope commandScope, Database database) static void
AbstractRollbackCommandStep.doRollback
(Database database, String changelogFile, String rollbackScript, ChangeLogIterator logIterator, ChangeLogParameters changeLogParameters, DatabaseChangeLog databaseChangeLog, ChangeExecListener changeExecListener) Actually perform the rollback operation.static void
AbstractRollbackCommandStep.doRollback
(Database database, String changelogFile, String rollbackScript, ChangeLogIterator logIterator, ChangeLogParameters changeLogParameters, DatabaseChangeLog databaseChangeLog, ChangeExecListener changeExecListener, RollbackReportParameters rollbackReportParameters) Actually perform the rollback operation.protected void
AbstractFutureRollbackCommandStep.futureRollbackSQL
(Integer count, String tag, Contexts contexts, LabelExpression labelExpression, Writer output, Database database, DatabaseChangeLog changeLog, ChangeExecListener changeExecListener) DropAllCommandStep.getSnapshotControl
(CommandScope commandScope, Database database) AbstractUpdateCommandStep.getStandardChangelogIterator
(CommandScope commandScope, Database database, Contexts contexts, LabelExpression labelExpression, DatabaseChangeLog changeLog) protected ChangeLogIterator
StatusCommandStep.getStandardChangelogIterator
(Contexts contexts, LabelExpression labelExpression, DatabaseChangeLog changeLog, Database database) UpdateCountCommandStep.getStandardChangelogIterator
(CommandScope commandScope, Database database, Contexts contexts, LabelExpression labelExpression, DatabaseChangeLog databaseChangeLog) UpdateToTagCommandStep.getStandardChangelogIterator
(CommandScope commandScope, Database database, Contexts contexts, LabelExpression labelExpression, DatabaseChangeLog changeLog) protected List<ChangeSetFilter>
AbstractUpdateCommandStep.getStandardChangelogIteratorFilters
(Database database, Contexts contexts, LabelExpression labelExpression) AbstractUpdateCommandStep.getStatusChangelogIterator
(CommandScope commandScope, Database database, Contexts contexts, LabelExpression labelExpression, DatabaseChangeLog changeLog) UpdateCountCommandStep.getStatusChangelogIterator
(CommandScope commandScope, Database database, Contexts contexts, LabelExpression labelExpression, DatabaseChangeLog databaseChangeLog) UpdateToTagCommandStep.getStatusChangelogIterator
(CommandScope commandScope, Database database, Contexts contexts, LabelExpression labelExpression, DatabaseChangeLog changeLog) static void
ListLocksCommandStep.initializeChangelogService
(Database database) boolean
AbstractUpdateCommandStep.isUpToDate
(CommandScope commandScope, Database database, DatabaseChangeLog databaseChangeLog, Contexts contexts, LabelExpression labelExpression, OutputStream outputStream) Checks if the database is up-to-date.static DatabaseChangeLogLock[]
Display change log lock information.static Collection<RanChangeSet>
UnexpectedChangesetsCommandStep.listUnexpectedChangeSets
(Database database, DatabaseChangeLog changeLog, Contexts contexts, LabelExpression labelExpression) StatusCommandStep.listUnrunChangeSets
(Contexts contexts, LabelExpression labels, DatabaseChangeLog changeLog, Database database) static void
InternalSnapshotCommandStep.logUnsupportedDatabase
(Database database, Class callingClass) static CatalogAndSchema[]
InternalSnapshotCommandStep.parseSchemas
(Database database, String... schemas) static void
ListLocksCommandStep.reportLocks
(PrintStream out, Database database) void
HistoryCommand.setDatabase
(Database database) Deprecated.void
SnapshotCommand.setDatabase
(Database database) Deprecated.DiffCommand.setReferenceDatabase
(Database referenceDatabase) Deprecated.DiffCommand.setTargetDatabase
(Database targetDatabase) Deprecated. -
Uses of Database in liquibase.command.core.helpers
Modifier and TypeFieldDescriptionstatic final CommandArgumentDefinition<Database>
DbUrlConnectionArgumentsCommandStep.DATABASE_ARG
static final CommandArgumentDefinition<Database>
DbUrlConnectionCommandStep.DATABASE_ARG
Deprecated.This field is retained for backwards compatibility.static final CommandArgumentDefinition<Database>
ReferenceDbUrlConnectionCommandStep.REFERENCE_DATABASE_ARG
Modifier and TypeMethodDescriptionprotected Database
AbstractDatabaseConnectionCommandStep.createDatabaseObject
(String url, String username, String password, String defaultSchemaName, String defaultCatalogName, String driver, String driverPropertiesFile, String liquibaseCatalogName, String liquibaseSchemaName) DbUrlConnectionCommandStep.obtainDatabase
(CommandScope commandScope) Try to retrieve and set the database object from the command scope, otherwise creates a new one .Modifier and TypeMethodDescriptionstatic DatabaseChangeLog
DatabaseChangelogCommandStep.getDatabaseChangeLog
(String changeLogFile, ChangeLogParameters changeLogParameters, Database database) static void
-
Uses of Database in liquibase.common.datatype
Modifier and TypeMethodDescriptionint
DataTypeWrapper.getMaxParameters
(Database database) int
DataTypeWrapper.getMinParameters
(Database database) DataTypeWrapper.objectToSql
(Object value, Database database) DataTypeWrapper.stringToObject
(String value, Database database) boolean
DataTypeWrapper.toDatabaseDataType
(Database database) boolean
-
Uses of Database in liquibase.database
Modifier and TypeClassDescriptionclass
AbstractJdbcDatabase is extended by all supported databases as a facade to the underlying database.Modifier and TypeMethodDescriptionDatabaseFactory.findCorrectDatabaseImplementation
(DatabaseConnection connection) DatabaseFactory.getDatabase
(String shortName) DatabaseFactory.openDatabase
(String url, String username, String password, String driver, String databaseClass, String driverPropertiesFile, String propertyProviderClass, ResourceAccessor resourceAccessor) DatabaseFactory.openDatabase
(String url, String username, String driver, String databaseClass, Properties driverProperties, ResourceAccessor resourceAccessor) DatabaseFactory.openDatabase
(String url, String username, String password, String propertyProviderClass, ResourceAccessor resourceAccessor) Modifier and TypeMethodDescriptionDatabaseFactory.getImplementedDatabases()
Returns instances of all implemented database types.DatabaseFactory.getInternalDatabases()
Returns instances of all "internal" database types.Modifier and TypeMethodDescriptionvoid
void
void
protected ChangeLogHistoryService
OfflineConnection.createChangeLogHistoryService
(Database database) static boolean
DatabaseList.definitionMatches
(String definition, Database database, boolean returnValueIfEmpty) static boolean
DatabaseList.definitionMatches
(Collection<String> definition, Database database, boolean returnValueIfEmptyList) void
void
void
LiquibaseTableNames.getLiquibaseGeneratedTableNames
(Database database) Given a database, return a list of Liquibase generated tables.StandardLiquibaseTableNames.getLiquibaseGeneratedTableNames
(Database database) LiquibaseTableNamesFactory.getLiquibaseTableNames
(Database database) boolean
OfflineConnection.isCorrectDatabaseImplementation
(Database database) void
-
Uses of Database in liquibase.database.core
Modifier and TypeClassDescriptionclass
class
class
class
class
class
class
Firebird database implementation.class
class
class
class
Created by martoccia.i on 19/10/2016.class
Encapsulates MySQL database support.class
A DBMS that effectively does nothing, but it is useful for tests where everything should work in the same way for all databases.class
Encapsulates MS-SQL database support.class
Encapsulates MySQL database support.class
Encapsulates Oracle database support.class
Encapsulates PostgreSQL database support.class
class
class
Support for SAP (formerly: Sybase) AS (Adapter Server) Anywhere embedded/mobile database.class
Encapsulates Sybase ASE database support.class
Modifier and TypeMethodDescriptionboolean
MockDatabase.equals
(DatabaseObject otherObject, Database accordingTo) static Sql[]
SQLiteDatabase.getAlterTableSqls
(Database database, SQLiteDatabase.AlterTableVisitor alterTableVisitor, String catalogName, String schemaName, String tableName) Uses theSqlGeneratorFactory
to generate SQL statements for altering the specified table in the given database.static List<SqlStatement>
SQLiteDatabase.getAlterTableStatements
(SQLiteDatabase.AlterTableVisitor alterTableVisitor, Database database, String catalogName, String schemaName, String tableName) static void
DatabaseUtils.initializeDatabase
(String defaultCatalogName, String defaultSchemaName, Database database) Executes RawParameterizedSqlStatement particular to each database engine to set the default schema for the given Database -
Uses of Database in liquibase.database.jvm
-
Uses of Database in liquibase.datatype
Modifier and TypeMethodDescriptionDataTypeFactory.from
(DatabaseDataType type, Database database) DataTypeFactory.fromDescription
(String dataTypeDefinition, Database database) Translates a column data type definition (e.g. varchar(255), java.sql.Types.NVARCHAR(10), VARCHAR2(255 BYTE)... ) into a normalized data type in object form.DataTypeFactory.fromObject
(Object object, Database database) protected String
LiquibaseDataType.functionToSql
(DatabaseFunction function, Database database) DataTypeFactory.getFalseBooleanValue
(Database database) int
LiquibaseDataType.getMaxParameters
(Database database) int
LiquibaseDataType.getMinParameters
(Database database) DataTypeFactory.getTrueBooleanValue
(Database database) protected boolean
LiquibaseDataType.isCurrentDateTimeFunction
(String string, Database database) Determines if the given function name refers to the function that returns the current time and date for a specific DBMS.protected String
LiquibaseDataType.numberToSql
(Number number, Database database) LiquibaseDataType.objectToSql
(Object value, Database database) Returns the value object in a format to include in SQL.protected String
LiquibaseDataType.otherToSql
(Object value, Database database) LiquibaseDataType.sqlToObject
(String value, Database database) boolean
LiquibaseDataType.toDatabaseDataType
(Database database) Transforms this data type into the native data type of the target DBMS.boolean
Validates the correct state of this data type against a given database. -
Uses of Database in liquibase.datatype.core
Modifier and TypeMethodDescriptionprotected DateFormat
DateType.getDateFormat
(Database database) protected DateFormat
DateTimeType.getDateTimeFormat
(Database database) BooleanType.getFalseBooleanValue
(Database database) The database-specific value to use for "false" "boolean" columns.protected DateFormat
TimeType.getTimeFormat
(Database database) BooleanType.getTrueBooleanValue
(Database database) The database-specific value to use for "true" "boolean" columns.protected boolean
BooleanType.isNumericBoolean
(Database database) BigIntType.objectToSql
(Object value, Database database) BlobType.objectToSql
(Object value, Database database) BooleanType.objectToSql
(Object value, Database database) CharType.objectToSql
(Object value, Database database) ClobType.objectToSql
(Object value, Database database) DatabaseFunctionType.objectToSql
(Object value, Database database) DateTimeType.objectToSql
(Object value, Database database) DateType.objectToSql
(Object value, Database database) IntType.objectToSql
(Object value, Database database) MediumIntType.objectToSql
(Object value, Database database) SmallIntType.objectToSql
(Object value, Database database) TimeType.objectToSql
(Object value, Database database) TinyIntType.objectToSql
(Object value, Database database) UnknownType.objectToSql
(Object value, Database database) protected String
UUIDType.otherToSql
(Object value, Database database) protected String
XMLType.otherToSql
(Object value, Database database) DateTimeType.sqlToObject
(String value, Database database) DateType.sqlToObject
(String value, Database database) TimeType.sqlToObject
(String value, Database database) boolean
boolean
boolean
boolean
boolean
BigIntType.toDatabaseDataType
(Database database) BinaryTypeSnowflake.toDatabaseDataType
(Database database) BlobType.toDatabaseDataType
(Database database) BooleanType.toDatabaseDataType
(Database database) CharType.toDatabaseDataType
(Database database) ClobType.toDatabaseDataType
(Database database) ClobTypeSnowflake.toDatabaseDataType
(Database database) CurrencyType.toDatabaseDataType
(Database database) DateTimeType.toDatabaseDataType
(Database database) DateType.toDatabaseDataType
(Database database) DecimalType.toDatabaseDataType
(Database database) DoubleDataTypeSnowflake.toDatabaseDataType
(Database database) DoubleType.toDatabaseDataType
(Database database) FloatType.toDatabaseDataType
(Database database) IntType.toDatabaseDataType
(Database database) MediumIntType.toDatabaseDataType
(Database database) NCharType.toDatabaseDataType
(Database database) NumberType.toDatabaseDataType
(Database database) NVarcharType.toDatabaseDataType
(Database database) SmallIntType.toDatabaseDataType
(Database database) TextDataTypeSnowflake.toDatabaseDataType
(Database database) TimestampNTZTypeSnowflake.toDatabaseDataType
(Database database) TimestampType.toDatabaseDataType
(Database database) Returns a DBMS-specific String representation of this TimestampType for use in SQL statements.TimeType.toDatabaseDataType
(Database database) TinyIntType.toDatabaseDataType
(Database database) UnknownType.toDatabaseDataType
(Database database) UUIDType.toDatabaseDataType
(Database database) VarcharType.toDatabaseDataType
(Database database) XMLType.toDatabaseDataType
(Database database) -
Uses of Database in liquibase.dbdoc
Modifier and TypeMethodDescriptionprotected void
AuthorWriter.writeCustomHTML
(Writer fileWriter, Object object, List<Change> changes, Database database) protected void
ColumnWriter.writeCustomHTML
(Writer fileWriter, Object object, List<Change> changes, Database database) protected abstract void
HTMLWriter.writeCustomHTML
(Writer fileWriter, Object object, List<Change> changes, Database database) protected void
PendingChangesWriter.writeCustomHTML
(Writer fileWriter, Object object, List<Change> changes, Database database) protected void
PendingSQLWriter.writeCustomHTML
(Writer fileWriter, Object object, List<Change> changes, Database database) protected void
RecentChangesWriter.writeCustomHTML
(Writer fileWriter, Object object, List<Change> changes, Database database) protected void
TableWriter.writeCustomHTML
(Writer fileWriter, Object object, List<Change> changes, Database database) ModifierConstructorDescriptionAuthorWriter
(Resource rootOutputDir, Database database) ColumnWriter
(Resource rootOutputDir, Database database) HTMLWriter
(Resource outputDir, Database database) PendingChangesWriter
(Resource rootOutputDir, Database database) PendingSQLWriter
(Resource rootOutputDir, Database database, DatabaseChangeLog databaseChangeLog) RecentChangesWriter
(Resource rootOutputDir, Database database) TableWriter
(Resource rootOutputDir, Database database) -
Uses of Database in liquibase.diff
Modifier and TypeMethodDescriptionDiffGeneratorFactory.compare
(Database referenceDatabase, Database comparisonDatabase, CompareControl compareControl) DiffGeneratorFactory.compare
(Database referenceDatabase, Database comparisonDatabase, SnapshotControl referenceSnapshotControl, SnapshotControl comparisonSnapshotControl, CompareControl compareControl) DiffGeneratorFactory.getGenerator
(Database referenceDatabase, Database comparisonDatabase) boolean
ModifierConstructorDescriptionDatabaseObjectNameCompareFunction
(Class<? extends DatabaseObject> type, Database accordingTo) DataTypeCompareFunction
(Database accordingTo) StandardCompareFunction
(CompareControl.SchemaComparison[] schemaComparisons, Database accordingTo) -
Uses of Database in liquibase.diff.compare
Modifier and TypeMethodDescriptionCompareControl.computeSchemas
(String schemaNames, String referenceSchemaNames, String outputSchemaNames, String defaultCatalogName, String defaultSchemaName, String referenceDefaultCatalogName, String referenceDefaultSchemaName, Database database) DatabaseObjectComparator.findDifferences
(DatabaseObject databaseObject1, DatabaseObject databaseObject2, Database accordingTo, CompareControl compareControl, DatabaseObjectComparatorChain chain, Set<String> exclude) DatabaseObjectComparatorChain.findDifferences
(DatabaseObject object1, DatabaseObject object2, Database accordingTo, CompareControl compareControl, Set<String> exclude) DatabaseObjectComparatorFactory.findDifferences
(DatabaseObject object1, DatabaseObject object2, Database accordingTo, CompareControl compareControl) DatabaseObjectComparatorFactory.getComparator
(Class<? extends DatabaseObject> comparatorClass, Database database) protected List<DatabaseObjectComparator>
DatabaseObjectComparatorFactory.getComparators
(Class<? extends DatabaseObject> comparatorClass, Database database) int
DatabaseObjectComparator.getPriority
(Class<? extends DatabaseObject> objectType, Database database) String[]
DatabaseObjectComparator.hash
(DatabaseObject databaseObject, Database accordingTo, DatabaseObjectComparatorChain chain) String[]
DatabaseObjectComparatorChain.hash
(DatabaseObject object, Database accordingTo) String[]
DatabaseObjectComparatorFactory.hash
(DatabaseObject databaseObject, CompareControl.SchemaComparison[] schemaComparisons, Database accordingTo) boolean
DatabaseObjectComparator.isSameObject
(DatabaseObject databaseObject1, DatabaseObject databaseObject2, Database accordingTo, DatabaseObjectComparatorChain chain) boolean
DatabaseObjectComparatorChain.isSameObject
(DatabaseObject object1, DatabaseObject object2, Database accordingTo) boolean
DatabaseObjectComparatorFactory.isSameObject
(DatabaseObject object1, DatabaseObject object2, CompareControl.SchemaComparison[] schemaComparisons, Database accordingTo) -
Uses of Database in liquibase.diff.compare.core
Modifier and TypeMethodDescriptionstatic boolean
DefaultDatabaseObjectComparator.compareObjectNames
(Database accordingTo, String object1Name, String object2Name) protected boolean
CommonCatalogSchemaComparator.equalsSchemas
(Database accordingTo, String schemaName1, String schemaName2) CatalogComparator.findDifferences
(DatabaseObject databaseObject1, DatabaseObject databaseObject2, Database accordingTo, CompareControl compareControl, DatabaseObjectComparatorChain chain, Set<String> exclude) ColumnComparator.findDifferences
(DatabaseObject databaseObject1, DatabaseObject databaseObject2, Database accordingTo, CompareControl compareControl, DatabaseObjectComparatorChain chain, Set<String> exclude) DefaultDatabaseObjectComparator.findDifferences
(DatabaseObject databaseObject1, DatabaseObject databaseObject2, Database accordingTo, CompareControl compareControl, DatabaseObjectComparatorChain chain, Set<String> exclude) ForeignKeyComparator.findDifferences
(DatabaseObject databaseObject1, DatabaseObject databaseObject2, Database accordingTo, CompareControl compareControl, DatabaseObjectComparatorChain chain, Set<String> exclue) IndexComparator.findDifferences
(DatabaseObject databaseObject1, DatabaseObject databaseObject2, Database accordingTo, CompareControl compareControl, DatabaseObjectComparatorChain chain, Set<String> exclude) PrimaryKeyComparator.findDifferences
(DatabaseObject databaseObject1, DatabaseObject databaseObject2, Database accordingTo, CompareControl compareControl, DatabaseObjectComparatorChain chain, Set<String> exclude) SchemaComparator.findDifferences
(DatabaseObject databaseObject1, DatabaseObject databaseObject2, Database accordingTo, CompareControl compareControl, DatabaseObjectComparatorChain chain, Set<String> exclude) TableComparator.findDifferences
(DatabaseObject databaseObject1, DatabaseObject databaseObject2, Database accordingTo, CompareControl compareControl, DatabaseObjectComparatorChain chain, Set<String> exclude) UniqueConstraintComparator.findDifferences
(DatabaseObject databaseObject1, DatabaseObject databaseObject2, Database accordingTo, CompareControl compareControl, DatabaseObjectComparatorChain chain, Set<String> exclude) protected String
CommonCatalogSchemaComparator.getComparisonSchemaOrCatalog
(Database accordingTo, CompareControl.SchemaComparison comparison) int
CatalogComparator.getPriority
(Class<? extends DatabaseObject> objectType, Database database) int
ColumnComparator.getPriority
(Class<? extends DatabaseObject> objectType, Database database) int
DefaultDatabaseObjectComparator.getPriority
(Class<? extends DatabaseObject> objectType, Database database) int
ForeignKeyComparator.getPriority
(Class<? extends DatabaseObject> objectType, Database database) int
IndexComparator.getPriority
(Class<? extends DatabaseObject> objectType, Database database) int
PrimaryKeyComparator.getPriority
(Class<? extends DatabaseObject> objectType, Database database) int
SchemaComparator.getPriority
(Class<? extends DatabaseObject> objectType, Database database) int
TableComparator.getPriority
(Class<? extends DatabaseObject> objectType, Database database) int
UniqueConstraintComparator.getPriority
(Class<? extends DatabaseObject> objectType, Database database) protected String
CommonCatalogSchemaComparator.getReferenceSchemaOrCatalog
(Database accordingTo, CompareControl.SchemaComparison comparison) String[]
CatalogComparator.hash
(DatabaseObject databaseObject, Database accordingTo, DatabaseObjectComparatorChain chain) String[]
ColumnComparator.hash
(DatabaseObject databaseObject, Database accordingTo, DatabaseObjectComparatorChain chain) String[]
DefaultDatabaseObjectComparator.hash
(DatabaseObject databaseObject, Database accordingTo, DatabaseObjectComparatorChain chain) String[]
ForeignKeyComparator.hash
(DatabaseObject databaseObject, Database accordingTo, DatabaseObjectComparatorChain chain) String[]
IndexComparator.hash
(DatabaseObject databaseObject, Database accordingTo, DatabaseObjectComparatorChain chain) String[]
PrimaryKeyComparator.hash
(DatabaseObject databaseObject, Database accordingTo, DatabaseObjectComparatorChain chain) String[]
SchemaComparator.hash
(DatabaseObject databaseObject, Database accordingTo, DatabaseObjectComparatorChain chain) String[]
TableComparator.hash
(DatabaseObject databaseObject, Database accordingTo, DatabaseObjectComparatorChain chain) String[]
UniqueConstraintComparator.hash
(DatabaseObject databaseObject, Database accordingTo, DatabaseObjectComparatorChain chain) boolean
CatalogComparator.isSameObject
(DatabaseObject databaseObject1, DatabaseObject databaseObject2, Database accordingTo, DatabaseObjectComparatorChain chain) boolean
ColumnComparator.isSameObject
(DatabaseObject databaseObject1, DatabaseObject databaseObject2, Database accordingTo, DatabaseObjectComparatorChain chain) boolean
DefaultDatabaseObjectComparator.isSameObject
(DatabaseObject databaseObject1, DatabaseObject databaseObject2, Database accordingTo, DatabaseObjectComparatorChain chain) boolean
ForeignKeyComparator.isSameObject
(DatabaseObject databaseObject1, DatabaseObject databaseObject2, Database accordingTo, DatabaseObjectComparatorChain chain) boolean
IndexComparator.isSameObject
(DatabaseObject databaseObject1, DatabaseObject databaseObject2, Database accordingTo, DatabaseObjectComparatorChain chain) boolean
PrimaryKeyComparator.isSameObject
(DatabaseObject databaseObject1, DatabaseObject databaseObject2, Database accordingTo, DatabaseObjectComparatorChain chain) boolean
SchemaComparator.isSameObject
(DatabaseObject databaseObject1, DatabaseObject databaseObject2, Database accordingTo, DatabaseObjectComparatorChain chain) boolean
TableComparator.isSameObject
(DatabaseObject databaseObject1, DatabaseObject databaseObject2, Database accordingTo, DatabaseObjectComparatorChain chain) boolean
UniqueConstraintComparator.isSameObject
(DatabaseObject databaseObject1, DatabaseObject databaseObject2, Database accordingTo, DatabaseObjectComparatorChain chain) static boolean
DefaultDatabaseObjectComparator.nameMatches
(DatabaseObject databaseObject1, DatabaseObject databaseObject2, Database accordingTo) -
Uses of Database in liquibase.diff.core
-
Uses of Database in liquibase.diff.output
Modifier and TypeMethodDescriptionboolean
DiffOutputControl.alreadyHandledChanged
(DatabaseObject changedObject, Database accordingTo) boolean
DiffOutputControl.alreadyHandledMissing
(DatabaseObject missingObject, Database accordingTo) boolean
DiffOutputControl.alreadyHandledUnexpected
(DatabaseObject unexpectedObject, Database accordingTo) boolean
ObjectChangeFilter.includeChanged
(DatabaseObject object, ObjectDifferences differences, Database referenceDatabase, Database comparisionDatabase) boolean
StandardObjectChangeFilter.includeChanged
(DatabaseObject object, ObjectDifferences differences, Database referenceDatabase, Database comparisionDatabase) boolean
ObjectChangeFilter.includeMissing
(DatabaseObject object, Database referenceDatabase, Database comparisionDatabase) boolean
StandardObjectChangeFilter.includeMissing
(DatabaseObject object, Database referenceDatabase, Database comparisionDatabase) boolean
ObjectChangeFilter.includeUnexpected
(DatabaseObject object, Database referenceDatabase, Database comparisionDatabase) boolean
StandardObjectChangeFilter.includeUnexpected
(DatabaseObject object, Database referenceDatabase, Database comparisionDatabase) boolean
DiffOutputControl.shouldOutput
(DatabaseObject object, Database accordingTo) -
Uses of Database in liquibase.diff.output.changelog
Modifier and TypeMethodDescriptionprotected void
DiffToChangeLog.addDependencies
(DependencyUtil.DependencyGraph<String> graph, List<String> schemas, Database database) Adds dependencies to the graph as schema.object_name.Change[]
ChangedObjectChangeGenerator.fixChanged
(DatabaseObject changedObject, ObjectDifferences differences, DiffOutputControl control, Database referenceDatabase, Database comparisonDatabase, ChangeGeneratorChain chain) Change[]
ChangeGeneratorChain.fixChanged
(DatabaseObject changedObject, ObjectDifferences differences, DiffOutputControl control, Database referenceDatabase, Database comparisionDatabase) Change[]
ChangeGeneratorFactory.fixChanged
(DatabaseObject changedObject, ObjectDifferences differences, DiffOutputControl control, Database referenceDatabase, Database comparisionDatabase) Change[]
ChangeGeneratorChain.fixMissing
(DatabaseObject missingObject, DiffOutputControl control, Database referenceDatabase, Database comparisionDatabase) Change[]
ChangeGeneratorFactory.fixMissing
(DatabaseObject missingObject, DiffOutputControl control, Database referenceDatabase, Database comparisionDatabase) Change[]
MissingObjectChangeGenerator.fixMissing
(DatabaseObject missingObject, DiffOutputControl control, Database referenceDatabase, Database comparisonDatabase, ChangeGeneratorChain chain) Change[]
ChangeGeneratorChain.fixUnexpected
(DatabaseObject unexpectedObject, DiffOutputControl control, Database referenceDatabase, Database comparisionDatabase) Change[]
ChangeGeneratorFactory.fixUnexpected
(DatabaseObject unexpectedObject, DiffOutputControl control, Database referenceDatabase, Database comparisionDatabase) Change[]
UnexpectedObjectChangeGenerator.fixUnexpected
(DatabaseObject unexpectedObject, DiffOutputControl control, Database referenceDatabase, Database comparisonDatabase, ChangeGeneratorChain chain) protected SortedSet<ChangeGenerator>
ChangeGeneratorFactory.getGenerators
(Class<? extends ChangeGenerator> generatorType, Class<? extends DatabaseObject> objectType, Database database) int
ChangeGenerator.getPriority
(Class<? extends DatabaseObject> objectType, Database database) Set<Class<? extends DatabaseObject>>
ChangeGeneratorFactory.runAfterTypes
(Class<? extends DatabaseObject> objectType, Database database, Class<? extends ChangeGenerator> changeGeneratorType) Set<Class<? extends DatabaseObject>>
ChangeGeneratorFactory.runBeforeTypes
(Class<? extends DatabaseObject> objectType, Database database, Class<? extends ChangeGenerator> changeGeneratorType) protected boolean
DiffToChangeLog.supportsSortingObjects
(Database database) Used byDiffToChangeLog.sortMissingObjects(Collection, Database)
to determine whether to go into the sorting logic.ModifierConstructorDescriptionChangeGeneratorComparator
(Class<? extends DatabaseObject> objectType, Database database) -
Uses of Database in liquibase.diff.output.changelog.core
Modifier and TypeMethodDescriptionChange[]
ChangedColumnChangeGenerator.fixChanged
(DatabaseObject changedObject, ObjectDifferences differences, DiffOutputControl control, Database referenceDatabase, Database comparisonDatabase, ChangeGeneratorChain chain) Change[]
ChangedForeignKeyChangeGenerator.fixChanged
(DatabaseObject changedObject, ObjectDifferences differences, DiffOutputControl control, Database referenceDatabase, Database comparisonDatabase, ChangeGeneratorChain chain) Change[]
ChangedIndexChangeGenerator.fixChanged
(DatabaseObject changedObject, ObjectDifferences differences, DiffOutputControl control, Database referenceDatabase, Database comparisonDatabase, ChangeGeneratorChain chain) Change[]
ChangedPrimaryKeyChangeGenerator.fixChanged
(DatabaseObject changedObject, ObjectDifferences differences, DiffOutputControl control, Database referenceDatabase, Database comparisonDatabase, ChangeGeneratorChain chain) Change[]
ChangedSequenceChangeGenerator.fixChanged
(DatabaseObject changedObject, ObjectDifferences differences, DiffOutputControl control, Database referenceDatabase, Database comparisonDatabase, ChangeGeneratorChain chain) Change[]
ChangedSequenceChangeGeneratorSnowflake.fixChanged
(DatabaseObject changedObject, ObjectDifferences differences, DiffOutputControl control, Database referenceDatabase, Database comparisonDatabase, ChangeGeneratorChain chain) Change[]
ChangedTableChangeGenerator.fixChanged
(DatabaseObject changedObject, ObjectDifferences differences, DiffOutputControl control, Database referenceDatabase, Database comparisonDatabase, ChangeGeneratorChain chain) Change[]
ChangedUniqueConstraintChangeGenerator.fixChanged
(DatabaseObject changedObject, ObjectDifferences differences, DiffOutputControl control, Database referenceDatabase, Database comparisonDatabase, ChangeGeneratorChain chain) Change[]
ChangedViewChangeGenerator.fixChanged
(DatabaseObject changedObject, ObjectDifferences differences, DiffOutputControl control, Database referenceDatabase, Database comparisonDatabase, ChangeGeneratorChain chain) Change[]
MissingColumnChangeGenerator.fixMissing
(DatabaseObject missingObject, DiffOutputControl control, Database referenceDatabase, Database comparisonDatabase, ChangeGeneratorChain chain) Change[]
MissingDataChangeGenerator.fixMissing
(DatabaseObject missingObject, DiffOutputControl outputControl, Database referenceDatabase, Database comparisionDatabase, ChangeGeneratorChain chain) Change[]
MissingDataExternalFileChangeGenerator.fixMissing
(DatabaseObject missingObject, DiffOutputControl outputControl, Database referenceDatabase, Database comparisionDatabase, ChangeGeneratorChain chain) Change[]
MissingForeignKeyChangeGenerator.fixMissing
(DatabaseObject missingObject, DiffOutputControl control, Database referenceDatabase, Database comparisonDatabase, ChangeGeneratorChain chain) Change[]
MissingIndexChangeGenerator.fixMissing
(DatabaseObject missingObject, DiffOutputControl control, Database referenceDatabase, Database comparisonDatabase, ChangeGeneratorChain chain) Change[]
MissingPrimaryKeyChangeGenerator.fixMissing
(DatabaseObject missingObject, DiffOutputControl control, Database referenceDatabase, Database comparisonDatabase, ChangeGeneratorChain chain) Change[]
MissingSequenceChangeGenerator.fixMissing
(DatabaseObject missingObject, DiffOutputControl control, Database referenceDatabase, Database comparisonDatabase, ChangeGeneratorChain chain) Change[]
MissingSequenceChangeGeneratorSnowflake.fixMissing
(DatabaseObject missingObject, DiffOutputControl control, Database referenceDatabase, Database comparisonDatabase, ChangeGeneratorChain chain) Change[]
MissingTableChangeGenerator.fixMissing
(DatabaseObject missingObject, DiffOutputControl control, Database referenceDatabase, Database comparisonDatabase, ChangeGeneratorChain chain) Change[]
MissingUniqueConstraintChangeGenerator.fixMissing
(DatabaseObject missingObject, DiffOutputControl control, Database referenceDatabase, Database comparisonDatabase, ChangeGeneratorChain chain) Change[]
MissingViewChangeGenerator.fixMissing
(DatabaseObject missingObject, DiffOutputControl control, Database referenceDatabase, Database comparisonDatabase, ChangeGeneratorChain chain) Change[]
UnexpectedColumnChangeGenerator.fixUnexpected
(DatabaseObject unexpectedObject, DiffOutputControl control, Database referenceDatabase, Database comparisonDatabase, ChangeGeneratorChain chain) Change[]
UnexpectedForeignKeyChangeGenerator.fixUnexpected
(DatabaseObject unexpectedObject, DiffOutputControl control, Database referenceDatabase, Database comparisonDatabase, ChangeGeneratorChain chain) Change[]
UnexpectedIndexChangeGenerator.fixUnexpected
(DatabaseObject unexpectedObject, DiffOutputControl control, Database referenceDatabase, Database comparisonDatabase, ChangeGeneratorChain chain) Change[]
UnexpectedPrimaryKeyChangeGenerator.fixUnexpected
(DatabaseObject unexpectedObject, DiffOutputControl control, Database referenceDatabase, Database comparisonDatabase, ChangeGeneratorChain chain) Change[]
UnexpectedSequenceChangeGenerator.fixUnexpected
(DatabaseObject unexpectedObject, DiffOutputControl control, Database referenceDatabase, Database comparisonDatabase, ChangeGeneratorChain chain) Change[]
UnexpectedTableChangeGenerator.fixUnexpected
(DatabaseObject unexpectedObject, DiffOutputControl control, Database referenceDatabase, Database comparisonDatabase, ChangeGeneratorChain chain) Change[]
UnexpectedUniqueConstraintChangeGenerator.fixUnexpected
(DatabaseObject unexpectedObject, DiffOutputControl control, Database referenceDatabase, Database comparisonDatabase, ChangeGeneratorChain chain) Change[]
UnexpectedViewChangeGenerator.fixUnexpected
(DatabaseObject unexpectedObject, DiffOutputControl control, Database referenceDatabase, Database comparisonDatabase, ChangeGeneratorChain chain) int
ChangedColumnChangeGenerator.getPriority
(Class<? extends DatabaseObject> objectType, Database database) int
ChangedForeignKeyChangeGenerator.getPriority
(Class<? extends DatabaseObject> objectType, Database database) int
ChangedIndexChangeGenerator.getPriority
(Class<? extends DatabaseObject> objectType, Database database) int
ChangedPrimaryKeyChangeGenerator.getPriority
(Class<? extends DatabaseObject> objectType, Database database) int
ChangedSequenceChangeGenerator.getPriority
(Class<? extends DatabaseObject> objectType, Database database) int
ChangedSequenceChangeGeneratorSnowflake.getPriority
(Class<? extends DatabaseObject> objectType, Database database) int
ChangedTableChangeGenerator.getPriority
(Class<? extends DatabaseObject> objectType, Database database) int
ChangedUniqueConstraintChangeGenerator.getPriority
(Class<? extends DatabaseObject> objectType, Database database) int
ChangedViewChangeGenerator.getPriority
(Class<? extends DatabaseObject> objectType, Database database) int
MissingColumnChangeGenerator.getPriority
(Class<? extends DatabaseObject> objectType, Database database) int
MissingDataChangeGenerator.getPriority
(Class<? extends DatabaseObject> objectType, Database database) int
MissingDataExternalFileChangeGenerator.getPriority
(Class<? extends DatabaseObject> objectType, Database database) int
MissingForeignKeyChangeGenerator.getPriority
(Class<? extends DatabaseObject> objectType, Database database) int
MissingIndexChangeGenerator.getPriority
(Class<? extends DatabaseObject> objectType, Database database) int
MissingPrimaryKeyChangeGenerator.getPriority
(Class<? extends DatabaseObject> objectType, Database database) int
MissingSequenceChangeGenerator.getPriority
(Class<? extends DatabaseObject> objectType, Database database) int
MissingSequenceChangeGeneratorSnowflake.getPriority
(Class<? extends DatabaseObject> objectType, Database database) int
MissingTableChangeGenerator.getPriority
(Class<? extends DatabaseObject> objectType, Database database) int
MissingUniqueConstraintChangeGenerator.getPriority
(Class<? extends DatabaseObject> objectType, Database database) int
MissingViewChangeGenerator.getPriority
(Class<? extends DatabaseObject> objectType, Database database) int
UnexpectedColumnChangeGenerator.getPriority
(Class<? extends DatabaseObject> objectType, Database database) int
UnexpectedForeignKeyChangeGenerator.getPriority
(Class<? extends DatabaseObject> objectType, Database database) int
UnexpectedIndexChangeGenerator.getPriority
(Class<? extends DatabaseObject> objectType, Database database) int
UnexpectedPrimaryKeyChangeGenerator.getPriority
(Class<? extends DatabaseObject> objectType, Database database) int
UnexpectedSequenceChangeGenerator.getPriority
(Class<? extends DatabaseObject> objectType, Database database) int
UnexpectedTableChangeGenerator.getPriority
(Class<? extends DatabaseObject> objectType, Database database) int
UnexpectedUniqueConstraintChangeGenerator.getPriority
(Class<? extends DatabaseObject> objectType, Database database) int
UnexpectedViewChangeGenerator.getPriority
(Class<? extends DatabaseObject> objectType, Database database) protected void
ChangedColumnChangeGenerator.handleAutoIncrementDifferences
(Column column, ObjectDifferences differences, DiffOutputControl control, List<Change> changes, Database referenceDatabase, Database comparisonDatabase) protected void
ChangedColumnChangeGenerator.handleDefaultValueDifferences
(Column column, ObjectDifferences differences, DiffOutputControl control, List<Change> changes, Database referenceDatabase, Database comparisonDatabase) protected void
ChangedColumnChangeGenerator.handleNullableDifferences
(Column column, ObjectDifferences differences, DiffOutputControl control, List<Change> changes, Database referenceDatabase, Database comparisonDatabase) protected void
ChangedColumnChangeGenerator.handleTypeDifferences
(Column column, ObjectDifferences differences, DiffOutputControl control, List<Change> changes, Database referenceDatabase, Database comparisonDatabase) static void
MissingTableChangeGenerator.setDefaultValue
(ColumnConfig columnConfig, Column column, Database database) boolean
MissingTableChangeGenerator.shouldAddPrimarykeyToConstraints
(DatabaseObject missingObject, DiffOutputControl control, Database referenceDatabase, Database comparisonDatabase) -
Uses of Database in liquibase.exception
Modifier and TypeMethodDescriptionfinal void
ValidationErrors.checkDisallowedField
(String disallowedFieldName, Object value, Database database, Class<? extends Database>... disallowedDatabases) Checks if a field is forbidden in combination with a given Database (most often because that database does not implement the features required by the field/value combination).ModifierConstructorDescriptionChangeNotFoundException
(String name, Database database) DatabaseIncapableOfOperation
(String operation, String reason, Database database) StatementNotSupportedOnDatabaseException
(String reason, SqlStatement statement, Database database) StatementNotSupportedOnDatabaseException
(SqlStatement statement, Database database) -
Uses of Database in liquibase.executor
Modifier and TypeMethodDescriptionvoid
ExecutorService.clearExecutor
(String name, Database database) void
ExecutorService.clearExecutor
(Database database) Deprecated.Please use clearExecutor(name, database)boolean
ExecutorService.executorExists
(String name, Database database) Checks if an executor exists for the given name and database.ExecutorService.getExecutor
(String name, Database database) Retrieves a named executor for the specified database.ExecutorService.getExecutor
(Database database) Deprecated.Please useExecutorService.getExecutor(String, Database)
instead.void
AbstractExecutor.setDatabase
(Database database) void
Executor.setDatabase
(Database database) Configures the Executor for the Database to run statements/queries against.void
ExecutorService.setExecutor
(String name, Database database, Executor executor) void
ExecutorService.setExecutor
(Database database, Executor executor) Sets the executor for the given database with the default name "jdbc".default boolean
Default implementation for compatibility with a Database.ModifierConstructorDescriptionLoggingExecutor
(Executor delegatedExecutor, Writer output, Database database) -
Uses of Database in liquibase.executor.jvm
Modifier and TypeMethodDescriptionstatic void
ChangelogJdbcMdcListener.execute
(Database database, ChangelogJdbcMdcListener.ExecuteJdbc jdbcQuery) Execute the given statement via the jdbc executor.static <T> T
ChangelogJdbcMdcListener.query
(Database database, ChangelogJdbcMdcListener.QueryJdbc<T> jdbcQuery) Execute the given statement via the jdbc executor.boolean
-
Uses of Database in liquibase.extension.testing.testsystem
-
Uses of Database in liquibase.integration.ant
Modifier and TypeMethodDescriptionprotected Database
BaseLiquibaseTask.createDatabaseFromConfiguredDatabaseType()
protected Database
BaseLiquibaseTask.createDatabaseFromType
(DatabaseType databaseType, ResourceAccessor resourceAccessor) Modifier and TypeMethodDescriptionprotected void
BaseLiquibaseTask.closeDatabase
(Database database) Convenience method to safely close the database connection. -
Uses of Database in liquibase.integration.ant.type
-
Uses of Database in liquibase.integration.cdi
Modifier and TypeMethodDescriptionprotected Database
CDILiquibase.createDatabase
(Connection c) Creates and returns aDatabase
object retrieved from theDatabaseFactory
. -
Uses of Database in liquibase.integration.commandline
Modifier and TypeMethodDescriptionstatic Database
CommandLineUtils.createDatabaseObject
(ClassLoader classLoader, String url, String username, String password, String driver, String defaultCatalogName, String defaultSchemaName, boolean outputDefaultCatalog, boolean outputDefaultSchema, String databaseClass, String driverPropertiesFile, String propertyProviderClass, String liquibaseCatalogName, String liquibaseSchemaName, String databaseChangeLogTableName, String databaseChangeLogLockTableName) Deprecated.Use ResourceAccessor versionstatic Database
CommandLineUtils.createDatabaseObject
(ResourceAccessor resourceAccessor, String url, String username, String password, String driver, String defaultCatalogName, String defaultSchemaName, boolean outputDefaultCatalog, boolean outputDefaultSchema, String databaseClass, String driverPropertiesFile, String propertyProviderClass, String liquibaseCatalogName, String liquibaseSchemaName, String databaseChangeLogTableName, String databaseChangeLogLockTableName) Deprecated.Modifier and TypeMethodDescriptionstatic CommandScope
CommandLineUtils.createDiffCommand
(Database referenceDatabase, Database targetDatabase, String snapshotTypes, CompareControl.SchemaComparison[] schemaComparisons, ObjectChangeFilter objectChangeFilter, PrintStream output) static void
static void
CommandLineUtils.doDiff
(Database referenceDatabase, Database targetDatabase, String snapshotTypes, CompareControl.SchemaComparison[] schemaComparisons) static void
CommandLineUtils.doDiff
(Database referenceDatabase, Database targetDatabase, String snapshotTypes, CompareControl.SchemaComparison[] schemaComparisons, PrintStream output) static void
CommandLineUtils.doDiff
(Database referenceDatabase, Database targetDatabase, String snapshotTypes, CompareControl.SchemaComparison[] schemaComparisons, ObjectChangeFilter objectChangeFilter, PrintStream output) static void
CommandLineUtils.doDiffToChangeLog
(String changeLogFile, Database referenceDatabase, Database targetDatabase, String author, DiffOutputControl diffOutputControl, ObjectChangeFilter objectChangeFilter, String snapshotTypes) Deprecated.Use version with String runOnChangeTypes, String replaceIfExistsTypes instead -CommandLineUtils.doDiffToChangeLog(String, Database, Database, String, DiffOutputControl, ObjectChangeFilter, String, String, String)
static void
CommandLineUtils.doDiffToChangeLog
(String changeLogFile, Database referenceDatabase, Database targetDatabase, String author, DiffOutputControl diffOutputControl, ObjectChangeFilter objectChangeFilter, String snapshotTypes, String runOnChangeTypes, String replaceIfExistsTypes) static void
CommandLineUtils.doDiffToChangeLog
(String changeLogFile, Database referenceDatabase, Database targetDatabase, String author, DiffOutputControl diffOutputControl, ObjectChangeFilter objectChangeFilter, String snapshotTypes, CompareControl.SchemaComparison[] schemaComparisons) Deprecated.Use version with String runOnChangeTypes, String replaceIfExistsTypes instead -CommandLineUtils.doDiffToChangeLog(String, Database, Database, String, DiffOutputControl, ObjectChangeFilter, String, CompareControl.SchemaComparison[], String, String)
static void
CommandLineUtils.doDiffToChangeLog
(String changeLogFile, Database referenceDatabase, Database targetDatabase, String author, DiffOutputControl diffOutputControl, ObjectChangeFilter objectChangeFilter, String snapshotTypes, CompareControl.SchemaComparison[] schemaComparisons, String runOnChangeTypes, String replaceIfExistsTypes) static void
CommandLineUtils.doGenerateChangeLog
(String changeLogFile, Database originalDatabase, String catalogName, String schemaName, String snapshotTypes, String author, String context, String dataDir, DiffOutputControl diffOutputControl) Deprecated.Use version with String runOnChangeTypes, String replaceIfExistsTypes instead -CommandLineUtils.doGenerateChangeLog(String, Database, String, String, String, String, String, String, DiffOutputControl, String, String)
static void
CommandLineUtils.doGenerateChangeLog
(String changeLogFile, Database originalDatabase, String catalogName, String schemaName, String snapshotTypes, String author, String context, String dataDir, DiffOutputControl diffOutputControl, String runOnChangeTypes, String replaceIfExistsTypes) static void
CommandLineUtils.doGenerateChangeLog
(String changeLogFile, Database originalDatabase, CatalogAndSchema[] schemas, String snapshotTypes, String author, String context, String dataDir, DiffOutputControl diffOutputControl) Deprecated.Use version with String runOnChangeTypes, String replaceIfExistsTypes instead -CommandLineUtils.doGenerateChangeLog(String, Database, String, String, String, String, String, String, DiffOutputControl, String, String)
static void
CommandLineUtils.doGenerateChangeLog
(String changeLogFile, Database originalDatabase, CatalogAndSchema[] schemas, String snapshotTypes, String author, String context, String dataDir, DiffOutputControl diffOutputControl, boolean overwriteOutputFile) Deprecated.Use version with String runOnChangeTypes, String replaceIfExistsTypes instead -CommandLineUtils.doGenerateChangeLog(String, Database, CatalogAndSchema[], String, String, String, String, DiffOutputControl, String, String)
static void
CommandLineUtils.doGenerateChangeLog
(String changeLogFile, Database originalDatabase, CatalogAndSchema[] schemas, String snapshotTypes, String author, String context, String dataDir, DiffOutputControl diffOutputControl, boolean overwriteOutputFile, String runOnChangeTypes, String replaceIfExistsTypes) static void
CommandLineUtils.doGenerateChangeLog
(String changeLogFile, Database originalDatabase, CatalogAndSchema[] schemas, String snapshotTypes, String author, String context, String dataDir, DiffOutputControl diffOutputControl, String runOnChangeTypes, String replaceIfExistsTypes) static ChangeExecListener
ChangeExecListenerUtils.getChangeExecListener
(Database database, ResourceAccessor resourceAccessor, String changeExecListenerClass, String changeExecListenerPropertiesFile) -
Uses of Database in liquibase.integration.jakarta.cdi
Modifier and TypeMethodDescriptionprotected Database
CDILiquibase.createDatabase
(Connection c) Subclasses may override this method add change some database settings such as default schema before returning the database object. -
Uses of Database in liquibase.integration.spring
Modifier and TypeMethodDescriptionprotected Database
SpringLiquibase.createDatabase
(Connection c, ResourceAccessor resourceAccessor) Subclasses may override this method to modify the database settings, such as the default schema, before returning the database object. -
Uses of Database in liquibase.lockservice
Modifier and TypeMethodDescriptionLockServiceFactory.getLockService
(Database database) void
LockService.setDatabase
(Database database) void
MockLockService.setDatabase
(Database database) void
OfflineLockService.setDatabase
(Database database) void
StandardLockService.setDatabase
(Database database) boolean
boolean
boolean
boolean
-
Uses of Database in liquibase.logging.mdc.customobjects
-
Uses of Database in liquibase.precondition
Modifier and TypeMethodDescriptionvoid
void
CustomPreconditionWrapper.check
(Database database, DatabaseChangeLog changeLog, ChangeSet changeSet, ChangeExecListener changeExecListener) void
Precondition.check
(Database database, DatabaseChangeLog changeLog, ChangeSet changeSet, ChangeExecListener changeExecListener) -
Uses of Database in liquibase.precondition.core
Modifier and TypeMethodDescriptionvoid
AndPrecondition.check
(Database database, DatabaseChangeLog changeLog, ChangeSet changeSet, ChangeExecListener changeExecListener) void
ChangeLogPropertyDefinedPrecondition.check
(Database database, DatabaseChangeLog changeLog, ChangeSet changeSet, ChangeExecListener changeExecListener) void
ChangeSetExecutedPrecondition.check
(Database database, DatabaseChangeLog changeLog, ChangeSet changeSet, ChangeExecListener changeExecListener) void
ColumnExistsPrecondition.check
(Database database, DatabaseChangeLog changeLog, ChangeSet changeSet, ChangeExecListener changeExecListener) void
DBMSPrecondition.check
(Database database, DatabaseChangeLog changeLog, ChangeSet changeSet, ChangeExecListener changeExecListener) void
ForeignKeyExistsPrecondition.check
(Database database, DatabaseChangeLog changeLog, ChangeSet changeSet, ChangeExecListener changeExecListener) void
IndexExistsPrecondition.check
(Database database, DatabaseChangeLog changeLog, ChangeSet changeSet, ChangeExecListener changeExecListener) void
NotPrecondition.check
(Database database, DatabaseChangeLog changeLog, ChangeSet changeSet, ChangeExecListener changeExecListener) void
ObjectQuotingStrategyPrecondition.check
(Database database, DatabaseChangeLog changeLog, ChangeSet changeSet, ChangeExecListener changeExecListener) void
OrPrecondition.check
(Database database, DatabaseChangeLog changeLog, ChangeSet changeSet, ChangeExecListener changeExecListener) void
PreconditionContainer.check
(Database database, DatabaseChangeLog changeLog, ChangeSet changeSet, ChangeExecListener changeExecListener) void
PrimaryKeyExistsPrecondition.check
(Database database, DatabaseChangeLog changeLog, ChangeSet changeSet, ChangeExecListener changeExecListener) void
RowCountPrecondition.check
(Database database, DatabaseChangeLog changeLog, ChangeSet changeSet, ChangeExecListener changeExecListener) void
RunningAsPrecondition.check
(Database database, DatabaseChangeLog changeLog, ChangeSet changeSet, ChangeExecListener changeExecListener) void
SequenceExistsPrecondition.check
(Database database, DatabaseChangeLog changeLog, ChangeSet changeSet, ChangeExecListener changeExecListener) void
SqlPrecondition.check
(Database database, DatabaseChangeLog changeLog, ChangeSet changeSet, ChangeExecListener changeExecListener) void
TableExistsPrecondition.check
(Database database, DatabaseChangeLog changeLog, ChangeSet changeSet, ChangeExecListener changeExecListener) void
TableIsEmptyPrecondition.check
(Database database, DatabaseChangeLog changeLog, ChangeSet changeSet, ChangeExecListener changeExecListener) void
UniqueConstraintExistsPrecondition.check
(Database database, DatabaseChangeLog changeLog, ChangeSet changeSet, ChangeExecListener changeExecListener) void
ViewExistsPrecondition.check
(Database database, DatabaseChangeLog changeLog, ChangeSet changeSet, ChangeExecListener changeExecListener) -
Uses of Database in liquibase.report
Modifier and TypeMethodDescriptionvoid
RollbackReportParameters.setupDatabaseInfo
(Database database) Setup database related info used in rollback report. -
Uses of Database in liquibase.serializer.core.formattedsql
Modifier and TypeMethodDescriptionprotected Database
FormattedSqlChangeLogSerializer.getTargetDatabase
(ChangeSet changeSet) -
Uses of Database in liquibase.snapshot
Modifier and TypeMethodDescriptionboolean
SnapshotControl.addType
(Class<? extends DatabaseObject> type, Database database) Adds a new DatabaseObject type to the list of object types to be included in snapshots.protected SnapshotGeneratorChain
DatabaseSnapshot.createGeneratorChain
(Class<? extends DatabaseObject> databaseObjectType, Database database) ResultSetCache.RowData.createParamsKey
(Database database) ResultSetCache.RowData.createSchemaKey
(Database database) SnapshotGeneratorFactory.createSnapshot
(CatalogAndSchema[] examples, Database database, SnapshotControl snapshotControl) Creates a database snapshot for a given array of catalog/schema combinations.SnapshotGeneratorFactory.createSnapshot
(CatalogAndSchema example, Database database, SnapshotControl snapshotControl) SnapshotGeneratorFactory.createSnapshot
(DatabaseObject[] examples, Database database, SnapshotControl snapshotControl) Creates a database snapshot for a given array of DatabaseObjects<T extends DatabaseObject>
TSnapshotGeneratorFactory.createSnapshot
(T example, Database database) Creates a DatabaseSnapshot for a single DatabaseObject.<T extends DatabaseObject>
TSnapshotGeneratorFactory.createSnapshot
(T example, Database database, SnapshotControl snapshotControl) Creates a DatabaseSnapshot for a single DatabaseObject.ResultSetCache.ResultSetExtractor.executeAndExtract
(String sql, Database database) ResultSetCache.ResultSetExtractor.executeAndExtract
(Database database, boolean informixTrimHint, String sql, Object... parameters) ResultSetCache.ResultSetExtractor.executeAndExtract
(Database database, String sql, Object... parameters) void
SnapshotListener.finishedSnapshot
(DatabaseObject example, DatabaseObject snapshot, Database database) Called after an object is fully loaded from the database.Set<Class<? extends DatabaseObject>>
SnapshotGeneratorFactory.getContainerTypes
(Class<? extends DatabaseObject> type, Database database) SnapshotGeneratorFactory.getDatabaseChangeLogLockTable
(Database database) SnapshotGeneratorFactory.getDatabaseChangeLogTable
(SnapshotControl snapshotControl, Database database) protected SortedSet<SnapshotGenerator>
SnapshotGeneratorFactory.getGenerators
(Class<? extends DatabaseObject> generatorClass, Database database) int
SnapshotGenerator.getPriority
(Class<? extends DatabaseObject> objectType, Database database) Inquire if this SnapshotGenerator is capable of snapshotting objects of type objectType (e.g.boolean
SnapshotGeneratorFactory.has
(DatabaseObject example, Database database) Checks if a specific object is present in a databaseboolean
SnapshotGeneratorFactory.hasDatabaseChangeLogLockTable
(Database database) boolean
SnapshotGeneratorFactory.hasDatabaseChangeLogTable
(Database database) boolean
SnapshotGeneratorFactory.hasIgnoreNested
(DatabaseObject example, Database database) Checks if a specific object is present in a database.void
SnapshotListener.willSnapshot
(DatabaseObject example, Database database) Called before a snapshot is done.ModifierConstructorDescriptionCachingDatabaseMetaData
(Database database, DatabaseMetaData metaData) DatabaseSnapshot
(DatabaseObject[] examples, Database database) EmptyDatabaseSnapshot
(Database database) EmptyDatabaseSnapshot
(Database database, SnapshotControl snapshotControl) JdbcDatabaseSnapshot
(DatabaseObject[] examples, Database database) JdbcDatabaseSnapshot
(DatabaseObject[] examples, Database database, SnapshotControl snapshotControl) RestoredDatabaseSnapshot
(Database database) ResultSetExtractor
(Database database) protected
SingleResultSetExtractor
(Database database) SingleResultSetExtractor
(Database database) SnapshotControl
(Database database) Create a SnapshotControl for a given database and mark the database's standard types for inclusion.SnapshotControl
(Database database, boolean expandTypesIfNeeded, Class<? extends DatabaseObject>... types) SnapshotControl
(Database database, Class<? extends DatabaseObject>... types) Create a Snapshot control for a given database, but explicitly set the object types to be included in snapshots.SnapshotControl
(Database database, String types) Create a Snapshot control for a given database, but explicitly set the object types to be included in snapshots.SnapshotControl
(Database database, ObjectChangeFilter objectChangeFilter, Class<? extends DatabaseObject>... types) protected
UnionResultSetExtractor
(Database database) -
Uses of Database in liquibase.snapshot.jvm
Modifier and TypeMethodDescriptionprotected boolean
IndexSnapshotGenerator.addToViews
(Database database) protected String
JdbcSnapshotGenerator.cleanNameFromDatabase
(String objectName, Database database) protected ForeignKeyConstraintType
ForeignKeySnapshotGenerator.convertToForeignKeyConstraintType
(Integer jdbcType, Database database) ColumnAutoIncrementService.enableColumnAutoIncrementIfAvailable
(Column column, Database database, CachedRow columnMetadataResultSet, String rawCatalogName, String rawSchemaName, String rawTableName, String rawColumnName) Verify if a column has auto increment capabilities and set the autoIncrement field with a placeholder object (starts with 1, increment 1)protected String
UniqueConstraintSnapshotGenerator.getCacheKey
(Map<String, ?> row, Database database) Return the cache key for the given query row.protected String
UniqueConstraintSnapshotGenerator.getCacheKey
(UniqueConstraint example, Database database) Return the cache key for the given UniqueConstraint.protected String[]
JdbcSnapshotGenerator.getDatabaseCatalogNames
(Database database) Fetches an array of Strings with the catalog names in the database.protected String[]
SchemaSnapshotGenerator.getDatabaseSchemaNames
(Database database) Fetches an array of Strings with the schema names in the database.protected String[]
SchemaSnapshotGeneratorSnowflake.getDatabaseSchemaNames
(Database database) int
ColumnSnapshotGeneratorH2.getPriority
(Class<? extends DatabaseObject> objectType, Database database) int
ColumnSnapshotGeneratorInformix.getPriority
(Class<? extends DatabaseObject> objectType, Database database) int
ColumnSnapshotGeneratorOracle.getPriority
(Class<? extends DatabaseObject> objectType, Database database) int
JdbcSnapshotGenerator.getPriority
(Class<? extends DatabaseObject> objectType, Database database) int
SchemaSnapshotGeneratorSnowflake.getPriority
(Class<? extends DatabaseObject> objectType, Database database) int
SequenceSnapshotGeneratorSnowflake.getPriority
(Class<? extends DatabaseObject> objectType, Database database) int
UniqueConstraintSnapshotGenerator.getPriority
(Class<? extends DatabaseObject> objectType, Database database) int
UniqueConstraintSnapshotGeneratorSnowflake.getPriority
(Class<? extends DatabaseObject> objectType, Database database) protected SqlStatement
SequenceSnapshotGenerator.getSelectSequenceStatement
(Schema schema, Database database) protected SqlStatement
SequenceSnapshotGeneratorSnowflake.getSelectSequenceStatement
(Schema schema, Database database) protected boolean
UniqueConstraintSnapshotGenerator.includeTableNameInCacheKey
(Database database) Should the given database include the table name in the key?protected boolean
CatalogSnapshotGenerator.isDefaultCatalog
(Catalog match, Database database) UniqueConstraintSnapshotGenerator.listColumns
(UniqueConstraint example, Database database, DatabaseSnapshot snapshot) UniqueConstraintSnapshotGeneratorSnowflake.listColumns
(UniqueConstraint example, Database database, DatabaseSnapshot snapshot) ColumnAutoIncrementService.obtainSequencesInformation
(Database database, Schema schema, DatabaseSnapshot snapshot) If the database support autoincrement columns details (as starts with and increment by), this method returns the detailed information about them.protected Column
ColumnSnapshotGenerator.readColumn
(CachedRow columnMetadataResultSet, Relation table, Database database) protected DataType
ColumnSnapshotGenerator.readDataType
(CachedRow columnMetadataResultSet, Column column, Database database) Processes metadata of a column, e.g. name, type and default value.protected DataType
ColumnSnapshotGeneratorInformix.readDataType
(CachedRow columnMetadataResultSet, Column column, Database database) protected DataType
ColumnSnapshotGeneratorOracle.readDataType
(CachedRow columnMetadataResultSet, Column column, Database database) protected Object
ColumnSnapshotGenerator.readDefaultValue
(CachedRow columnMetadataResultSet, Column columnInfo, Database database) protected Object
ColumnSnapshotGeneratorH2.readDefaultValue
(CachedRow columnMetadataResultSet, Column columnInfo, Database database) protected Table
protected void
ColumnSnapshotGenerator.setAutoIncrementDetails
(Column column, Database database, DatabaseSnapshot snapshot) protected boolean
UniqueConstraintSnapshotGenerator.supportsBulkQuery
(Database database) To support bulk query, the resultSet must include a CONSTRAINT_CONTAINER column for caching purposesprotected BigInteger
SequenceSnapshotGenerator.toBigInteger
(Object value, Database database) protected Boolean
protected CatalogAndSchema
SchemaSnapshotGenerator.toCatalogAndSchema
(String tableSchema, Database database) -
Uses of Database in liquibase.sql.visitor
Modifier and TypeMethodDescription -
Uses of Database in liquibase.sqlgenerator
Modifier and TypeMethodDescriptionboolean
SqlGenerator.generateRollbackStatementsIsVolatile
(Database database) boolean
SqlGeneratorFactory.generateRollbackStatementsVolatile
(SqlStatement statement, Database database) Sql[]
SqlGenerator.generateSql
(T statement, Database database, SqlGeneratorChain<T> sqlGeneratorChain) Generate the actual Sql for the given statement and database.Sql[]
SqlGeneratorChain.generateSql
(T statement, Database database) Sql[]
SqlGeneratorFactory.generateSql
(Change change, Database database) Sql[]
SqlGeneratorFactory.generateSql
(SqlStatement[] statements, Database database) Sql[]
SqlGeneratorFactory.generateSql
(SqlStatement statement, Database database) boolean
SqlGenerator.generateStatementsIsVolatile
(Database database) Does this change require access to the database metadata?boolean
SqlGeneratorFactory.generateStatementsVolatile
(SqlStatement statement, Database database) Return true if the SqlStatement class queries the database in any way to determine Statements to execute.SqlGeneratorFactory.getAffectedDatabaseObjects
(SqlStatement statement, Database database) SqlGeneratorFactory.getGenerators
(SqlStatement statement, Database database) boolean
Does this generator support the given statement/database combination?boolean
SqlGeneratorFactory.supports
(SqlStatement statement, Database database) SqlGenerator.validate
(T statement, Database database, SqlGeneratorChain<T> sqlGeneratorChain) Validate the data contained in the SqlStatement.SqlGeneratorFactory.validate
(SqlStatement statement, Database database) SqlGenerator.warn
(T statementType, Database database, SqlGeneratorChain<T> sqlGeneratorChain) SqlGeneratorFactory.warn
(SqlStatement statement, Database database) -
Uses of Database in liquibase.sqlgenerator.core
Modifier and TypeMethodDescriptionprotected void
AddColumnGenerator.addForeignKeyStatements
(AddColumnStatement statement, Database database, List<Sql> returnSql) static String
CreateProcedureGenerator.addSchemaToText
(String procedureText, String schemaName, String keywordBeforeName, Database database) Convenience method for other classes similar to this that want to be able to modify the procedure text to add the schemaprotected void
AddColumnGenerator.addUniqueConstraintStatements
(AddColumnStatement statement, Database database, List<Sql> returnSql) protected String
TableIsEmptyGenerator.generateCountSql
(TableIsEmptyStatement statement, Database database) protected String
TableRowCountGenerator.generateCountSql
(TableRowCountStatement statement, Database database) void
InsertGenerator.generateHeader
(StringBuilder sql, InsertStatement statement, Database database) void
InsertSetGenerator.generateHeader
(StringBuilder sql, InsertSetStatement statement, Database database) boolean
AbstractSqlGenerator.generateRollbackStatementsIsVolatile
(Database database) protected String
AddColumnGenerator.generateSingleColumBaseSQL
(AddColumnStatement statement, Database database) protected Sql[]
AddColumnGenerator.generateSingleColumn
(AddColumnStatement statement, Database database) protected String
AddColumnGenerator.generateSingleColumnSQL
(AddColumnStatement statement, Database database) protected String
AddColumnGeneratorDefaultClauseBeforeNotNull.generateSingleColumnSQL
(AddColumnStatement statement, Database database) Sql[]
AddAutoIncrementGenerator.generateSql
(AddAutoIncrementStatement statement, Database database, SqlGeneratorChain sqlGeneratorChain) Sql[]
AddAutoIncrementGeneratorDB2.generateSql
(AddAutoIncrementStatement statement, Database database, SqlGeneratorChain sqlGeneratorChain) Sql[]
AddAutoIncrementGeneratorHsqlH2.generateSql
(AddAutoIncrementStatement statement, Database database, SqlGeneratorChain sqlGeneratorChain) Sql[]
AddAutoIncrementGeneratorInformix.generateSql
(AddAutoIncrementStatement statement, Database database, SqlGeneratorChain sqlGeneratorChain) Sql[]
AddAutoIncrementGeneratorMySQL.generateSql
(AddAutoIncrementStatement statement, Database database, SqlGeneratorChain sqlGeneratorChain) Sql[]
AddAutoIncrementGeneratorSQLite.generateSql
(AddAutoIncrementStatement statement, Database database, SqlGeneratorChain sqlGeneratorChain) Sql[]
AddColumnGenerator.generateSql
(AddColumnStatement statement, Database database, SqlGeneratorChain sqlGeneratorChain) Sql[]
AddColumnGeneratorSQLite.generateSql
(AddColumnStatement statement, Database database, SqlGeneratorChain sqlGeneratorChain) Sql[]
AddDefaultValueGenerator.generateSql
(AddDefaultValueStatement statement, Database database, SqlGeneratorChain sqlGeneratorChain) Sql[]
AddDefaultValueGeneratorDerby.generateSql
(AddDefaultValueStatement statement, Database database, SqlGeneratorChain sqlGeneratorChain) Sql[]
AddDefaultValueGeneratorInformix.generateSql
(AddDefaultValueStatement statement, Database database, SqlGeneratorChain sqlGeneratorChain) Sql[]
AddDefaultValueGeneratorMSSQL.generateSql
(AddDefaultValueStatement statement, Database database, SqlGeneratorChain sqlGeneratorChain) Sql[]
AddDefaultValueGeneratorMySQL.generateSql
(AddDefaultValueStatement statement, Database database, SqlGeneratorChain sqlGeneratorChain) Sql[]
AddDefaultValueGeneratorOracle.generateSql
(AddDefaultValueStatement statement, Database database, SqlGeneratorChain sqlGeneratorChain) Sql[]
AddDefaultValueGeneratorPostgres.generateSql
(AddDefaultValueStatement statement, Database database, SqlGeneratorChain sqlGeneratorChain) Sql[]
AddDefaultValueGeneratorSQLite.generateSql
(AddDefaultValueStatement statement, Database database, SqlGeneratorChain sqlGeneratorChain) Sql[]
AddDefaultValueGeneratorSybase.generateSql
(AddDefaultValueStatement statement, Database database, SqlGeneratorChain sqlGeneratorChain) Sql[]
AddDefaultValueGeneratorSybaseASA.generateSql
(AddDefaultValueStatement statement, Database database, SqlGeneratorChain sqlGeneratorChain) Sql[]
AddForeignKeyConstraintGenerator.generateSql
(AddForeignKeyConstraintStatement statement, Database database, SqlGeneratorChain sqlGeneratorChain) Sql[]
AddPrimaryKeyGenerator.generateSql
(AddPrimaryKeyStatement statement, Database database, SqlGeneratorChain sqlGeneratorChain) Sql[]
AddPrimaryKeyGeneratorInformix.generateSql
(AddPrimaryKeyStatement statement, Database database, SqlGeneratorChain sqlGeneratorChain) Sql[]
AddUniqueConstraintGenerator.generateSql
(AddUniqueConstraintStatement statement, Database database, SqlGeneratorChain<AddUniqueConstraintStatement> sqlGeneratorChain) Sql[]
AddUniqueConstraintGeneratorInformix.generateSql
(AddUniqueConstraintStatement statement, Database database, SqlGeneratorChain sqlGeneratorChain) Sql[]
AddUniqueConstraintGeneratorTDS.generateSql
(AddUniqueConstraintStatement statement, Database database, SqlGeneratorChain sqlGeneratorChain) Sql[]
AlterSequenceGenerator.generateSql
(AlterSequenceStatement statement, Database database, SqlGeneratorChain sqlGeneratorChain) Sql[]
BatchDmlExecutablePreparedStatementGenerator.generateSql
(BatchDmlExecutablePreparedStatement statement, Database database, SqlGeneratorChain sqlGeneratorChain) Sql[]
ClearDatabaseChangeLogTableGenerator.generateSql
(ClearDatabaseChangeLogTableStatement statement, Database database, SqlGeneratorChain sqlGeneratorChain) Sql[]
CommentGenerator.generateSql
(CommentStatement comment, Database database, SqlGeneratorChain sqlGeneratorChain) Sql[]
CopyRowsGenerator.generateSql
(CopyRowsStatement statement, Database database, SqlGeneratorChain sqlGeneratorChain) Sql[]
CreateDatabaseChangeLogLockTableGenerator.generateSql
(CreateDatabaseChangeLogLockTableStatement statement, Database database, SqlGeneratorChain sqlGeneratorChain) Sql[]
CreateDatabaseChangeLogTableGenerator.generateSql
(CreateDatabaseChangeLogTableStatement statement, Database database, SqlGeneratorChain sqlGeneratorChain) Sql[]
CreateDatabaseChangeLogTableGeneratorSybase.generateSql
(CreateDatabaseChangeLogTableStatement statement, Database database, SqlGeneratorChain sqlGeneratorChain) Sql[]
CreateIndexGenerator.generateSql
(CreateIndexStatement statement, Database database, SqlGeneratorChain sqlGeneratorChain) Generate a CREATE INDEX SQL statement.Sql[]
CreateIndexGeneratorFirebird.generateSql
(CreateIndexStatement statement, Database database, SqlGeneratorChain sqlGeneratorChain) Generate a CREATE INDEX SQL statement for Firebird databases.Sql[]
CreateIndexGeneratorPostgres.generateSql
(CreateIndexStatement statement, Database database, SqlGeneratorChain sqlGeneratorChain) Sql[]
CreateProcedureGenerator.generateSql
(CreateProcedureStatement statement, Database database, SqlGeneratorChain sqlGeneratorChain) Sql[]
CreateSequenceGenerator.generateSql
(CreateSequenceStatement statement, Database database, SqlGeneratorChain sqlGeneratorChain) Sql[]
CreateSequenceGeneratorSnowflake.generateSql
(CreateSequenceStatement statement, Database database, SqlGeneratorChain sqlGeneratorChain) Sql[]
CreateTableGenerator.generateSql
(CreateTableStatement statement, Database database, SqlGeneratorChain sqlGeneratorChain) Sql[]
CreateTableGeneratorInformix.generateSql
(CreateTableStatement statement, Database database, SqlGeneratorChain sqlGeneratorChain) Informix SQL-specific implementation of the CREATE TABLE SQL generator.Sql[]
CreateViewGenerator.generateSql
(CreateViewStatement statement, Database database, SqlGeneratorChain sqlGeneratorChain) Sql[]
CreateViewGeneratorInformix.generateSql
(CreateViewStatement statement, Database database, SqlGeneratorChain sqlGeneratorChain) Sql[]
DeleteGenerator.generateSql
(DeleteStatement statement, Database database, SqlGeneratorChain sqlGeneratorChain) Sql[]
DropColumnGenerator.generateSql
(DropColumnStatement statement, Database database, SqlGeneratorChain sqlGeneratorChain) Sql[]
DropDefaultValueGenerator.generateSql
(DropDefaultValueStatement statement, Database database, SqlGeneratorChain sqlGeneratorChain) Sql[]
DropDefaultValueGeneratorSnowflake.generateSql
(DropDefaultValueStatement statement, Database database, SqlGeneratorChain sqlGeneratorChain) Sql[]
DropForeignKeyConstraintGenerator.generateSql
(DropForeignKeyConstraintStatement statement, Database database, SqlGeneratorChain sqlGeneratorChain) Sql[]
DropIndexGenerator.generateSql
(DropIndexStatement statement, Database database, SqlGeneratorChain sqlGeneratorChain) Sql[]
DropPrimaryKeyGenerator.generateSql
(DropPrimaryKeyStatement statement, Database database, SqlGeneratorChain sqlGeneratorChain) Sql[]
DropProcedureGenerator.generateSql
(DropProcedureStatement statement, Database database, SqlGeneratorChain sqlGeneratorChain) Sql[]
DropProcedureGeneratorSnowflake.generateSql
(DropProcedureStatement statement, Database database, SqlGeneratorChain sqlGeneratorChain) Sql[]
DropSequenceGenerator.generateSql
(DropSequenceStatement statement, Database database, SqlGeneratorChain sqlGeneratorChain) Sql[]
DropTableGenerator.generateSql
(DropTableStatement statement, Database database, SqlGeneratorChain sqlGeneratorChain) Sql[]
DropUniqueConstraintGenerator.generateSql
(DropUniqueConstraintStatement statement, Database database, SqlGeneratorChain sqlGeneratorChain) Sql[]
DropViewGenerator.generateSql
(DropViewStatement statement, Database database, SqlGeneratorChain sqlGeneratorChain) Sql[]
GetNextChangeSetSequenceValueGenerator.generateSql
(GetNextChangeSetSequenceValueStatement statement, Database database, SqlGeneratorChain sqlGeneratorChain) Sql[]
GetViewDefinitionGenerator.generateSql
(GetViewDefinitionStatement statement, Database database, SqlGeneratorChain sqlGeneratorChain) Sql[]
GetViewDefinitionGeneratorDB2.generateSql
(GetViewDefinitionStatement statement, Database database, SqlGeneratorChain sqlGeneratorChain) Sql[]
GetViewDefinitionGeneratorDerby.generateSql
(GetViewDefinitionStatement statement, Database database, SqlGeneratorChain sqlGeneratorChain) Sql[]
GetViewDefinitionGeneratorFirebird.generateSql
(GetViewDefinitionStatement statement, Database database, SqlGeneratorChain sqlGeneratorChain) Sql[]
GetViewDefinitionGeneratorHsql.generateSql
(GetViewDefinitionStatement statement, Database database, SqlGeneratorChain sqlGeneratorChain) Sql[]
GetViewDefinitionGeneratorInformix.generateSql
(GetViewDefinitionStatement statement, Database database, SqlGeneratorChain sqlGeneratorChain) Sql[]
GetViewDefinitionGeneratorMSSQL.generateSql
(GetViewDefinitionStatement statement, Database database, SqlGeneratorChain sqlGeneratorChain) Sql[]
GetViewDefinitionGeneratorOracle.generateSql
(GetViewDefinitionStatement statement, Database database, SqlGeneratorChain sqlGeneratorChain) Sql[]
GetViewDefinitionGeneratorPostgres.generateSql
(GetViewDefinitionStatement statement, Database database, SqlGeneratorChain sqlGeneratorChain) Sql[]
GetViewDefinitionGeneratorSnowflake.generateSql
(GetViewDefinitionStatement statement, Database database, SqlGeneratorChain sqlGeneratorChain) Sql[]
GetViewDefinitionGeneratorSybase.generateSql
(GetViewDefinitionStatement statement, Database database, SqlGeneratorChain sqlGeneratorChain) Sql[]
GetViewDefinitionGeneratorSybaseASA.generateSql
(GetViewDefinitionStatement statement, Database database, SqlGeneratorChain sqlGeneratorChain) Sql[]
InitializeDatabaseChangeLogLockTableGenerator.generateSql
(InitializeDatabaseChangeLogLockTableStatement statement, Database database, SqlGeneratorChain sqlGeneratorChain) Sql[]
InsertDataChangeGenerator.generateSql
(InsertExecutablePreparedStatement statement, Database database, SqlGeneratorChain sqlGeneratorChain) Sql[]
InsertGenerator.generateSql
(InsertStatement statement, Database database, SqlGeneratorChain sqlGeneratorChain) Sql[]
InsertOrUpdateGenerator.generateSql
(InsertOrUpdateStatement insertOrUpdateStatement, Database database, SqlGeneratorChain sqlGeneratorChain) Sql[]
InsertOrUpdateGeneratorDB2.generateSql
(InsertOrUpdateStatement insertOrUpdateStatement, Database database, SqlGeneratorChain sqlGeneratorChain) Sql[]
InsertOrUpdateGeneratorMSSQL.generateSql
(InsertOrUpdateStatement insertOrUpdateStatement, Database database, SqlGeneratorChain sqlGeneratorChain) Sql[]
InsertOrUpdateGeneratorPostgres.generateSql
(InsertOrUpdateStatement insertOrUpdateStatement, Database database, SqlGeneratorChain sqlGeneratorChain) Sql[]
InsertSetGenerator.generateSql
(InsertSetStatement statement, Database database, SqlGeneratorChain sqlGeneratorChain) Sql[]
LockDatabaseChangeLogGenerator.generateSql
(LockDatabaseChangeLogStatement statement, Database database, SqlGeneratorChain sqlGeneratorChain) Sql[]
MarkChangeSetRanGenerator.generateSql
(MarkChangeSetRanStatement statement, Database database, SqlGeneratorChain sqlGeneratorChain) Sql[]
ModifyDataTypeGenerator.generateSql
(ModifyDataTypeStatement statement, Database database, SqlGeneratorChain sqlGeneratorChain) Sql[]
RawParameterizedSqlGenerator.generateSql
(RawParameterizedSqlStatement statement, Database database, SqlGeneratorChain<RawParameterizedSqlStatement> sqlGeneratorChain) Sql[]
RawSqlGenerator.generateSql
(RawSqlStatement statement, Database database, SqlGeneratorChain sqlGeneratorChain) Deprecated.Sql[]
ReindexGeneratorSQLite.generateSql
(ReindexStatement statement, Database database, SqlGeneratorChain sqlGeneratorChain) Sql[]
RemoveChangeSetRanStatusGenerator.generateSql
(RemoveChangeSetRanStatusStatement statement, Database database, SqlGeneratorChain sqlGeneratorChain) Sql[]
RenameColumnGenerator.generateSql
(RenameColumnStatement statement, Database database, SqlGeneratorChain sqlGeneratorChain) Sql[]
RenameSequenceGenerator.generateSql
(RenameSequenceStatement statement, Database database, SqlGeneratorChain sqlGeneratorChain) Sql[]
RenameTableGenerator.generateSql
(RenameTableStatement statement, Database database, SqlGeneratorChain sqlGeneratorChain) Sql[]
RenameTableGeneratorSnowflake.generateSql
(RenameTableStatement statement, Database database, SqlGeneratorChain sqlGeneratorChain) Sql[]
RenameViewGenerator.generateSql
(RenameViewStatement statement, Database database, SqlGeneratorChain sqlGeneratorChain) Sql[]
RenameViewGeneratorSnowflake.generateSql
(RenameViewStatement statement, Database database, SqlGeneratorChain sqlGeneratorChain) Sql[]
ReorganizeTableGeneratorDB2.generateSql
(ReorganizeTableStatement statement, Database database, SqlGeneratorChain sqlGeneratorChain) Sql[]
RuntimeGenerator.generateSql
(RuntimeStatement statement, Database database, SqlGeneratorChain sqlGeneratorChain) Sql[]
SelectFromDatabaseChangeLogGenerator.generateSql
(SelectFromDatabaseChangeLogStatement statement, Database database, SqlGeneratorChain sqlGeneratorChain) Sql[]
SelectFromDatabaseChangeLogLockGenerator.generateSql
(SelectFromDatabaseChangeLogLockStatement statement, Database database, SqlGeneratorChain sqlGeneratorChain) Sql[]
SetColumnRemarksGenerator.generateSql
(SetColumnRemarksStatement statement, Database database, SqlGeneratorChain sqlGeneratorChain) Sql[]
SetNullableGenerator.generateSql
(SetNullableStatement statement, Database database, SqlGeneratorChain sqlGeneratorChain) Sql[]
SetTableRemarksGenerator.generateSql
(SetTableRemarksStatement statement, Database database, SqlGeneratorChain sqlGeneratorChain) Sql[]
SetViewRemarksGenerator.generateSql
(SetViewRemarksStatement statement, Database database, SqlGeneratorChain sqlGeneratorChain) Sql[]
StoredProcedureGenerator.generateSql
(StoredProcedureStatement statement, Database database, SqlGeneratorChain sqlGeneratorChain) Sql[]
TableIsEmptyGenerator.generateSql
(TableIsEmptyStatement statement, Database database, SqlGeneratorChain sqlGeneratorChain) Sql[]
TableRowCountGenerator.generateSql
(TableRowCountStatement statement, Database database, SqlGeneratorChain sqlGeneratorChain) Sql[]
TagDatabaseGenerator.generateSql
(TagDatabaseStatement statement, Database database, SqlGeneratorChain sqlGeneratorChain) Sql[]
UnlockDatabaseChangeLogGenerator.generateSql
(UnlockDatabaseChangeLogStatement statement, Database database, SqlGeneratorChain sqlGeneratorChain) Sql[]
UpdateChangeSetChecksumGenerator.generateSql
(UpdateChangeSetChecksumStatement statement, Database database, SqlGeneratorChain sqlGeneratorChain) Sql[]
UpdateDataChangeGenerator.generateSql
(UpdateExecutablePreparedStatement statement, Database database, SqlGeneratorChain sqlGeneratorChain) Sql[]
UpdateGenerator.generateSql
(UpdateStatement statement, Database database, SqlGeneratorChain sqlGeneratorChain) boolean
AbstractSqlGenerator.generateStatementsIsVolatile
(Database database) boolean
AddAutoIncrementGeneratorSQLite.generateStatementsIsVolatile
(Database database) boolean
AddColumnGeneratorSQLite.generateStatementsIsVolatile
(Database database) boolean
AddDefaultValueGeneratorSQLite.generateStatementsIsVolatile
(Database database) void
InsertGenerator.generateValues
(StringBuilder sql, InsertStatement statement, Database database) protected Relation
ClearDatabaseChangeLogTableGenerator.getAffectedTable
(Database database, String schemaName) protected Relation
CreateDatabaseChangeLogTableGeneratorSybase.getAffectedTable
(Database database) protected String
CreateDatabaseChangeLogLockTableGenerator.getCharTypeName
(Database database) protected String
CreateDatabaseChangeLogTableGenerator.getCharTypeName
(Database database) protected String
CreateDatabaseChangeLogLockTableGenerator.getDateTimeTypeString
(Database database) protected String
CreateDatabaseChangeLogTableGenerator.getDateTimeTypeString
(Database database) protected abstract String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected InsertGenerator
InsertSetGenerator.getInsertGenerator
(Database database) protected String
InsertOrUpdateGenerator.getInsertStatement
(InsertOrUpdateStatement insertOrUpdateStatement, Database database, SqlGeneratorChain sqlGeneratorChain) protected String
InsertOrUpdateGeneratorH2.getInsertStatement
(InsertOrUpdateStatement insertOrUpdateStatement, Database database, SqlGeneratorChain sqlGeneratorChain) protected String
InsertOrUpdateGeneratorHsql.getInsertStatement
(InsertOrUpdateStatement insertOrUpdateStatement, Database database, SqlGeneratorChain sqlGeneratorChain) protected String
InsertOrUpdateGeneratorInformix.getInsertStatement
(InsertOrUpdateStatement insertOrUpdateStatement, Database database, SqlGeneratorChain sqlGeneratorChain) protected String
InsertOrUpdateGeneratorMSSQL.getInsertStatement
(InsertOrUpdateStatement insertOrUpdateStatement, Database database, SqlGeneratorChain sqlGeneratorChain) protected String
InsertOrUpdateGeneratorMySQL.getInsertStatement
(InsertOrUpdateStatement insertOrUpdateStatement, Database database, SqlGeneratorChain sqlGeneratorChain) protected String
InsertOrUpdateGeneratorSnowflake.getInsertStatement
(InsertOrUpdateStatement insertOrUpdateStatement, Database database, SqlGeneratorChain sqlGeneratorChain) protected String
InsertOrUpdateGeneratorSQLite.getInsertStatement
(InsertOrUpdateStatement insertOrUpdateStatement, Database database, SqlGeneratorChain sqlGeneratorChain) protected String
InsertOrUpdateGeneratorSybaseASA.getInsertStatement
(InsertOrUpdateStatement insertOrUpdateStatement, Database database, SqlGeneratorChain sqlGeneratorChain) protected String
ModifyDataTypeGenerator.getModifyString
(Database database) protected String
InsertOrUpdateGenerator.getPostUpdateStatements
(Database database) protected String
InsertOrUpdateGeneratorDB2.getPostUpdateStatements
(Database database) protected String
InsertOrUpdateGeneratorOracle.getPostUpdateStatements
(Database database) protected String
ModifyDataTypeGenerator.getPreDataTypeString
(Database database) protected abstract String
InsertOrUpdateGenerator.getRecordCheck
(InsertOrUpdateStatement insertOrUpdateStatement, Database database, String whereClause) protected String
InsertOrUpdateGeneratorDB2.getRecordCheck
(InsertOrUpdateStatement insertOrUpdateStatement, Database database, String whereClause) protected String
InsertOrUpdateGeneratorH2.getRecordCheck
(InsertOrUpdateStatement insertOrUpdateStatement, Database database, String whereClause) protected String
InsertOrUpdateGeneratorHsql.getRecordCheck
(InsertOrUpdateStatement insertOrUpdateStatement, Database database, String whereClause) protected String
InsertOrUpdateGeneratorInformix.getRecordCheck
(InsertOrUpdateStatement insertOrUpdateStatement, Database database, String whereClause) protected String
InsertOrUpdateGeneratorMSSQL.getRecordCheck
(InsertOrUpdateStatement insertOrUpdateStatement, Database database, String whereClause) protected String
InsertOrUpdateGeneratorMySQL.getRecordCheck
(InsertOrUpdateStatement insertOrUpdateStatement, Database database, String whereClause) protected String
InsertOrUpdateGeneratorOracle.getRecordCheck
(InsertOrUpdateStatement insertOrUpdateStatement, Database database, String whereClause) protected String
InsertOrUpdateGeneratorPostgres.getRecordCheck
(InsertOrUpdateStatement arg0, Database arg1, String arg2) protected String
InsertOrUpdateGeneratorSnowflake.getRecordCheck
(InsertOrUpdateStatement insertOrUpdateStatement, Database database, String whereClause) protected String
InsertOrUpdateGeneratorSQLite.getRecordCheck
(InsertOrUpdateStatement insertOrUpdateStatement, Database database, String whereClause) protected String
InsertOrUpdateGeneratorSybaseASA.getRecordCheck
(InsertOrUpdateStatement insertOrUpdateStatement, Database database, String whereClause) protected String
InsertOrUpdateGenerator.getUpdateStatement
(InsertOrUpdateStatement insertOrUpdateStatement, Database database, String whereClause, SqlGeneratorChain sqlGeneratorChain) Generates an SQL UPDATE statement for the specified insert or update statement, database, and SQL generator chain.protected String
InsertOrUpdateGeneratorH2.getUpdateStatement
(InsertOrUpdateStatement insertOrUpdateStatement, Database database, String whereClause, SqlGeneratorChain sqlGeneratorChain) protected String
InsertOrUpdateGeneratorHsql.getUpdateStatement
(InsertOrUpdateStatement insertOrUpdateStatement, Database database, String whereClause, SqlGeneratorChain sqlGeneratorChain) protected String
InsertOrUpdateGeneratorInformix.getUpdateStatement
(InsertOrUpdateStatement insertOrUpdateStatement, Database database, String whereClause, SqlGeneratorChain sqlGeneratorChain) protected String
InsertOrUpdateGeneratorMSSQL.getUpdateStatement
(InsertOrUpdateStatement insertOrUpdateStatement, Database database, String whereClause, SqlGeneratorChain sqlGeneratorChain) protected String
InsertOrUpdateGeneratorMySQL.getUpdateStatement
(InsertOrUpdateStatement insertOrUpdateStatement, Database database, String whereClause, SqlGeneratorChain sqlGeneratorChain) protected String
InsertOrUpdateGeneratorSnowflake.getUpdateStatement
(InsertOrUpdateStatement insertOrUpdateStatement, Database database, String whereClause, SqlGeneratorChain sqlGeneratorChain) protected String
InsertOrUpdateGeneratorSQLite.getUpdateStatement
(InsertOrUpdateStatement insertOrUpdateStatement, Database database, String whereClause, SqlGeneratorChain sqlGeneratorChain) protected String
InsertOrUpdateGeneratorSybaseASA.getUpdateStatement
(InsertOrUpdateStatement insertOrUpdateStatement, Database database, String whereClause, SqlGeneratorChain sqlGeneratorChain) protected String
InsertOrUpdateGenerator.getWhereClause
(InsertOrUpdateStatement insertOrUpdateStatement, Database database) boolean
AbstractSqlGenerator.looksLikeFunctionCall
(String value, Database database) Tries to find out if a given value (part a database-specific SQL statement) is just a simple literal (e.g.boolean
boolean
AddAutoIncrementGenerator.supports
(AddAutoIncrementStatement statement, Database database) boolean
AddAutoIncrementGeneratorDB2.supports
(AddAutoIncrementStatement statement, Database database) boolean
AddAutoIncrementGeneratorHsqlH2.supports
(AddAutoIncrementStatement statement, Database database) boolean
AddAutoIncrementGeneratorInformix.supports
(AddAutoIncrementStatement statement, Database database) boolean
AddAutoIncrementGeneratorMySQL.supports
(AddAutoIncrementStatement statement, Database database) boolean
AddAutoIncrementGeneratorSQLite.supports
(AddAutoIncrementStatement statement, Database database) boolean
AddColumnGeneratorDefaultClauseBeforeNotNull.supports
(AddColumnStatement statement, Database database) boolean
AddColumnGeneratorSQLite.supports
(AddColumnStatement statement, Database database) boolean
AddDefaultValueGeneratorDerby.supports
(AddDefaultValueStatement statement, Database database) boolean
AddDefaultValueGeneratorInformix.supports
(AddDefaultValueStatement statement, Database database) boolean
AddDefaultValueGeneratorMSSQL.supports
(AddDefaultValueStatement statement, Database database) boolean
AddDefaultValueGeneratorMySQL.supports
(AddDefaultValueStatement statement, Database database) boolean
AddDefaultValueGeneratorOracle.supports
(AddDefaultValueStatement statement, Database database) boolean
AddDefaultValueGeneratorPostgres.supports
(AddDefaultValueStatement statement, Database database) boolean
AddDefaultValueGeneratorSQLite.supports
(AddDefaultValueStatement statement, Database database) boolean
AddDefaultValueGeneratorSybase.supports
(AddDefaultValueStatement statement, Database database) boolean
AddDefaultValueGeneratorSybaseASA.supports
(AddDefaultValueStatement statement, Database database) boolean
AddForeignKeyConstraintGenerator.supports
(AddForeignKeyConstraintStatement statement, Database database) boolean
AddPrimaryKeyGenerator.supports
(AddPrimaryKeyStatement statement, Database database) boolean
AddPrimaryKeyGeneratorInformix.supports
(AddPrimaryKeyStatement statement, Database database) boolean
AddUniqueConstraintGenerator.supports
(AddUniqueConstraintStatement statement, Database database) boolean
AddUniqueConstraintGeneratorInformix.supports
(AddUniqueConstraintStatement statement, Database database) boolean
AddUniqueConstraintGeneratorTDS.supports
(AddUniqueConstraintStatement statement, Database database) boolean
AlterSequenceGenerator.supports
(AlterSequenceStatement statement, Database database) boolean
CopyRowsGenerator.supports
(CopyRowsStatement statement, Database database) boolean
CreateDatabaseChangeLogTableGenerator.supports
(CreateDatabaseChangeLogTableStatement statement, Database database) boolean
CreateDatabaseChangeLogTableGeneratorSybase.supports
(CreateDatabaseChangeLogTableStatement statement, Database database) boolean
CreateIndexGeneratorFirebird.supports
(CreateIndexStatement statement, Database database) Informs the SqlGeneratorFactory that we this class works on Firebird SQL databases only.boolean
CreateIndexGeneratorPostgres.supports
(CreateIndexStatement statement, Database database) boolean
CreateProcedureGenerator.supports
(CreateProcedureStatement statement, Database database) boolean
CreateSequenceGenerator.supports
(CreateSequenceStatement statement, Database database) boolean
CreateSequenceGeneratorSnowflake.supports
(CreateSequenceStatement statement, Database database) boolean
CreateTableGeneratorInformix.supports
(CreateTableStatement statement, Database database) boolean
CreateViewGeneratorInformix.supports
(CreateViewStatement statement, Database database) boolean
DropDefaultValueGenerator.supports
(DropDefaultValueStatement statement, Database database) boolean
DropDefaultValueGeneratorSnowflake.supports
(DropDefaultValueStatement statement, Database database) boolean
DropForeignKeyConstraintGenerator.supports
(DropForeignKeyConstraintStatement statement, Database database) boolean
DropPrimaryKeyGenerator.supports
(DropPrimaryKeyStatement statement, Database database) boolean
DropProcedureGenerator.supports
(DropProcedureStatement statement, Database database) boolean
DropProcedureGeneratorSnowflake.supports
(DropProcedureStatement statement, Database database) boolean
DropSequenceGenerator.supports
(DropSequenceStatement statement, Database database) boolean
DropUniqueConstraintGenerator.supports
(DropUniqueConstraintStatement statement, Database database) boolean
GetViewDefinitionGeneratorDB2.supports
(GetViewDefinitionStatement statement, Database database) boolean
GetViewDefinitionGeneratorDerby.supports
(GetViewDefinitionStatement statement, Database database) boolean
GetViewDefinitionGeneratorFirebird.supports
(GetViewDefinitionStatement statement, Database database) boolean
GetViewDefinitionGeneratorHsql.supports
(GetViewDefinitionStatement statement, Database database) boolean
GetViewDefinitionGeneratorInformix.supports
(GetViewDefinitionStatement statement, Database database) boolean
GetViewDefinitionGeneratorMSSQL.supports
(GetViewDefinitionStatement statement, Database database) boolean
GetViewDefinitionGeneratorOracle.supports
(GetViewDefinitionStatement statement, Database database) boolean
GetViewDefinitionGeneratorPostgres.supports
(GetViewDefinitionStatement statement, Database database) boolean
GetViewDefinitionGeneratorSnowflake.supports
(GetViewDefinitionStatement statement, Database database) boolean
GetViewDefinitionGeneratorSybase.supports
(GetViewDefinitionStatement statement, Database database) boolean
GetViewDefinitionGeneratorSybaseASA.supports
(GetViewDefinitionStatement statement, Database database) boolean
InsertOrUpdateGeneratorDB2.supports
(InsertOrUpdateStatement statement, Database database) boolean
InsertOrUpdateGeneratorH2.supports
(InsertOrUpdateStatement statement, Database database) boolean
InsertOrUpdateGeneratorHsql.supports
(InsertOrUpdateStatement statement, Database database) boolean
InsertOrUpdateGeneratorInformix.supports
(InsertOrUpdateStatement statement, Database database) boolean
InsertOrUpdateGeneratorMSSQL.supports
(InsertOrUpdateStatement statement, Database database) boolean
InsertOrUpdateGeneratorMySQL.supports
(InsertOrUpdateStatement statement, Database database) boolean
InsertOrUpdateGeneratorOracle.supports
(InsertOrUpdateStatement statement, Database database) boolean
InsertOrUpdateGeneratorPostgres.supports
(InsertOrUpdateStatement statement, Database database) boolean
InsertOrUpdateGeneratorSnowflake.supports
(InsertOrUpdateStatement statement, Database database) boolean
InsertOrUpdateGeneratorSQLite.supports
(InsertOrUpdateStatement statement, Database database) boolean
InsertOrUpdateGeneratorSybaseASA.supports
(InsertOrUpdateStatement statement, Database database) boolean
ModifyDataTypeGenerator.supports
(ModifyDataTypeStatement statement, Database database) boolean
ReindexGeneratorSQLite.supports
(ReindexStatement statement, Database database) boolean
RenameColumnGenerator.supports
(RenameColumnStatement statement, Database database) boolean
RenameSequenceGenerator.supports
(RenameSequenceStatement statement, Database database) boolean
RenameTableGenerator.supports
(RenameTableStatement statement, Database database) boolean
RenameTableGeneratorSnowflake.supports
(RenameTableStatement statement, Database database) boolean
RenameViewGenerator.supports
(RenameViewStatement statement, Database database) boolean
RenameViewGeneratorSnowflake.supports
(RenameViewStatement statement, Database database) boolean
ReorganizeTableGeneratorDB2.supports
(ReorganizeTableStatement statement, Database database) boolean
SetColumnRemarksGenerator.supports
(SetColumnRemarksStatement statement, Database database) boolean
SetColumnRemarksGeneratorSnowflake.supports
(SetColumnRemarksStatement statement, Database database) boolean
SetNullableGenerator.supports
(SetNullableStatement statement, Database database) boolean
SetTableRemarksGenerator.supports
(SetTableRemarksStatement statement, Database database) boolean
SetTableRemarksGeneratorSnowflake.supports
(SetTableRemarksStatement statement, Database database) boolean
SetViewRemarksGenerator.supports
(SetViewRemarksStatement statement, Database database) boolean
TableIsEmptyGenerator.supports
(TableIsEmptyStatement statement, Database database) boolean
TableRowCountGenerator.supports
(TableRowCountStatement statement, Database database) static void
CreateProcedureGenerator.surroundWithSchemaSets
(List<Sql> sql, String schemaName, Database database) Convenience method for when the schemaName is set but we don't want to parse the bodyAddAutoIncrementGenerator.validate
(AddAutoIncrementStatement statement, Database database, SqlGeneratorChain sqlGeneratorChain) AddAutoIncrementGeneratorDB2.validate
(AddAutoIncrementStatement statement, Database database, SqlGeneratorChain sqlGeneratorChain) AddAutoIncrementGeneratorInformix.validate
(AddAutoIncrementStatement addAutoIncrementStatement, Database database, SqlGeneratorChain sqlGeneratorChain) AddAutoIncrementGeneratorMySQL.validate
(AddAutoIncrementStatement statement, Database database, SqlGeneratorChain sqlGeneratorChain) AddAutoIncrementGeneratorSQLite.validate
(AddAutoIncrementStatement statement, Database database, SqlGeneratorChain sqlGeneratorChain) AddColumnGenerator.validate
(AddColumnStatement statement, Database database, SqlGeneratorChain sqlGeneratorChain) AddColumnGeneratorDefaultClauseBeforeNotNull.validate
(AddColumnStatement statement, Database database, SqlGeneratorChain sqlGeneratorChain) AddColumnGeneratorSQLite.validate
(AddColumnStatement statement, Database database, SqlGeneratorChain sqlGeneratorChain) AddDefaultValueGenerator.validate
(AddDefaultValueStatement addDefaultValueStatement, Database database, SqlGeneratorChain sqlGeneratorChain) AddDefaultValueGeneratorInformix.validate
(AddDefaultValueStatement addDefaultValueStatement, Database database, SqlGeneratorChain sqlGeneratorChain) AddDefaultValueGeneratorMySQL.validate
(AddDefaultValueStatement addDefaultValueStatement, Database database, SqlGeneratorChain sqlGeneratorChain) AddDefaultValueGeneratorSQLite.validate
(AddDefaultValueStatement statement, Database database, SqlGeneratorChain sqlGeneratorChain) AddForeignKeyConstraintGenerator.validate
(AddForeignKeyConstraintStatement addForeignKeyConstraintStatement, Database database, SqlGeneratorChain sqlGeneratorChain) AddPrimaryKeyGenerator.validate
(AddPrimaryKeyStatement addPrimaryKeyStatement, Database database, SqlGeneratorChain sqlGeneratorChain) AddUniqueConstraintGenerator.validate
(AddUniqueConstraintStatement addUniqueConstraintStatement, Database database, SqlGeneratorChain<AddUniqueConstraintStatement> sqlGeneratorChain) AlterSequenceGenerator.validate
(AlterSequenceStatement alterSequenceStatement, Database database, SqlGeneratorChain sqlGeneratorChain) BatchDmlExecutablePreparedStatementGenerator.validate
(BatchDmlExecutablePreparedStatement statement, Database database, SqlGeneratorChain sqlGeneratorChain) ClearDatabaseChangeLogTableGenerator.validate
(ClearDatabaseChangeLogTableStatement clearDatabaseChangeLogTableStatement, Database database, SqlGeneratorChain sqlGeneratorChain) CommentGenerator.validate
(CommentStatement comment, Database database, SqlGeneratorChain sqlGeneratorChain) CopyRowsGenerator.validate
(CopyRowsStatement copyRowsStatement, Database database, SqlGeneratorChain sqlGeneratorChain) CreateDatabaseChangeLogLockTableGenerator.validate
(CreateDatabaseChangeLogLockTableStatement createDatabaseChangeLogLockTableStatement, Database database, SqlGeneratorChain sqlGeneratorChain) CreateDatabaseChangeLogTableGenerator.validate
(CreateDatabaseChangeLogTableStatement statement, Database database, SqlGeneratorChain sqlGeneratorChain) CreateDatabaseChangeLogTableGeneratorSybase.validate
(CreateDatabaseChangeLogTableStatement statement, Database database, SqlGeneratorChain sqlGeneratorChain) CreateIndexGenerator.validate
(CreateIndexStatement createIndexStatement, Database database, SqlGeneratorChain sqlGeneratorChain) CreateIndexGeneratorFirebird.validate
(CreateIndexStatement createIndexStatement, Database database, SqlGeneratorChain sqlGeneratorChain) CreateProcedureGenerator.validate
(CreateProcedureStatement statement, Database database, SqlGeneratorChain sqlGeneratorChain) CreateSequenceGenerator.validate
(CreateSequenceStatement statement, Database database, SqlGeneratorChain sqlGeneratorChain) CreateSequenceGeneratorSnowflake.validate
(CreateSequenceStatement statement, Database database, SqlGeneratorChain sqlGeneratorChain) CreateTableGenerator.validate
(CreateTableStatement createTableStatement, Database database, SqlGeneratorChain sqlGeneratorChain) CreateViewGenerator.validate
(CreateViewStatement createViewStatement, Database database, SqlGeneratorChain sqlGeneratorChain) CreateViewGeneratorInformix.validate
(CreateViewStatement createViewStatement, Database database, SqlGeneratorChain sqlGeneratorChain) DeleteGenerator.validate
(DeleteStatement deleteStatement, Database database, SqlGeneratorChain sqlGeneratorChain) DropColumnGenerator.validate
(DropColumnStatement dropColumnStatement, Database database, SqlGeneratorChain sqlGeneratorChain) DropDefaultValueGenerator.validate
(DropDefaultValueStatement dropDefaultValueStatement, Database database, SqlGeneratorChain sqlGeneratorChain) DropForeignKeyConstraintGenerator.validate
(DropForeignKeyConstraintStatement dropForeignKeyConstraintStatement, Database database, SqlGeneratorChain sqlGeneratorChain) DropIndexGenerator.validate
(DropIndexStatement statement, Database database, SqlGeneratorChain sqlGeneratorChain) DropPrimaryKeyGenerator.validate
(DropPrimaryKeyStatement dropPrimaryKeyStatement, Database database, SqlGeneratorChain sqlGeneratorChain) DropProcedureGenerator.validate
(DropProcedureStatement statement, Database database, SqlGeneratorChain sqlGeneratorChain) DropSequenceGenerator.validate
(DropSequenceStatement dropSequenceStatement, Database database, SqlGeneratorChain sqlGeneratorChain) DropTableGenerator.validate
(DropTableStatement dropTableStatement, Database database, SqlGeneratorChain sqlGeneratorChain) DropUniqueConstraintGenerator.validate
(DropUniqueConstraintStatement dropUniqueConstraintStatement, Database database, SqlGeneratorChain sqlGeneratorChain) DropViewGenerator.validate
(DropViewStatement dropViewStatement, Database database, SqlGeneratorChain sqlGeneratorChain) GetNextChangeSetSequenceValueGenerator.validate
(GetNextChangeSetSequenceValueStatement statement, Database database, SqlGeneratorChain sqlGeneratorChain) GetViewDefinitionGenerator.validate
(GetViewDefinitionStatement getViewDefinitionStatement, Database database, SqlGeneratorChain sqlGeneratorChain) InitializeDatabaseChangeLogLockTableGenerator.validate
(InitializeDatabaseChangeLogLockTableStatement initializeDatabaseChangeLogLockTableStatement, Database database, SqlGeneratorChain sqlGeneratorChain) InsertDataChangeGenerator.validate
(InsertExecutablePreparedStatement statement, Database database, SqlGeneratorChain sqlGeneratorChain) InsertGenerator.validate
(InsertStatement insertStatement, Database database, SqlGeneratorChain sqlGeneratorChain) InsertOrUpdateGenerator.validate
(InsertOrUpdateStatement statement, Database database, SqlGeneratorChain sqlGeneratorChain) InsertSetGenerator.validate
(InsertSetStatement insertStatementSet, Database database, SqlGeneratorChain sqlGeneratorChain) LockDatabaseChangeLogGenerator.validate
(LockDatabaseChangeLogStatement statement, Database database, SqlGeneratorChain sqlGeneratorChain) MarkChangeSetRanGenerator.validate
(MarkChangeSetRanStatement statement, Database database, SqlGeneratorChain sqlGeneratorChain) ModifyDataTypeGenerator.validate
(ModifyDataTypeStatement statement, Database database, SqlGeneratorChain sqlGeneratorChain) RawParameterizedSqlGenerator.validate
(RawParameterizedSqlStatement statement, Database database, SqlGeneratorChain<RawParameterizedSqlStatement> sqlGeneratorChain) RawSqlGenerator.validate
(RawSqlStatement rawSqlStatement, Database database, SqlGeneratorChain sqlGeneratorChain) Deprecated.ReindexGeneratorSQLite.validate
(ReindexStatement reindexStatement, Database database, SqlGeneratorChain sqlGeneratorChain) RemoveChangeSetRanStatusGenerator.validate
(RemoveChangeSetRanStatusStatement statement, Database database, SqlGeneratorChain sqlGeneratorChain) RenameColumnGenerator.validate
(RenameColumnStatement renameColumnStatement, Database database, SqlGeneratorChain sqlGeneratorChain) RenameSequenceGenerator.validate
(RenameSequenceStatement statement, Database database, SqlGeneratorChain sqlGeneratorChain) RenameTableGenerator.validate
(RenameTableStatement renameTableStatement, Database database, SqlGeneratorChain sqlGeneratorChain) RenameViewGenerator.validate
(RenameViewStatement renameViewStatement, Database database, SqlGeneratorChain sqlGeneratorChain) ReorganizeTableGeneratorDB2.validate
(ReorganizeTableStatement reorganizeTableStatement, Database database, SqlGeneratorChain sqlGeneratorChain) RuntimeGenerator.validate
(RuntimeStatement statement, Database database, SqlGeneratorChain sqlGeneratorChain) SelectFromDatabaseChangeLogGenerator.validate
(SelectFromDatabaseChangeLogStatement statement, Database database, SqlGeneratorChain sqlGeneratorChain) SelectFromDatabaseChangeLogLockGenerator.validate
(SelectFromDatabaseChangeLogLockStatement statement, Database database, SqlGeneratorChain sqlGeneratorChain) SetColumnRemarksGenerator.validate
(SetColumnRemarksStatement setColumnRemarksStatement, Database database, SqlGeneratorChain sqlGeneratorChain) SetColumnRemarksGeneratorSnowflake.validate
(SetColumnRemarksStatement statement, Database database, SqlGeneratorChain sqlGeneratorChain) SetNullableGenerator.validate
(SetNullableStatement setNullableStatement, Database database, SqlGeneratorChain sqlGeneratorChain) SetTableRemarksGenerator.validate
(SetTableRemarksStatement setTableRemarksStatement, Database database, SqlGeneratorChain sqlGeneratorChain) SetViewRemarksGenerator.validate
(SetViewRemarksStatement statement, Database database, SqlGeneratorChain sqlGeneratorChain) StoredProcedureGenerator.validate
(StoredProcedureStatement storedProcedureStatement, Database database, SqlGeneratorChain sqlGeneratorChain) TableIsEmptyGenerator.validate
(TableIsEmptyStatement tableIsEmptyStatement, Database database, SqlGeneratorChain sqlGeneratorChain) TableRowCountGenerator.validate
(TableRowCountStatement dropColumnStatement, Database database, SqlGeneratorChain sqlGeneratorChain) TagDatabaseGenerator.validate
(TagDatabaseStatement tagDatabaseStatement, Database database, SqlGeneratorChain sqlGeneratorChain) UnlockDatabaseChangeLogGenerator.validate
(UnlockDatabaseChangeLogStatement statement, Database database, SqlGeneratorChain sqlGeneratorChain) UpdateChangeSetChecksumGenerator.validate
(UpdateChangeSetChecksumStatement statement, Database database, SqlGeneratorChain sqlGeneratorChain) UpdateDataChangeGenerator.validate
(UpdateExecutablePreparedStatement statement, Database database, SqlGeneratorChain sqlGeneratorChain) UpdateGenerator.validate
(UpdateStatement updateStatement, Database database, SqlGeneratorChain sqlGeneratorChain) AbstractSqlGenerator.warn
(T statementType, Database database, SqlGeneratorChain<T> sqlGeneratorChain) AddDefaultValueGenerator.warn
(AddDefaultValueStatement statement, Database database, SqlGeneratorChain sqlGeneratorChain) CreateIndexGenerator.warn
(CreateIndexStatement createIndexStatement, Database database, SqlGeneratorChain sqlGeneratorChain) ModifyDataTypeGenerator.warn
(ModifyDataTypeStatement modifyDataTypeStatement, Database database, SqlGeneratorChain sqlGeneratorChain) SetColumnRemarksGenerator.warn
(SetColumnRemarksStatement statementType, Database database, SqlGeneratorChain<SetColumnRemarksStatement> sqlGeneratorChain) SetNullableGenerator.warn
(SetNullableStatement statement, Database database, SqlGeneratorChain sqlGeneratorChain) -
Uses of Database in liquibase.statement
ModifierConstructorDescriptionBatchDmlExecutablePreparedStatement
(Database database, String catalogName, String schemaName, String tableName, List<LoadDataColumnConfig> columns, ChangeSet changeSet, ResourceAccessor resourceAccessor, List<ExecutablePreparedStatementBase> statements) protected
ExecutablePreparedStatementBase
(Database database, String catalogName, String schemaName, String tableName, List<? extends ColumnConfig> columns, ChangeSet changeSet, ResourceAccessor resourceAccessor) InsertExecutablePreparedStatement
(Database database, String catalogName, String schemaName, String tableName, List<? extends ColumnConfig> columns, ChangeSet changeSet, ResourceAccessor resourceAccessor) UpdateExecutablePreparedStatement
(Database database, String catalogName, String schemaName, String tableName, List<ColumnConfig> columns, ChangeSet changeSet, ResourceAccessor resourceAccessor) -
Uses of Database in liquibase.statement.core
Modifier and TypeMethodDescriptionSql[]
SelectFromDatabaseChangeLogStatement.ByCheckSumNotNullAndNotLike.generateSql
(Database database) SelectFromDatabaseChangeLogStatement.ByNotNullCheckSum.generateSql
(Database database) SelectFromDatabaseChangeLogStatement.ByTag.generateSql
(Database database) SelectFromDatabaseChangeLogStatement.WhereClause.generateSql
(Database database) -
Uses of Database in liquibase.structure
-
Uses of Database in liquibase.util
Modifier and TypeMethodDescriptionstatic String
SqlUtil.getSqlString
(SqlStatement statement, SqlGeneratorFactory sqlGeneratorFactory, Database database) Get the string sql statements from a given SqlStatementstatic String
JdbcUtil.getValueForColumn
(ResultSet rs, String columnNameToCheck, Database database) Checks whether a result set has a column matching the specified column name.static boolean
ValidatingVisitorUtil.isChecksumIssue
(ChangeSet changeSet, RanChangeSet ranChangeSet, DatabaseChangeLog databaseChangeLog, Database database) static void
LoggingExecutorTextUtil.outputHeader
(String message, Database database, String changeLogFile) static Object
SqlUtil.parseValue
(Database database, Object val, DataType type) static String
SqlUtil.replacePredicatePlaceholders
(Database database, String predicate, List<String> columnNames, List<Object> parameters) -
Uses of Database in org.liquibase.maven.plugins
Modifier and TypeMethodDescriptionprotected void
protected void
protected void
protected void
protected void
protected void
protected Liquibase
AbstractLiquibaseChangeLogMojo.createLiquibase
(Database db) protected Liquibase
AbstractLiquibaseMojo.createLiquibase
(Database db) protected Liquibase
AbstractLiquibaseUpdateMojo.createLiquibase
(Database db) protected Liquibase
LiquibaseChangeLogSyncSQLMojo.createLiquibase
(Database db) protected Liquibase
LiquibaseChangeLogSyncToTagSQLMojo.createLiquibase
(Database db) protected Liquibase
LiquibaseFutureRollbackSQL.createLiquibase
(Database db) protected Liquibase
LiquibaseRollbackSQL.createLiquibase
(Database db) protected Liquibase
LiquibaseUpdateSQL.createLiquibase
(Database db)