A B C D E F G H I J L M N O P Q R S T U V W

A

addAllConfiguration(Properties) - Method in class org.dbmaintain.launch.task.TaskConfiguration
 
addCharacter(Character, Character) - Method in class org.dbmaintain.script.parser.impl.StatementBuilder
 
addConfigurationIfSet(String, String) - Method in class org.dbmaintain.launch.task.TaskConfiguration
 
addConfigurationIfSet(String, Boolean) - Method in class org.dbmaintain.launch.task.TaskConfiguration
 
addConfigurationIfSet(String, Long) - Method in class org.dbmaintain.launch.task.TaskConfiguration
 
addDatabase(Database) - Method in class org.dbmaintain.launch.ant.BaseDatabaseAntTask
Registers a target database on which a task (e.g. update) can be executed.
addDatabaseConfiguration(DbMaintainDatabase, String) - Method in class org.dbmaintain.launch.task.TaskConfiguration
 
addDatabaseConfigurations(List<? extends DbMaintainDatabase>) - Method in class org.dbmaintain.launch.task.TaskConfiguration
 
addError(RuntimeException) - Method in class org.dbmaintain.structure.clear.impl.MultiPassErrorHandler
Call this method whenever there is an exception dropping a database object.
addItemsToPreserve(DbItemType, String, Set<DbItemIdentifier>) - Method in class org.dbmaintain.config.FactoryWithDatabaseContext
Adds the items to preserve configured by the given property to the given list.
addTaskConfiguration(TaskConfiguration) - Method in class org.dbmaintain.launch.task.CheckScriptUpdatesTask
 
addTaskConfiguration(TaskConfiguration) - Method in class org.dbmaintain.launch.task.CleanDatabaseTask
 
addTaskConfiguration(TaskConfiguration) - Method in class org.dbmaintain.launch.task.ClearDatabaseTask
 
addTaskConfiguration(TaskConfiguration) - Method in class org.dbmaintain.launch.task.CreateScriptArchiveTask
 
addTaskConfiguration(TaskConfiguration) - Method in class org.dbmaintain.launch.task.DbMaintainTask
Implement by adding specific configuration for this task
addTaskConfiguration(TaskConfiguration) - Method in class org.dbmaintain.launch.task.DisableConstraintsTask
 
addTaskConfiguration(TaskConfiguration) - Method in class org.dbmaintain.launch.task.MarkDatabaseAsUpToDateTask
 
addTaskConfiguration(TaskConfiguration) - Method in class org.dbmaintain.launch.task.MarkErrorScriptPerformedTask
 
addTaskConfiguration(TaskConfiguration) - Method in class org.dbmaintain.launch.task.MarkErrorScriptRevertedTask
 
addTaskConfiguration(TaskConfiguration) - Method in class org.dbmaintain.launch.task.UpdateDatabaseTask
 
addTaskConfiguration(TaskConfiguration) - Method in class org.dbmaintain.launch.task.UpdateSequencesTask
 
allowOutOfSequenceExecutionOfPatches - Variable in class org.dbmaintain.launch.task.CheckScriptUpdatesTask
 
allowOutOfSequenceExecutionOfPatches - Variable in class org.dbmaintain.launch.task.UpdateDatabaseTask
 
allowOutOfSequenceExecutionOfPatches - Variable in class org.dbmaintain.maven.plugin.CheckScriptUpdatesMojo
If this property is set to true, a patch script is allowed to be executed even if another script with a higher index was already executed.
allowOutOfSequenceExecutionOfPatches - Variable in class org.dbmaintain.maven.plugin.UpdateDatabaseMojo
If this property is set to true, a patch script is allowed to be executed even if another script with a higher index was already executed.
allowOutOfSequenceExecutionOfPatchScripts - Variable in class org.dbmaintain.DefaultDbMaintainer
 
appendProcessOutput(Process) - Method in class org.dbmaintain.script.runner.impl.Application.OutputProcessor
 
appendToCurrentLine(Character) - Method in class org.dbmaintain.script.parser.impl.StatementBuilder
 
appendToStatementWithoutCommentsAndWhitespace(Character, HandleNextCharacterResult) - Method in class org.dbmaintain.script.parser.impl.StatementBuilder
 
Application - Class in org.dbmaintain.script.runner.impl
 
Application(String, String) - Constructor for class org.dbmaintain.script.runner.impl.Application
 
Application(String, String, Map<String, String>) - Constructor for class org.dbmaintain.script.runner.impl.Application
 
application - Variable in class org.dbmaintain.script.runner.impl.db2.Db2ScriptRunner
 
application - Variable in class org.dbmaintain.script.runner.impl.SqlPlusScriptRunner
 
Application.OutputProcessor - Class in org.dbmaintain.script.runner.impl
 
Application.OutputProcessor(Process) - Constructor for class org.dbmaintain.script.runner.impl.Application.OutputProcessor
 
Application.ProcessOutput - Class in org.dbmaintain.script.runner.impl
 
Application.ProcessOutput(String, int) - Constructor for class org.dbmaintain.script.runner.impl.Application.ProcessOutput
 
archiveFileName - Variable in class org.dbmaintain.launch.task.CreateScriptArchiveTask
 
archiveFileName - Variable in class org.dbmaintain.maven.plugin.CreateScriptArchiveMojo
Explicitly defines the target name for the generated script archive.
ArchiveScriptLocation - Class in org.dbmaintain.script.repository.impl
Script container that reads all scripts from a jar file
ArchiveScriptLocation(SortedSet<Script>, String, String, Set<Qualifier>, Set<Qualifier>, String, String, String, Set<String>, ScriptIndexes, boolean) - Constructor for class org.dbmaintain.script.repository.impl.ArchiveScriptLocation
Creates a new instance of the ArchiveScriptLocation, while there is no jar file available yet.
ArchiveScriptLocation(File, String, String, Set<Qualifier>, Set<Qualifier>, String, String, String, Set<String>, ScriptIndexes, boolean) - Constructor for class org.dbmaintain.script.repository.impl.ArchiveScriptLocation
Creates a new instance based on the contents of the given jar file
areScriptsAvailable() - Method in class org.dbmaintain.script.repository.ScriptRepository
 
artifactFactory - Variable in class org.dbmaintain.maven.plugin.BaseMojo
 
artifactId - Variable in class org.dbmaintain.maven.plugin.ScriptArchiveDependency
The artifact id.
assertItemsToPreserveExist(Set<DbItemIdentifier>) - Method in class org.dbmaintain.structure.clean.impl.DefaultDBCleaner
 
assertItemsToPreserveExist(Set<DbItemIdentifier>) - Method in class org.dbmaintain.structure.clear.impl.DefaultDBClearer
 
assertNoDuplicateScriptIndexes() - Method in class org.dbmaintain.script.repository.ScriptRepository
Asserts that, there are no two indexed scripts with the same version.
assertNoDuplicateScripts(Set<ScriptLocation>) - Method in class org.dbmaintain.script.repository.ScriptRepository
 
assertValidIndexes() - Method in class org.dbmaintain.script.executedscriptinfo.ScriptIndexes
 
assertValidScriptExtensions() - Method in class org.dbmaintain.script.repository.ScriptLocation
Asserts that the script extensions have the correct format
assertValidScriptLocation(File) - Method in class org.dbmaintain.script.repository.impl.ArchiveScriptLocation
Asserts that the script archive exists
assertValidScriptLocation(File) - Method in class org.dbmaintain.script.repository.impl.FileSystemScriptLocation
Asserts that the script root directory exists
assertValidScriptLocation(File) - Method in class org.dbmaintain.script.repository.ScriptLocation
Asserts that the script root directory exists
asSet(T...) - Static method in class org.dbmaintain.util.CollectionUtils
Converts the given array of elements to a set.
asSortedSet(T...) - Static method in class org.dbmaintain.util.CollectionUtils
Converts the given array of elements to a sortedset.
ASTERIX - Static variable in class org.dbmaintain.script.parser.parsingstate.impl.BaseNormalParsingState
 
autoCreateDbMaintainScriptsTable - Variable in class org.dbmaintain.launch.task.CheckScriptUpdatesTask
 
autoCreateDbMaintainScriptsTable - Variable in class org.dbmaintain.launch.task.MarkDatabaseAsUpToDateTask
 
autoCreateDbMaintainScriptsTable - Variable in class org.dbmaintain.launch.task.UpdateDatabaseTask
 
autoCreateDbMaintainScriptsTable - Variable in class org.dbmaintain.maven.plugin.CheckScriptUpdatesMojo
Sets the autoCreateDbMaintainScriptsTable property.
autoCreateDbMaintainScriptsTable - Variable in class org.dbmaintain.maven.plugin.UpdateDatabaseMojo
Sets the autoCreateDbMaintainScriptsTable property.
autoCreateExecutedScriptsTable - Variable in class org.dbmaintain.script.executedscriptinfo.impl.DefaultExecutedScriptInfoSource
 
autoDetectDatabaseDialect(String) - Static method in class org.dbmaintain.database.DatabaseDialectDetector
 

B

BACKSLASH - Static variable in class org.dbmaintain.script.parser.parsingstate.impl.BaseNormalParsingState
 
backSlashEscapingEnabled - Variable in class org.dbmaintain.script.parser.impl.DefaultScriptParser
Whether backslash escaping is enabled
backSlashEscapingEnabled - Variable in class org.dbmaintain.script.parser.impl.DefaultScriptParserFactory
 
backSlashEscapingEnabled - Variable in class org.dbmaintain.script.parser.parsingstate.impl.BaseNormalParsingState
 
backSlashEscapingEnabled - Variable in class org.dbmaintain.script.parser.parsingstate.impl.InDoubleQuotesParsingState
 
backSlashEscapingEnabled - Variable in class org.dbmaintain.script.parser.parsingstate.impl.InSingleQuotesParsingState
 
backToNormalResult - Variable in class org.dbmaintain.script.parser.parsingstate.impl.EscapingParsingState
The normal parsing state, that should be returned immediately (only one character is escaped).
backToNormalResult - Variable in class org.dbmaintain.script.parser.parsingstate.impl.InBlockCommentParsingState
The normal parsing state, that should be returned when the comment end is reached.
backToNormalResult - Variable in class org.dbmaintain.script.parser.parsingstate.impl.InCurlyBraceBlockCommentParsingState
The normal parsing state, that should be returned when the comment end is reached.
backToNormalResult - Variable in class org.dbmaintain.script.parser.parsingstate.impl.InDoubleQuotesParsingState
 
backToNormalResult - Variable in class org.dbmaintain.script.parser.parsingstate.impl.InLineCommentParsingState
 
backToNormalResult - Variable in class org.dbmaintain.script.parser.parsingstate.impl.InSingleQuotesParsingState
 
BaseAntTask - Class in org.dbmaintain.launch.ant
Base DbMaintain task
BaseAntTask() - Constructor for class org.dbmaintain.launch.ant.BaseAntTask
 
BaseDatabaseAntTask - Class in org.dbmaintain.launch.ant
Base class for ant tasks that perform operations on a database.
BaseDatabaseAntTask() - Constructor for class org.dbmaintain.launch.ant.BaseDatabaseAntTask
 
BaseDatabaseMojo - Class in org.dbmaintain.maven.plugin
 
BaseDatabaseMojo() - Constructor for class org.dbmaintain.maven.plugin.BaseDatabaseMojo
 
baseLineRevision - Variable in class org.dbmaintain.DefaultDbMaintainer
 
baseLineRevision - Variable in class org.dbmaintain.script.archive.impl.DefaultScriptArchiveCreator
 
baseLineRevision - Variable in class org.dbmaintain.script.repository.ScriptLocation
 
baseLineRevision - Variable in class org.dbmaintain.script.ScriptFactory
 
BaseMojo - Class in org.dbmaintain.maven.plugin
 
BaseMojo() - Constructor for class org.dbmaintain.maven.plugin.BaseMojo
 
BaseNativeScriptRunner - Class in org.dbmaintain.script.runner.impl
Implementation of a script runner that uses the db's native command line support, e.g.
BaseNativeScriptRunner(Databases) - Constructor for class org.dbmaintain.script.runner.impl.BaseNativeScriptRunner
 
BaseNormalParsingState - Class in org.dbmaintain.script.parser.parsingstate.impl
The default initial parsing state that is able to recognize the beginning of line comments, block comments, single and double quote literals and the ending of a statement.
BaseNormalParsingState(boolean, boolean, PlSqlBlockMatcher) - Constructor for class org.dbmaintain.script.parser.parsingstate.impl.BaseNormalParsingState
 
buildStatement() - Method in class org.dbmaintain.script.parser.impl.StatementBuilder
 

C

cachedExecutedScripts - Variable in class org.dbmaintain.script.executedscriptinfo.impl.DefaultExecutedScriptInfoSource
 
calculateScriptUpdates() - Method in class org.dbmaintain.script.analyzer.ScriptUpdatesAnalyzer
Compares the info that we have about previously executed scripts with the new scripts.
CharacterUtils - Class in org.dbmaintain.util
 
CharacterUtils() - Constructor for class org.dbmaintain.util.CharacterUtils
 
checkExecutedScriptsTable() - Method in class org.dbmaintain.script.executedscriptinfo.impl.DefaultExecutedScriptInfoSource
Checks if the version table and columns are available and if a record exists in which the version info is stored.
CheckScriptUpdatesAntTask - Class in org.dbmaintain.launch.ant
Performs a dry run of the database update.
CheckScriptUpdatesAntTask() - Constructor for class org.dbmaintain.launch.ant.CheckScriptUpdatesAntTask
 
CheckScriptUpdatesMojo - Class in org.dbmaintain.maven.plugin
Performs a dry run of the database update.
CheckScriptUpdatesMojo() - Constructor for class org.dbmaintain.maven.plugin.CheckScriptUpdatesMojo
 
CheckScriptUpdatesTask - Class in org.dbmaintain.launch.task
Performs a dry run of the database update.
CheckScriptUpdatesTask() - Constructor for class org.dbmaintain.launch.task.CheckScriptUpdatesTask
 
CheckScriptUpdatesTask(List<DbMaintainDatabase>, String, String, String, Boolean, Boolean, Boolean, String, String, String, String, String, Boolean) - Constructor for class org.dbmaintain.launch.task.CheckScriptUpdatesTask
 
checksumColumnName - Variable in class org.dbmaintain.script.executedscriptinfo.impl.DefaultExecutedScriptInfoSource
 
checksumColumnSize - Variable in class org.dbmaintain.script.executedscriptinfo.impl.DefaultExecutedScriptInfoSource
 
classifier - Variable in class org.dbmaintain.maven.plugin.ScriptArchiveDependency
The artifact classifier.
cleanDatabase() - Static method in class org.dbmaintain.launch.api.DbMaintainOperations
Removes the data of all database tables, except for the DBMAINTAIN_SCRIPTS table.
cleanDatabase() - Method in interface org.dbmaintain.structure.clean.DBCleaner
Delete all data from all database tables.
cleanDatabase() - Method in class org.dbmaintain.structure.clean.impl.DefaultDBCleaner
Deletes all data from the database, except for the tables that have been configured as tablesToPreserve , and the table in which the database version is stored
CleanDatabaseAntTask - Class in org.dbmaintain.launch.ant
Task that removes the data of all database tables, except for the DBMAINTAIN_SCRIPTS table.
CleanDatabaseAntTask() - Constructor for class org.dbmaintain.launch.ant.CleanDatabaseAntTask
 
CleanDatabaseMojo - Class in org.dbmaintain.maven.plugin
Task that removes the data of all database tables.
CleanDatabaseMojo() - Constructor for class org.dbmaintain.maven.plugin.CleanDatabaseMojo
 
CleanDatabaseTask - Class in org.dbmaintain.launch.task
Task that removes the data of all database tables, except for the DBMAINTAIN_SCRIPTS table.
CleanDatabaseTask() - Constructor for class org.dbmaintain.launch.task.CleanDatabaseTask
 
CleanDatabaseTask(List<DbMaintainDatabase>) - Constructor for class org.dbmaintain.launch.task.CleanDatabaseTask
 
cleanDb - Variable in class org.dbmaintain.DefaultDbMaintainer
 
cleanDb - Variable in class org.dbmaintain.launch.task.UpdateDatabaseTask
 
cleanDb - Variable in class org.dbmaintain.maven.plugin.UpdateDatabaseMojo
Indicates whether the database should be 'cleaned' before scripts are executed.
cleanTable(Database, String, String) - Method in class org.dbmaintain.structure.clean.impl.DefaultDBCleaner
Deletes the data in the table with the given name.
clearAllExecutedScripts() - Method in interface org.dbmaintain.script.executedscriptinfo.ExecutedScriptInfoSource
Clears all script executions that have been registered.
clearAllExecutedScripts() - Method in class org.dbmaintain.script.executedscriptinfo.impl.DefaultExecutedScriptInfoSource
Clears all script executions that have been registered.
clearDatabase() - Static method in class org.dbmaintain.launch.api.DbMaintainOperations
Removes all database items, and empties the DBMAINTAIN_SCRIPTS table.
clearDatabase() - Method in interface org.dbmaintain.structure.clear.DBClearer
Clears the database schemas.
clearDatabase() - Method in class org.dbmaintain.structure.clear.impl.DefaultDBClearer
Clears the database schemas.
clearDatabase(Database) - Method in class org.dbmaintain.structure.clear.impl.DefaultDBClearer
 
ClearDatabaseAntTask - Class in org.dbmaintain.launch.ant
Task that removes all database items like tables, views etc from the database and empties the DBMAINTAIN_SCRIPTS table.
ClearDatabaseAntTask() - Constructor for class org.dbmaintain.launch.ant.ClearDatabaseAntTask
 
ClearDatabaseMojo - Class in org.dbmaintain.maven.plugin
Task that removes all database items like tables, views etc from the database and empties the DBMAINTAIN_SCRIPTS table.
ClearDatabaseMojo() - Constructor for class org.dbmaintain.maven.plugin.ClearDatabaseMojo
 
ClearDatabaseTask - Class in org.dbmaintain.launch.task
Task that removes all database items, and empties the DBMAINTAIN_SCRIPTS table.
ClearDatabaseTask() - Constructor for class org.dbmaintain.launch.task.ClearDatabaseTask
 
ClearDatabaseTask(List<DbMaintainDatabase>) - Constructor for class org.dbmaintain.launch.task.ClearDatabaseTask
 
close() - Method in class org.dbmaintain.script.runner.impl.BaseNativeScriptRunner
 
close() - Method in class org.dbmaintain.script.runner.impl.db2.Db2ScriptRunner
 
close() - Method in class org.dbmaintain.script.runner.impl.JdbcScriptRunner
 
close() - Method in interface org.dbmaintain.script.runner.ScriptRunner
Stops the script runner, closing and cleaning up all open resources.
close() - Method in class org.dbmaintain.util.NullWriter
 
closeAllConnections() - Method in class org.dbmaintain.database.impl.DefaultSQLHandler
Closes all connections that were created and cached by this SQLHandler.
closeAllConnections() - Method in interface org.dbmaintain.database.SQLHandler
Closes all connections that were created and cached by this SQLHandler.
CollectionUtils - Class in org.dbmaintain.util
Class containing collection related utilities
CollectionUtils() - Constructor for class org.dbmaintain.util.CollectionUtils
 
CommandLine - Class in org.dbmaintain.launch.commandline
Class that exposes a set of DbMaintain operations for command line execution.
CommandLine() - Constructor for class org.dbmaintain.launch.commandline.CommandLine
 
CommandLine.DbMaintainOperation - Enum in org.dbmaintain.launch.commandline
Enum that defines all DbMaintain operations that can be invoked using this class.
CommandLineArguments - Class in org.dbmaintain.launch.commandline
Data object that exposes the command line arguments that were passed to DbMaintain
CommandLineArguments(String[]) - Constructor for class org.dbmaintain.launch.commandline.CommandLineArguments
 
compareTo(ScriptUpdate) - Method in class org.dbmaintain.script.analyzer.ScriptUpdate
 
compareTo(ExecutedScript) - Method in class org.dbmaintain.script.ExecutedScript
 
compareTo(ScriptIndexes) - Method in class org.dbmaintain.script.executedscriptinfo.ScriptIndexes
Compares the given version to this version using the index values.
compareTo(Script) - Method in class org.dbmaintain.script.Script
Compares the given script to this script by comparing the versions.
configFile - Variable in class org.dbmaintain.maven.plugin.BaseMojo
The DbMaintain configuration file (common for native dbMaintain, through ant or this maven-plugin).
configuration - Variable in class org.dbmaintain.database.DatabaseInfoFactory
 
configuration - Variable in class org.dbmaintain.database.DatabasesFactory
 
configuration - Variable in class org.dbmaintain.database.IdentifierProcessorFactory
 
configuration - Variable in class org.dbmaintain.MainFactory
 
ConfigUtils - Class in org.dbmaintain.config
Class containing configuration related utilities
ConfigUtils() - Constructor for class org.dbmaintain.config.ConfigUtils
 
constraintsDisabler - Variable in class org.dbmaintain.DefaultDbMaintainer
 
constraintsDisabler - Variable in class org.dbmaintain.structure.clear.impl.DefaultDBClearer
 
ConstraintsDisabler - Interface in org.dbmaintain.structure.constraint
A task for disabling all foreign key, check and not-null constraints on a database schema.
ConstraintsDisablerFactory - Class in org.dbmaintain.structure.constraint
 
ConstraintsDisablerFactory() - Constructor for class org.dbmaintain.structure.constraint.ConstraintsDisablerFactory
 
containsExcludedQualifier(Set<Qualifier>) - Method in class org.dbmaintain.script.qualifier.impl.IncludeExcludeQualifierEvaluator
 
containsIncludedQualifier(Set<Qualifier>) - Method in class org.dbmaintain.script.qualifier.impl.IncludeExcludeQualifierEvaluator
 
containsProperty(String, Properties) - Static method in class org.dbmaintain.config.PropertyUtils
Checks whether the property with the given name exists in the System or in the given properties.
continueExecutionAfterPass() - Method in class org.dbmaintain.structure.clear.impl.MultiPassErrorHandler
We stop execution if: We have no exceptions during the most recent pass.
createApplication(String) - Method in class org.dbmaintain.script.runner.impl.db2.Db2ScriptRunner
 
createApplication(String) - Method in class org.dbmaintain.script.runner.impl.SqlPlusScriptRunner
 
createConstraintsDisabler() - Method in class org.dbmaintain.MainFactory
 
createDatabase(DatabaseConnection) - Method in class org.dbmaintain.database.DatabasesFactory
 
createDatabaseConnection(String) - Method in class org.dbmaintain.database.impl.DefaultDatabaseConnectionManager
 
createDatabaseInfo(String, boolean, boolean) - Method in class org.dbmaintain.database.DatabaseInfoFactory
 
createDatabaseInfoFactory(Properties) - Method in class org.dbmaintain.database.impl.DefaultDatabaseConnectionManager
 
createDatabaseInfos() - Method in class org.dbmaintain.database.DatabaseInfoFactory
 
createDatabases() - Method in class org.dbmaintain.database.DatabasesFactory
 
createDataSource(DatabaseInfo) - Method in interface org.dbmaintain.datasource.DataSourceFactory
 
createDataSource(DatabaseInfo) - Method in class org.dbmaintain.datasource.impl.SimpleDataSourceFactory
 
createDataSource(DatabaseInfo) - Static method in class org.dbmaintain.datasource.SimpleDataSource
Static factory that returns a data source providing access to the database using the driver with the given driver class name, the given connection url, user name and password
createDBCleaner() - Method in class org.dbmaintain.MainFactory
 
createDBClearer() - Method in class org.dbmaintain.MainFactory
 
createDbMaintainer() - Method in class org.dbmaintain.MainFactory
 
createDbMaintainTask() - Method in class org.dbmaintain.launch.ant.BaseAntTask
 
createDbMaintainTask() - Method in class org.dbmaintain.launch.ant.CheckScriptUpdatesAntTask
 
createDbMaintainTask() - Method in class org.dbmaintain.launch.ant.CleanDatabaseAntTask
 
createDbMaintainTask() - Method in class org.dbmaintain.launch.ant.ClearDatabaseAntTask
 
createDbMaintainTask() - Method in class org.dbmaintain.launch.ant.CreateScriptArchiveAntTask
 
createDbMaintainTask() - Method in class org.dbmaintain.launch.ant.DisableConstraintsAntTask
 
createDbMaintainTask() - Method in class org.dbmaintain.launch.ant.MarkDatabaseAsUpToDateAntTask
 
createDbMaintainTask() - Method in class org.dbmaintain.launch.ant.MarkErrorScriptPerformedAntTask
 
createDbMaintainTask() - Method in class org.dbmaintain.launch.ant.MarkErrorScriptRevertedAntTask
 
createDbMaintainTask() - Method in class org.dbmaintain.launch.ant.UpdateDatabaseAntTask
 
createDbMaintainTask() - Method in class org.dbmaintain.launch.ant.UpdateSequencesAntTask
 
createDbMaintainTask(List<DbMaintainDatabase>) - Method in class org.dbmaintain.maven.plugin.BaseDatabaseMojo
 
createDbMaintainTask() - Method in class org.dbmaintain.maven.plugin.BaseDatabaseMojo
 
createDbMaintainTask() - Method in class org.dbmaintain.maven.plugin.BaseMojo
 
createDbMaintainTask(List<DbMaintainDatabase>) - Method in class org.dbmaintain.maven.plugin.CheckScriptUpdatesMojo
 
createDbMaintainTask(List<DbMaintainDatabase>) - Method in class org.dbmaintain.maven.plugin.CleanDatabaseMojo
 
createDbMaintainTask(List<DbMaintainDatabase>) - Method in class org.dbmaintain.maven.plugin.ClearDatabaseMojo
 
createDbMaintainTask() - Method in class org.dbmaintain.maven.plugin.CreateScriptArchiveMojo
 
createDbMaintainTask(List<DbMaintainDatabase>) - Method in class org.dbmaintain.maven.plugin.DisableConstraintsMojo
 
createDbMaintainTask(List<DbMaintainDatabase>) - Method in class org.dbmaintain.maven.plugin.MarkDatabaseAsUpToDateMojo
 
createDbMaintainTask(List<DbMaintainDatabase>) - Method in class org.dbmaintain.maven.plugin.MarkErrorScriptPerformedMojo
 
createDbMaintainTask(List<DbMaintainDatabase>) - Method in class org.dbmaintain.maven.plugin.MarkErrorScriptRevertedMojo
 
createDbMaintainTask(List<DbMaintainDatabase>) - Method in class org.dbmaintain.maven.plugin.UpdateDatabaseMojo
 
createDbMaintainTask(List<DbMaintainDatabase>) - Method in class org.dbmaintain.maven.plugin.UpdateSequencesMojo
 
createEscapingParsingState() - Method in class org.dbmaintain.script.parser.impl.DefaultScriptParserFactory
 
createExecutedScriptInfoSource() - Method in class org.dbmaintain.MainFactory
 
createExecutedScriptsTable() - Method in class org.dbmaintain.script.executedscriptinfo.impl.DefaultExecutedScriptInfoSource
Creates the version table and inserts a version record.
createFactoryForType(Class<?>) - Method in class org.dbmaintain.MainFactory
 
createFactoryWithDatabaseContext() - Method in class org.dbmaintain.MainFactory
 
createFile(File, Reader) - Static method in class org.dbmaintain.util.FileUtils
Creates a file and write the given content to it.
createFile(File, String) - Static method in class org.dbmaintain.util.FileUtils
Creates a file and write the given content to it.
createIdentifierProcessor(String, String, DataSource) - Method in class org.dbmaintain.database.IdentifierProcessorFactory
 
createInBlockCommentParsingState() - Method in class org.dbmaintain.script.parser.impl.DefaultScriptParserFactory
Factory method for the in-block comment (/ * comment * /) parsing state.
createInCurlyBraceBlockCommentParsingState() - Method in class org.dbmaintain.script.parser.impl.DefaultScriptParserFactory
Factory method for the in-block comment ({ comment }) parsing state.
createInDoubleQuotesParsingState() - Method in class org.dbmaintain.script.parser.impl.DefaultScriptParserFactory
Factory method for the double quotes ("text") literal parsing state.
createInLineCommentParsingState() - Method in class org.dbmaintain.script.parser.impl.DefaultScriptParserFactory
Factory method for the in-line comment (-- comment) parsing state.
createInSingleQuotesParsingState() - Method in class org.dbmaintain.script.parser.impl.DefaultScriptParserFactory
Factory method for the single quotes ('text') parsing state.
createInstance() - Method in interface org.dbmaintain.config.Factory
 
createInstance() - Method in class org.dbmaintain.DbMaintainerFactory
 
createInstance(Class<S>) - Method in class org.dbmaintain.MainFactory
 
createInstance() - Method in class org.dbmaintain.script.archive.ScriptArchiveCreatorFactory
 
createInstance() - Method in class org.dbmaintain.script.executedscriptinfo.ExecutedScriptInfoSourceFactory
 
createInstance() - Method in class org.dbmaintain.script.runner.Db2ScriptRunnerFactory
 
createInstance() - Method in class org.dbmaintain.script.runner.JdbcScriptRunnerFactory
 
createInstance() - Method in class org.dbmaintain.script.runner.SqlPlusScriptRunnerFactory
 
createInstance() - Method in class org.dbmaintain.structure.clean.DBCleanerFactory
 
createInstance() - Method in class org.dbmaintain.structure.clear.DBClearerFactory
 
createInstance() - Method in class org.dbmaintain.structure.constraint.ConstraintsDisablerFactory
 
createInstance() - Method in class org.dbmaintain.structure.sequence.SequenceUpdaterFactory
 
createInstanceOfType(String, boolean) - Static method in class org.dbmaintain.util.ReflectionUtils
Creates an instance of the class with the given name.
createInstanceOfType(Class<T>, boolean, Class<?>[], Object[]) - Static method in class org.dbmaintain.util.ReflectionUtils
Creates an instance of the given type
createJarFile(File) - Method in class org.dbmaintain.script.repository.impl.ArchiveScriptLocation
 
createMainFactory(TaskConfiguration) - Method in class org.dbmaintain.launch.task.DbMaintainTask
 
createNormalParsingStates() - Method in class org.dbmaintain.script.parser.impl.DefaultScriptParserFactory
Creates all the parsing states needed by a script parser when in normal (not stored procedure) state and connects them together.
createProcessBuilder(List<String>) - Method in class org.dbmaintain.script.runner.impl.Application
 
createQualifierEvaluator(Set<ScriptLocation>) - Method in class org.dbmaintain.config.FactoryContext
 
createQualifiers(List<String>) - Method in class org.dbmaintain.config.FactoryContext
 
createQualifiers(List<String>) - Method in class org.dbmaintain.script.repository.ScriptLocation
 
createScript(File, String) - Method in class org.dbmaintain.script.repository.impl.FileSystemScriptLocation
Creates a script object for the given script file
createScript(String, Long, ScriptContentHandle) - Method in class org.dbmaintain.script.repository.ScriptLocation
 
createScriptArchive(String) - Static method in class org.dbmaintain.launch.api.DbMaintainOperations
Creates an archive file containing all scripts in all configured script locations
createScriptArchive(String) - Method in class org.dbmaintain.script.archive.impl.DefaultScriptArchiveCreator
Creates a archive file containing all scripts in all configured script locations
createScriptArchive(String) - Method in interface org.dbmaintain.script.archive.ScriptArchiveCreator
Creates a archive file containing all scripts in all configured script locations
CreateScriptArchiveAntTask - Class in org.dbmaintain.launch.ant
Task that enables creating a jar file that packages all database update scripts.
CreateScriptArchiveAntTask() - Constructor for class org.dbmaintain.launch.ant.CreateScriptArchiveAntTask
 
createScriptArchiveCreator() - Method in class org.dbmaintain.MainFactory
 
CreateScriptArchiveMojo - Class in org.dbmaintain.maven.plugin
Task that enables creating a jar file that packages all database update scripts.
CreateScriptArchiveMojo() - Constructor for class org.dbmaintain.maven.plugin.CreateScriptArchiveMojo
 
CreateScriptArchiveTask - Class in org.dbmaintain.launch.task
Task that enables creating a jar file that packages all database update scripts. to apply changes on a target database.
CreateScriptArchiveTask() - Constructor for class org.dbmaintain.launch.task.CreateScriptArchiveTask
 
CreateScriptArchiveTask(String, String, String, String, String, String, String) - Constructor for class org.dbmaintain.launch.task.CreateScriptArchiveTask
 
createScriptFactory() - Method in class org.dbmaintain.script.repository.ScriptLocation
 
createScriptLocation(String) - Method in class org.dbmaintain.config.FactoryContext
 
createScriptParser(Reader) - Method in class org.dbmaintain.script.parser.impl.DefaultScriptParserFactory
 
createScriptParser(Reader) - Method in interface org.dbmaintain.script.parser.ScriptParserFactory
 
createScriptRepository() - Method in class org.dbmaintain.config.FactoryContext
 
createScriptRunner() - Method in class org.dbmaintain.MainFactory
 
createScriptUpdatesFormatter() - Method in class org.dbmaintain.DbMaintainerFactory
 
createScriptWithContent(String, Long, ScriptContentHandle) - Method in class org.dbmaintain.script.ScriptFactory
 
createScriptWithoutContent(String, Long, String) - Method in class org.dbmaintain.script.ScriptFactory
 
createSequenceUpdater() - Method in class org.dbmaintain.MainFactory
 
createSqlHandler() - Method in class org.dbmaintain.MainFactory
 
createSqlStatementNormalParsingState() - Method in class org.dbmaintain.script.parser.impl.DefaultScriptParserFactory
Factory method for the normal sql statement parsing state.
createStatementBuilder() - Method in class org.dbmaintain.script.parser.impl.DefaultScriptParser
Factory method for the statement builder.
createStoredProcedureMatcher() - Method in class org.dbmaintain.script.parser.impl.Db2ScriptParserFactory
 
createStoredProcedureMatcher() - Method in class org.dbmaintain.script.parser.impl.DefaultScriptParserFactory
Factory method that returns the correct implementation of PlSqlBlockMatcher
createStoredProcedureMatcher() - Method in class org.dbmaintain.script.parser.impl.MySqlScriptParserFactory
 
createStoredProcedureMatcher() - Method in class org.dbmaintain.script.parser.impl.OracleScriptParserFactory
 
createStoredProcedureMatcher() - Method in class org.dbmaintain.script.parser.impl.PostgreSqlScriptParserFactory
 
createStoredProcedureNormalParsingState() - Method in class org.dbmaintain.script.parser.impl.DefaultScriptParserFactory
Factory method for the normal stored procedure parsing state.
createStoredProcedureParsingStates() - Method in class org.dbmaintain.script.parser.impl.DefaultScriptParserFactory
Creates all the parsing states needed by a script parser when in stored procedure state and connects them together.
createTemporaryScriptFile(Script) - Method in class org.dbmaintain.script.runner.impl.BaseNativeScriptRunner
 
createTemporaryScriptsDir() - Method in class org.dbmaintain.script.runner.impl.BaseNativeScriptRunner
 
curlyBraceBlockCommentSupported - Variable in class org.dbmaintain.script.parser.parsingstate.impl.BaseNormalParsingState
 
currentChar - Variable in class org.dbmaintain.script.parser.impl.DefaultScriptParser
The current parsed character

D

DASH - Static variable in class org.dbmaintain.script.parser.parsingstate.impl.BaseNormalParsingState
 
Database - Class in org.dbmaintain.database
Helper class that implements a number of common operations on a database schema.
Database(DatabaseConnection, IdentifierProcessor) - Constructor for class org.dbmaintain.database.Database
 
Database - Class in org.dbmaintain.launch.ant
 
Database() - Constructor for class org.dbmaintain.launch.ant.Database
 
Database(String, boolean, String, String, String, String, String, String) - Constructor for class org.dbmaintain.launch.ant.Database
 
Database - Class in org.dbmaintain.maven.plugin
 
Database() - Constructor for class org.dbmaintain.maven.plugin.Database
 
Database(String, boolean, String, String, String, String, String, String) - Constructor for class org.dbmaintain.maven.plugin.Database
 
databaseConnection - Variable in class org.dbmaintain.database.Database
 
DatabaseConnection - Class in org.dbmaintain.database
 
DatabaseConnection(DatabaseInfo, SQLHandler, DataSource) - Constructor for class org.dbmaintain.database.DatabaseConnection
 
DatabaseConnectionManager - Interface in org.dbmaintain.database
 
databaseConnectionManager - Variable in class org.dbmaintain.database.DatabasesFactory
 
databaseConnectionManager - Variable in class org.dbmaintain.MainFactory
 
databaseConnectionsPerDatabaseName - Variable in class org.dbmaintain.database.impl.DefaultDatabaseConnectionManager
 
DatabaseDialectDetector - Class in org.dbmaintain.database
 
DatabaseDialectDetector() - Constructor for class org.dbmaintain.database.DatabaseDialectDetector
 
databaseDialectScriptParserFactoryMap - Variable in class org.dbmaintain.script.runner.impl.JdbcScriptRunner
 
DatabaseException - Exception in org.dbmaintain.database
 
DatabaseException() - Constructor for exception org.dbmaintain.database.DatabaseException
Constructor for DbMaintainException.
DatabaseException(String, Throwable) - Constructor for exception org.dbmaintain.database.DatabaseException
Constructor for DbMaintainException.
DatabaseException(String) - Constructor for exception org.dbmaintain.database.DatabaseException
Constructor for DbMaintainException.
DatabaseException(Throwable) - Constructor for exception org.dbmaintain.database.DatabaseException
Constructor for DbMaintainException.
DatabaseInfo - Class in org.dbmaintain.database
 
DatabaseInfo(String, String, String, String, String, String, List<String>, boolean, boolean) - Constructor for class org.dbmaintain.database.DatabaseInfo
 
DatabaseInfoFactory - Class in org.dbmaintain.database
 
DatabaseInfoFactory(Properties) - Constructor for class org.dbmaintain.database.DatabaseInfoFactory
 
databaseInfoFactory - Variable in class org.dbmaintain.database.impl.DefaultDatabaseConnectionManager
 
databaseInfos - Variable in class org.dbmaintain.database.impl.DefaultDatabaseConnectionManager
 
databaseName - Variable in class org.dbmaintain.script.runner.impl.db2.Db2ConnectionInfo
 
Databases - Class in org.dbmaintain.database
 
Databases(Database, List<Database>, List<String>) - Constructor for class org.dbmaintain.database.Databases
 
databases - Variable in class org.dbmaintain.launch.ant.BaseDatabaseAntTask
 
databases - Variable in class org.dbmaintain.launch.task.DbMaintainDatabaseTask
 
databases - Variable in class org.dbmaintain.MainFactory
 
databases - Variable in class org.dbmaintain.maven.plugin.BaseDatabaseMojo
Database instance configuration.
databases - Variable in class org.dbmaintain.script.runner.impl.BaseNativeScriptRunner
 
databases - Variable in class org.dbmaintain.script.runner.impl.JdbcScriptRunner
 
databases - Variable in class org.dbmaintain.structure.clean.impl.DefaultDBCleaner
 
databases - Variable in class org.dbmaintain.structure.clear.impl.DefaultDBClearer
 
databases - Variable in class org.dbmaintain.structure.constraint.impl.DefaultConstraintsDisabler
 
databases - Variable in class org.dbmaintain.structure.sequence.impl.DefaultSequenceUpdater
 
DatabasesFactory - Class in org.dbmaintain.database
 
DatabasesFactory(Properties, DatabaseConnectionManager) - Constructor for class org.dbmaintain.database.DatabasesFactory
 
dataSourceFactory - Variable in class org.dbmaintain.database.impl.DefaultDatabaseConnectionManager
 
DataSourceFactory - Interface in org.dbmaintain.datasource
 
dataSourcesPerDatabaseName - Variable in class org.dbmaintain.database.impl.DefaultDatabaseConnectionManager
 
dataSourcesPerDatabaseName - Variable in class org.dbmaintain.MainFactory
 
Db2ConnectionInfo - Class in org.dbmaintain.script.runner.impl.db2
 
Db2ConnectionInfo(String, String, String) - Constructor for class org.dbmaintain.script.runner.impl.db2.Db2ConnectionInfo
 
Db2ConnectionInfo(String, String, String, String, String, String) - Constructor for class org.dbmaintain.script.runner.impl.db2.Db2ConnectionInfo
 
db2ConnectionInfos - Variable in class org.dbmaintain.script.runner.impl.db2.Db2ScriptRunner
 
Db2Database - Class in org.dbmaintain.database.impl
Implementation of Database for an IBM DB2 database
Db2Database(DatabaseConnection, IdentifierProcessor) - Constructor for class org.dbmaintain.database.impl.Db2Database
 
Db2PlSqlBlockMatcher - Class in org.dbmaintain.script.parser.parsingstate.impl
 
Db2PlSqlBlockMatcher() - Constructor for class org.dbmaintain.script.parser.parsingstate.impl.Db2PlSqlBlockMatcher
 
Db2ScriptParserFactory - Class in org.dbmaintain.script.parser.impl
 
Db2ScriptParserFactory(boolean, Properties) - Constructor for class org.dbmaintain.script.parser.impl.Db2ScriptParserFactory
 
Db2ScriptRunner - Class in org.dbmaintain.script.runner.impl.db2
todo javadoc
Db2ScriptRunner(Databases, String) - Constructor for class org.dbmaintain.script.runner.impl.db2.Db2ScriptRunner
 
Db2ScriptRunnerFactory - Class in org.dbmaintain.script.runner
 
Db2ScriptRunnerFactory() - Constructor for class org.dbmaintain.script.runner.Db2ScriptRunnerFactory
 
dbCleaner - Variable in class org.dbmaintain.DefaultDbMaintainer
 
DBCleaner - Interface in org.dbmaintain.structure.clean
Defines the contract for implementations that delete data from the database, that could cause problems when performing updates to the database, such as adding not null columns or foreign key constraints.
DBCleanerFactory - Class in org.dbmaintain.structure.clean
 
DBCleanerFactory() - Constructor for class org.dbmaintain.structure.clean.DBCleanerFactory
 
dbClearer - Variable in class org.dbmaintain.DefaultDbMaintainer
 
DBClearer - Interface in org.dbmaintain.structure.clear
Defines the contract for implementations that clear a database schema, so that it can for instance be recreated from scratch by the DefaultDbMaintainer
DBClearerFactory - Class in org.dbmaintain.structure.clear
 
DBClearerFactory() - Constructor for class org.dbmaintain.structure.clear.DBClearerFactory
 
DbItemIdentifier - Class in org.dbmaintain.structure.model
 
DbItemType - Enum in org.dbmaintain.structure.model
 
DBMAINTAIN_PROPERTIES - Static variable in class org.dbmaintain.launch.commandline.CommandLine
 
DbMaintainConfigurationLoader - Class in org.dbmaintain.config
Utility that loads the configuration of DbMaintain.
DbMaintainConfigurationLoader() - Constructor for class org.dbmaintain.config.DbMaintainConfigurationLoader
 
DbMaintainDatabase - Class in org.dbmaintain.launch.task
 
DbMaintainDatabase() - Constructor for class org.dbmaintain.launch.task.DbMaintainDatabase
 
DbMaintainDatabase(String, boolean, String, String, String, String, String, String, DataSource) - Constructor for class org.dbmaintain.launch.task.DbMaintainDatabase
 
DbMaintainDatabaseTask - Class in org.dbmaintain.launch.task
Base DbMaintain task
DbMaintainDatabaseTask() - Constructor for class org.dbmaintain.launch.task.DbMaintainDatabaseTask
 
DbMaintainDatabaseTask(List<DbMaintainDatabase>) - Constructor for class org.dbmaintain.launch.task.DbMaintainDatabaseTask
 
DbMaintainer - Interface in org.dbmaintain
Defines the contract for classes that perform automatic maintenance of a database.
DbMaintainerFactory - Class in org.dbmaintain
 
DbMaintainerFactory() - Constructor for class org.dbmaintain.DbMaintainerFactory
 
DbMaintainException - Exception in org.dbmaintain.util
 
DbMaintainException() - Constructor for exception org.dbmaintain.util.DbMaintainException
Constructor for DbMaintainException.
DbMaintainException(String, Throwable) - Constructor for exception org.dbmaintain.util.DbMaintainException
Constructor for DbMaintainException.
DbMaintainException(String) - Constructor for exception org.dbmaintain.util.DbMaintainException
Constructor for DbMaintainException.
DbMaintainException(Throwable) - Constructor for exception org.dbmaintain.util.DbMaintainException
Constructor for DbMaintainException.
DbMaintainOperations - Class in org.dbmaintain.launch.api
Class that offers static methods that expose all available DbMaintain operations.
DbMaintainOperations() - Constructor for class org.dbmaintain.launch.api.DbMaintainOperations
 
DbMaintainProperties - Class in org.dbmaintain.config
 
DbMaintainTask - Class in org.dbmaintain.launch.task
Base DbMaintain task
DbMaintainTask() - Constructor for class org.dbmaintain.launch.task.DbMaintainTask
 
DEFAULT_PORT - Static variable in class org.dbmaintain.script.runner.impl.db2.Db2ConnectionInfo
 
DEFAULT_PROPERTIES_FILE_NAME - Static variable in class org.dbmaintain.config.DbMaintainConfigurationLoader
Name of the fixed configuration file that contains all defaults
DefaultConstraintsDisabler - Class in org.dbmaintain.structure.constraint.impl
Default implementation of ConstraintsDisabler.
DefaultConstraintsDisabler(Databases) - Constructor for class org.dbmaintain.structure.constraint.impl.DefaultConstraintsDisabler
Creates the constraints disabler.
defaultDatabase - Variable in class org.dbmaintain.script.executedscriptinfo.impl.DefaultExecutedScriptInfoSource
 
DefaultDatabaseConnectionManager - Class in org.dbmaintain.database.impl
 
DefaultDatabaseConnectionManager(Properties, SQLHandler, DataSourceFactory) - Constructor for class org.dbmaintain.database.impl.DefaultDatabaseConnectionManager
 
DefaultDatabaseConnectionManager(Properties, SQLHandler, DataSourceFactory, Map<String, DataSource>) - Constructor for class org.dbmaintain.database.impl.DefaultDatabaseConnectionManager
 
DefaultDBCleaner - Class in org.dbmaintain.structure.clean.impl
Implementation of DBCleaner.
DefaultDBCleaner(Databases, Set<DbItemIdentifier>, SQLHandler) - Constructor for class org.dbmaintain.structure.clean.impl.DefaultDBCleaner
Constructor for DefaultDBCleaner.
DefaultDBClearer - Class in org.dbmaintain.structure.clear.impl
Implementation of DBClearer.
DefaultDBClearer(Databases, Set<DbItemIdentifier>, ConstraintsDisabler, ExecutedScriptInfoSource) - Constructor for class org.dbmaintain.structure.clear.impl.DefaultDBClearer
 
DefaultDbMaintainer - Class in org.dbmaintain
Class that offers operations for automatically maintaining a database.
DefaultDbMaintainer(ScriptRunner, ScriptRepository, ExecutedScriptInfoSource, boolean, boolean, boolean, boolean, boolean, boolean, DBClearer, DBCleaner, ConstraintsDisabler, SequenceUpdater, ScriptUpdatesFormatter, SQLHandler, long, ScriptIndexes) - Constructor for class org.dbmaintain.DefaultDbMaintainer
Creates a new instance
DefaultExecutedScriptInfoSource - Class in org.dbmaintain.script.executedscriptinfo.impl
Implementation of VersionSource that stores the version in the database.
DefaultExecutedScriptInfoSource(boolean, String, String, int, String, String, int, String, int, String, DateFormat, Database, SQLHandler, ScriptFactory) - Constructor for class org.dbmaintain.script.executedscriptinfo.impl.DefaultExecutedScriptInfoSource
 
defaultSchemaName - Variable in class org.dbmaintain.database.IdentifierProcessor
 
DefaultScriptArchiveCreator - Class in org.dbmaintain.script.archive.impl
Creates a archive file containing all scripts in all configured script locations
DefaultScriptArchiveCreator(ScriptRepository, String, String, Set<Qualifier>, Set<Qualifier>, String, String, String, Set<String>, ScriptIndexes, boolean) - Constructor for class org.dbmaintain.script.archive.impl.DefaultScriptArchiveCreator
 
DefaultScriptParser - Class in org.dbmaintain.script.parser.impl
A class for parsing statements out of sql scripts.
DefaultScriptParser(Reader, ParsingState, boolean, Properties) - Constructor for class org.dbmaintain.script.parser.impl.DefaultScriptParser
Constructor for DefaultScriptParser.
DefaultScriptParserFactory - Class in org.dbmaintain.script.parser.impl
 
DefaultScriptParserFactory(boolean, Properties) - Constructor for class org.dbmaintain.script.parser.impl.DefaultScriptParserFactory
 
DefaultSequenceUpdater - Class in org.dbmaintain.structure.sequence.impl
Implementation of SequenceUpdater.
DefaultSequenceUpdater(long, Databases) - Constructor for class org.dbmaintain.structure.sequence.impl.DefaultSequenceUpdater
 
DefaultSQLHandler - Class in org.dbmaintain.database.impl
Class to which database updates and queries are passed.
DefaultSQLHandler() - Constructor for class org.dbmaintain.database.impl.DefaultSQLHandler
Constructs a new instance that connects to the given DataSource
DefaultSQLHandler(boolean) - Constructor for class org.dbmaintain.database.impl.DefaultSQLHandler
Constructs a new instance that connects to the given DataSource
deleteAllExecutedPostprocessingScripts() - Method in interface org.dbmaintain.script.executedscriptinfo.ExecutedScriptInfoSource
Removes all previously registered executed postprocessing scripts
deleteAllExecutedPostprocessingScripts() - Method in class org.dbmaintain.script.executedscriptinfo.impl.DefaultExecutedScriptInfoSource
 
deleteExecutedScript(ExecutedScript) - Method in interface org.dbmaintain.script.executedscriptinfo.ExecutedScriptInfoSource
Remove the given executed script from the executed scripts
deleteExecutedScript(ExecutedScript) - Method in class org.dbmaintain.script.executedscriptinfo.impl.DefaultExecutedScriptInfoSource
Remove the given executed script from the executed scripts
DerbyDatabase - Class in org.dbmaintain.database.impl
Implementation of Database for a Derby database.
DerbyDatabase(DatabaseConnection, IdentifierProcessor) - Constructor for class org.dbmaintain.database.impl.DerbyDatabase
 
determineIdentifierQuoteString(String, DataSource) - Method in class org.dbmaintain.database.IdentifierProcessorFactory
Determines the string used to quote identifiers to make them case-sensitive.
determineStoredIdentifierCase(StoredIdentifierCase, DataSource) - Method in class org.dbmaintain.database.IdentifierProcessorFactory
Determines the case the database uses to store non-quoted identifiers.
disableCheckAndUniqueConstraints(String) - Method in class org.dbmaintain.database.impl.HsqldbDatabase
Disables all check and unique constraints on all tables in the schema
disableCheckConstraints(String) - Method in class org.dbmaintain.database.impl.MsSqlDatabase
Drops all check constraints from the given schema
disableConstraints(String, String) - Method in class org.dbmaintain.database.impl.InformixDatabase
 
disableConstraints - Variable in class org.dbmaintain.DefaultDbMaintainer
 
disableConstraints() - Static method in class org.dbmaintain.launch.api.DbMaintainOperations
Disables or drops all foreign key and not null constraints.
disableConstraints - Variable in class org.dbmaintain.launch.task.UpdateDatabaseTask
 
disableConstraints - Variable in class org.dbmaintain.maven.plugin.UpdateDatabaseMojo
If set to true, all foreign key and not null constraints of the database are automatically disabled before and after the execution of the scripts.
disableConstraints() - Method in interface org.dbmaintain.structure.constraint.ConstraintsDisabler
Disables all constraints of the database schemas.
disableConstraints() - Method in class org.dbmaintain.structure.constraint.impl.DefaultConstraintsDisabler
Disable every foreign key or not-null constraint
DisableConstraintsAntTask - Class in org.dbmaintain.launch.ant
Task that disables or drops all foreign key and not null constraints.
DisableConstraintsAntTask() - Constructor for class org.dbmaintain.launch.ant.DisableConstraintsAntTask
 
DisableConstraintsMojo - Class in org.dbmaintain.maven.plugin
Task that disables or drops all foreign key and not null constraints.
DisableConstraintsMojo() - Constructor for class org.dbmaintain.maven.plugin.DisableConstraintsMojo
 
DisableConstraintsTask - Class in org.dbmaintain.launch.task
Task that disables or drops all foreign key and not null constraints.
DisableConstraintsTask() - Constructor for class org.dbmaintain.launch.task.DisableConstraintsTask
 
DisableConstraintsTask(List<DbMaintainDatabase>) - Constructor for class org.dbmaintain.launch.task.DisableConstraintsTask
 
disableNotNullConstraints(String) - Method in class org.dbmaintain.database.impl.HsqldbDatabase
Disables all not null constraints on all tables in the schema
disableNotNullConstraints(String) - Method in class org.dbmaintain.database.impl.MsSqlDatabase
Drops not-null constraints on the given table.
disableReferentialConstraints() - Method in class org.dbmaintain.database.Database
Disables all referential constraints (e.g. foreign keys) on all table in the default schema
disableReferentialConstraints(String) - Method in class org.dbmaintain.database.Database
Disables all referential constraints (e.g. foreign keys) on all table in the given schema
disableReferentialConstraints(String) - Method in class org.dbmaintain.database.impl.Db2Database
Disables all referential constraints (e.g. foreign keys) on all table in the schema
disableReferentialConstraints(String, String) - Method in class org.dbmaintain.database.impl.Db2Database
 
disableReferentialConstraints(String) - Method in class org.dbmaintain.database.impl.DerbyDatabase
Disables all referential constraints (e.g. foreign keys) on all table in the schema
disableReferentialConstraints(String, String) - Method in class org.dbmaintain.database.impl.DerbyDatabase
 
disableReferentialConstraints(String) - Method in class org.dbmaintain.database.impl.HsqldbDatabase
Disables all referential constraints (e.g. foreign keys) on all table in the schema
disableReferentialConstraints(String) - Method in class org.dbmaintain.database.impl.InformixDatabase
 
disableReferentialConstraints(String) - Method in class org.dbmaintain.database.impl.MsSqlDatabase
Disables all referential constraints (e.g. foreign keys) on all table in the schema
disableReferentialConstraints(String) - Method in class org.dbmaintain.database.impl.MySqlDatabase
Disables all referential constraints (e.g. foreign keys) on all table in the schema
disableReferentialConstraints(String, String) - Method in class org.dbmaintain.database.impl.MySqlDatabase
 
disableReferentialConstraints(String) - Method in class org.dbmaintain.database.impl.OracleDatabase
Disables all referential constraints (e.g. foreign keys) on all table in the schema
disableReferentialConstraints(String) - Method in class org.dbmaintain.database.impl.PostgreSqlDatabase
Disables all referential constraints (e.g. foreign keys) on all table in the schema
disableReferentialConstraints(String, String) - Method in class org.dbmaintain.database.impl.PostgreSqlDatabase
 
disableReferentialConstraints() - Method in interface org.dbmaintain.structure.constraint.ConstraintsDisabler
 
disableReferentialConstraints() - Method in class org.dbmaintain.structure.constraint.impl.DefaultConstraintsDisabler
 
disableUniqueConstraints(String) - Method in class org.dbmaintain.database.impl.MsSqlDatabase
Drops all unique constraints from the given schema (not the primary key constraints)
disableValueConstraints() - Method in class org.dbmaintain.database.Database
Disables all value constraints (e.g. not null) on all tables in the default schema
disableValueConstraints(String) - Method in class org.dbmaintain.database.Database
Disables all value constraints (e.g. not null) on all tables in the given schema
disableValueConstraints(String) - Method in class org.dbmaintain.database.impl.Db2Database
Disables all value constraints (e.g. not null) on all tables in the schema
disableValueConstraints(String, String) - Method in class org.dbmaintain.database.impl.Db2Database
 
disableValueConstraints(String) - Method in class org.dbmaintain.database.impl.DerbyDatabase
Disables all value constraints (e.g. not null) on all tables in the schema
disableValueConstraints(String, String) - Method in class org.dbmaintain.database.impl.DerbyDatabase
 
disableValueConstraints(String) - Method in class org.dbmaintain.database.impl.HsqldbDatabase
Disables all value constraints (e.g. not null) on all tables in the schema
disableValueConstraints(String) - Method in class org.dbmaintain.database.impl.InformixDatabase
 
disableValueConstraints(String) - Method in class org.dbmaintain.database.impl.MsSqlDatabase
Disables all value constraints (e.g. not null) on all tables in the schema
disableValueConstraints(String) - Method in class org.dbmaintain.database.impl.MySqlDatabase
Disables all value constraints (e.g. not null) on all tables in the schema
disableValueConstraints(String, String) - Method in class org.dbmaintain.database.impl.MySqlDatabase
 
disableValueConstraints(String) - Method in class org.dbmaintain.database.impl.OracleDatabase
Disables all value constraints (e.g. not null) on all tables in the schema
disableValueConstraints(String) - Method in class org.dbmaintain.database.impl.PostgreSqlDatabase
Disables all value constraints (e.g. not null) on all tables in the schema
disableValueConstraints(String, String) - Method in class org.dbmaintain.database.impl.PostgreSqlDatabase
 
disableValueConstraints() - Method in interface org.dbmaintain.structure.constraint.ConstraintsDisabler
 
disableValueConstraints() - Method in class org.dbmaintain.structure.constraint.impl.DefaultConstraintsDisabler
 
doExecute(MainFactory) - Method in class org.dbmaintain.launch.task.CheckScriptUpdatesTask
 
doExecute(MainFactory) - Method in class org.dbmaintain.launch.task.CleanDatabaseTask
 
doExecute(MainFactory) - Method in class org.dbmaintain.launch.task.ClearDatabaseTask
 
doExecute(MainFactory) - Method in class org.dbmaintain.launch.task.CreateScriptArchiveTask
 
doExecute(MainFactory) - Method in class org.dbmaintain.launch.task.DbMaintainTask
Implement by invoking the actual behavior
doExecute(MainFactory) - Method in class org.dbmaintain.launch.task.DisableConstraintsTask
 
doExecute(MainFactory) - Method in class org.dbmaintain.launch.task.MarkDatabaseAsUpToDateTask
 
doExecute(MainFactory) - Method in class org.dbmaintain.launch.task.MarkErrorScriptPerformedTask
 
doExecute(MainFactory) - Method in class org.dbmaintain.launch.task.MarkErrorScriptRevertedTask
 
doExecute(MainFactory) - Method in class org.dbmaintain.launch.task.UpdateDatabaseTask
 
doExecute(MainFactory) - Method in class org.dbmaintain.launch.task.UpdateSequencesTask
 
doGetExecutedScripts() - Method in class org.dbmaintain.script.executedscriptinfo.impl.DefaultExecutedScriptInfoSource
Precondition: The table db_executed_scripts must exist
DOUBLE_QUOTE - Static variable in class org.dbmaintain.script.parser.parsingstate.impl.BaseNormalParsingState
 
dropMaterializedView(String) - Method in class org.dbmaintain.database.Database
Removes the materialized view with the given name from the default schema Note: the view name is surrounded with quotes, making it case-sensitive.
dropMaterializedView(String, String) - Method in class org.dbmaintain.database.Database
Removes the materialized view with the given name from the given schema Note: the view name is surrounded with quotes, making it case-sensitive.
dropMaterializedView(String, String) - Method in class org.dbmaintain.database.impl.OracleDatabase
Removes the materialized view with the given name from the database Note: the view name is surrounded with quotes, making it case-sensitive.
dropMaterializedViews(Database, String) - Method in class org.dbmaintain.structure.clear.impl.DefaultDBClearer
Drops all materialized views.
dropRule(String, String) - Method in class org.dbmaintain.database.Database
Drops the rule with the given name from the given schema Note: the rule name is surrounded with quotes, making it case-sensitive.
dropRules(Database, String) - Method in class org.dbmaintain.structure.clear.impl.DefaultDBClearer
Drops all rules.
dropSequence(String) - Method in class org.dbmaintain.database.Database
Drops the sequence with the given name from the default schema Note: the sequence name is surrounded with quotes, making it case-sensitive.
dropSequence(String, String) - Method in class org.dbmaintain.database.Database
Drops the sequence with the given name from the given schema Note: the sequence name is surrounded with quotes, making it case-sensitive.
dropSequence(String, String) - Method in class org.dbmaintain.database.impl.PostgreSqlDatabase
Drops the sequence with the given name from the database Note: the sequence name is surrounded with quotes, making it case-sensitive.
dropSequences(Database, String) - Method in class org.dbmaintain.structure.clear.impl.DefaultDBClearer
Drops all sequences
dropStoredProcedure(String) - Method in class org.dbmaintain.database.Database
Drops the stored procedure with the given name from the default schema Note: the stored procedure name is surrounded with quotes, making it case-sensitive.
dropStoredProcedure(String, String) - Method in class org.dbmaintain.database.Database
Drops the stored procedure with the given name from the given schema Note: the stored procedure name is surrounded with quotes, making it case-sensitive.
dropStoredProcedures(Database, String) - Method in class org.dbmaintain.structure.clear.impl.DefaultDBClearer
 
dropSynonym(String) - Method in class org.dbmaintain.database.Database
Removes the synonym with the given name from the default schema Note: the synonym name is surrounded with quotes, making it case-sensitive.
dropSynonym(String, String) - Method in class org.dbmaintain.database.Database
Removes the synonym with the given name from the given schema Note: the synonym name is surrounded with quotes, making it case-sensitive.
dropSynonyms(Database, String) - Method in class org.dbmaintain.structure.clear.impl.DefaultDBClearer
Drops all synonyms
dropTable(String) - Method in class org.dbmaintain.database.Database
Removes the table with the given name from the default schema.
dropTable(String, String) - Method in class org.dbmaintain.database.Database
Removes the table with the given name from the given schema.
dropTable(String, String) - Method in class org.dbmaintain.database.impl.OracleDatabase
Removes the table with the given name from the database.
dropTables(Database, String) - Method in class org.dbmaintain.structure.clear.impl.DefaultDBClearer
Drops all tables.
dropTrigger(String) - Method in class org.dbmaintain.database.Database
Drops the trigger with the given name from the default schema Note: the trigger name is surrounded with quotes, making it case-sensitive.
dropTrigger(String, String) - Method in class org.dbmaintain.database.Database
Drops the trigger with the given name from the given schema Note: the trigger name is surrounded with quotes, making it case-sensitive.
dropTrigger(String, String) - Method in class org.dbmaintain.database.impl.PostgreSqlDatabase
Drops the trigger with the given name from the database.
dropTriggers(Database, String) - Method in class org.dbmaintain.structure.clear.impl.DefaultDBClearer
Drops all triggers
dropType(String) - Method in class org.dbmaintain.database.Database
Drops the type with the given name from the default schema Note: the type name is surrounded with quotes, making it case-sensitive.
dropType(String, String) - Method in class org.dbmaintain.database.Database
Drops the type with the given name from the given schema Note: the type name is surrounded with quotes, making it case-sensitive.
dropType(String, String) - Method in class org.dbmaintain.database.impl.OracleDatabase
Drops the type with the given name from the database Note: the type name is surrounded with quotes, making it case-sensitive.
dropTypes(Database, String) - Method in class org.dbmaintain.structure.clear.impl.DefaultDBClearer
Drops all types.
dropView(String) - Method in class org.dbmaintain.database.Database
Removes the view with the given name from the default schema Note: the view name is surrounded with quotes, making it case-sensitive.
dropView(String, String) - Method in class org.dbmaintain.database.Database
Removes the view with the given name from the given schema Note: the view name is surrounded with quotes, making it case-sensitive.
dropView(String, String) - Method in class org.dbmaintain.database.impl.OracleDatabase
Removes the view with the given name from the database Note: the view name is surrounded with quotes, making it case-sensitive.
dropViews(Database, String) - Method in class org.dbmaintain.structure.clear.impl.DefaultDBClearer
Drops all views.

E

encoding - Variable in class org.dbmaintain.script.ScriptContentHandle
 
endOfScriptReached - Variable in class org.dbmaintain.script.parser.impl.DefaultScriptParser
True if the script has ended
endOfStatementResult - Variable in class org.dbmaintain.script.parser.parsingstate.impl.BaseNormalParsingState
 
endTransactionAndCommit(DataSource) - Method in class org.dbmaintain.database.impl.DefaultSQLHandler
Ends a transaction that was started using startTransaction by committing and turning auto commit back on.
endTransactionAndCommit(DataSource) - Method in interface org.dbmaintain.database.SQLHandler
Ends a transaction that was started using startTransaction by committing and turning auto commit back on.
endTransactionAndRollback(DataSource) - Method in class org.dbmaintain.database.impl.DefaultSQLHandler
Ends a transaction that was started using startTransaction by rolling back and turning auto commit back on.
endTransactionAndRollback(DataSource) - Method in interface org.dbmaintain.database.SQLHandler
Ends a transaction that was started using startTransaction by rolling back and turning auto commit back on.
ensureQualifiersRegistered(Set<Qualifier>, Set<Qualifier>) - Method in class org.dbmaintain.script.qualifier.impl.IncludeExcludeQualifierEvaluator
 
equals(Object) - Method in class org.dbmaintain.script.analyzer.ScriptUpdate
 
equals(Object) - Method in class org.dbmaintain.script.ExecutedScript
 
equals(Object) - Method in class org.dbmaintain.script.executedscriptinfo.ScriptIndexes
 
equals(Object) - Method in class org.dbmaintain.script.qualifier.Qualifier
 
equals(Object) - Method in class org.dbmaintain.script.Script
 
equals(Object) - Method in class org.dbmaintain.structure.model.DbItemIdentifier
 
escaping - Variable in class org.dbmaintain.script.parser.parsingstate.impl.InDoubleQuotesParsingState
 
escaping - Variable in class org.dbmaintain.script.parser.parsingstate.impl.InSingleQuotesParsingState
 
EscapingParsingState - Class in org.dbmaintain.script.parser.parsingstate.impl
 
EscapingParsingState() - Constructor for class org.dbmaintain.script.parser.parsingstate.impl.EscapingParsingState
 
evaluate(Set<Qualifier>) - Method in class org.dbmaintain.script.qualifier.impl.IncludeExcludeQualifierEvaluator
 
evaluate(Set<Qualifier>) - Method in interface org.dbmaintain.script.qualifier.QualifierEvaluator
 
excludedQualifiers - Variable in class org.dbmaintain.launch.task.CheckScriptUpdatesTask
 
excludedQualifiers - Variable in class org.dbmaintain.launch.task.MarkDatabaseAsUpToDateTask
 
excludedQualifiers - Variable in class org.dbmaintain.launch.task.UpdateDatabaseTask
 
excludedQualifiers - Variable in class org.dbmaintain.maven.plugin.CheckScriptUpdatesMojo
Optional comma-separated list of script qualifiers.
excludedQualifiers - Variable in class org.dbmaintain.maven.plugin.UpdateDatabaseMojo
Optional comma-separated list of script qualifiers.
execute(String, DataSource) - Method in class org.dbmaintain.database.impl.DefaultSQLHandler
 
execute(String, DataSource) - Method in interface org.dbmaintain.database.SQLHandler
Executes the given statement.
execute() - Method in class org.dbmaintain.launch.ant.BaseAntTask
 
execute() - Method in class org.dbmaintain.launch.task.DbMaintainTask
Performs the task (e.g. updating the database)
execute() - Method in class org.dbmaintain.maven.plugin.BaseMojo
 
execute() - Method in class org.dbmaintain.maven.plugin.HelpMojo
execute(String...) - Method in class org.dbmaintain.script.runner.impl.Application
 
execute(boolean, String...) - Method in class org.dbmaintain.script.runner.impl.Application
 
execute(Script) - Method in class org.dbmaintain.script.runner.impl.BaseNativeScriptRunner
Executes the given script.
execute(Script) - Method in class org.dbmaintain.script.runner.impl.JdbcScriptRunner
Executes the given script.
execute(Script) - Method in interface org.dbmaintain.script.runner.ScriptRunner
Executes the given script
executeCommand(String...) - Method in class org.dbmaintain.script.runner.impl.db2.Db2ScriptRunner
 
executeCommand(boolean, String...) - Method in class org.dbmaintain.script.runner.impl.db2.Db2ScriptRunner
 
executedAtColumnName - Variable in class org.dbmaintain.script.executedscriptinfo.impl.DefaultExecutedScriptInfoSource
 
executedAtColumnSize - Variable in class org.dbmaintain.script.executedscriptinfo.impl.DefaultExecutedScriptInfoSource
 
ExecutedScript - Class in org.dbmaintain.script
 
ExecutedScript(Script, Date, Boolean) - Constructor for class org.dbmaintain.script.ExecutedScript
 
executedScriptInfoSource - Variable in class org.dbmaintain.DefaultDbMaintainer
 
ExecutedScriptInfoSource - Interface in org.dbmaintain.script.executedscriptinfo
Interface that enables registering which scripts were executed on the database and retrieving this information afterwards.
executedScriptInfoSource - Variable in class org.dbmaintain.structure.clear.impl.DefaultDBClearer
 
ExecutedScriptInfoSourceFactory - Class in org.dbmaintain.script.executedscriptinfo
 
ExecutedScriptInfoSourceFactory() - Constructor for class org.dbmaintain.script.executedscriptinfo.ExecutedScriptInfoSourceFactory
 
executedScriptsTableName - Variable in class org.dbmaintain.script.executedscriptinfo.impl.DefaultExecutedScriptInfoSource
 
executeOperation(CommandLine.DbMaintainOperation, Properties, CommandLineArguments) - Static method in class org.dbmaintain.launch.commandline.CommandLine
Executes the given operation using the given configuration.
executePostprocessingScripts() - Method in class org.dbmaintain.DefaultDbMaintainer
Executes all postprocessing scripts
executeScript(Script) - Method in class org.dbmaintain.DefaultDbMaintainer
Executes the given script and updates the database execution registry appropriately.
executeScript(File, Database) - Method in class org.dbmaintain.script.runner.impl.BaseNativeScriptRunner
 
executeScript(File, Database) - Method in class org.dbmaintain.script.runner.impl.db2.Db2ScriptRunner
 
executeScript(File, Database) - Method in class org.dbmaintain.script.runner.impl.SqlPlusScriptRunner
 
executeScripts(SortedSet<Script>) - Method in class org.dbmaintain.DefaultDbMaintainer
Executes the given scripts and updates the database execution registry appropriately.
executeScriptUpdates(SortedSet<ScriptUpdate>) - Method in class org.dbmaintain.DefaultDbMaintainer
Executes the given scripts and updates the database execution registry appropriately.
executeUpdateAndCommit(String, DataSource) - Method in class org.dbmaintain.database.impl.DefaultSQLHandler
 
executeUpdateAndCommit(String, DataSource) - Method in interface org.dbmaintain.database.SQLHandler
Executes the given statement and commits the changes to the database
exists(String, DataSource) - Method in class org.dbmaintain.database.impl.DefaultSQLHandler
 
exists(String, DataSource) - Method in interface org.dbmaintain.database.SQLHandler
Returns true if the query returned a record.
extractIndexes(String) - Method in class org.dbmaintain.script.executedscriptinfo.ScriptIndexes
Extracts the indexes out of the given string as followes: 1.x.2.x => 1, null, 2, null

F

Factory<T> - Interface in org.dbmaintain.config
 
FactoryContext - Class in org.dbmaintain.config
 
FactoryContext(Properties, MainFactory) - Constructor for class org.dbmaintain.config.FactoryContext
 
factoryContext - Variable in class org.dbmaintain.config.FactoryWithoutDatabase
 
factoryContext - Variable in class org.dbmaintain.MainFactory
 
FactoryWithDatabase<T> - Class in org.dbmaintain.config
 
FactoryWithDatabase() - Constructor for class org.dbmaintain.config.FactoryWithDatabase
 
factoryWithDatabaseContext - Variable in class org.dbmaintain.config.FactoryWithDatabase
 
FactoryWithDatabaseContext - Class in org.dbmaintain.config
 
FactoryWithDatabaseContext(Properties, MainFactory, Databases, SQLHandler) - Constructor for class org.dbmaintain.config.FactoryWithDatabaseContext
 
factoryWithDatabaseContext - Variable in class org.dbmaintain.MainFactory
 
FactoryWithoutDatabase<T> - Class in org.dbmaintain.config
 
FactoryWithoutDatabase() - Constructor for class org.dbmaintain.config.FactoryWithoutDatabase
 
fileLastModifiedAtColumnName - Variable in class org.dbmaintain.script.executedscriptinfo.impl.DefaultExecutedScriptInfoSource
 
fileNameColumnName - Variable in class org.dbmaintain.script.executedscriptinfo.impl.DefaultExecutedScriptInfoSource
 
fileNameColumnSize - Variable in class org.dbmaintain.script.executedscriptinfo.impl.DefaultExecutedScriptInfoSource
 
FileSystemScriptLocation - Class in org.dbmaintain.script.repository.impl
Script container that looks for scripts in a file system directory and its subdirectories.
FileSystemScriptLocation(File, String, String, Set<Qualifier>, Set<Qualifier>, String, String, String, Set<String>, ScriptIndexes, boolean) - Constructor for class org.dbmaintain.script.repository.impl.FileSystemScriptLocation
Constructor for FileSystemScriptLocation.
FileUtils - Class in org.dbmaintain.util
 
FileUtils() - Constructor for class org.dbmaintain.util.FileUtils
 
findNewScriptWithSameContent(ExecutedScript) - Method in class org.dbmaintain.script.analyzer.ScriptUpdatesAnalyzer
 
findScriptWithSameName(ExecutedScript) - Method in class org.dbmaintain.script.analyzer.ScriptUpdatesAnalyzer
 
flush() - Method in class org.dbmaintain.util.NullWriter
 
flushCurrentLine() - Method in class org.dbmaintain.script.parser.impl.StatementBuilder
 
formatScriptUpdate(ScriptUpdate) - Method in class org.dbmaintain.script.analyzer.ScriptUpdatesFormatter
 
formatScriptUpdates(SortedSet<ScriptUpdate>) - Method in class org.dbmaintain.script.analyzer.ScriptUpdatesFormatter
 
fromScratchEnabled - Variable in class org.dbmaintain.DefaultDbMaintainer
Indicates whether updating the database from scratch is enabled.
fromScratchEnabled - Variable in class org.dbmaintain.launch.task.CheckScriptUpdatesTask
 
fromScratchEnabled - Variable in class org.dbmaintain.launch.task.UpdateDatabaseTask
 
fromScratchEnabled - Variable in class org.dbmaintain.maven.plugin.CheckScriptUpdatesMojo
Sets the fromScratchEnabled property, that indicates the database can be recreated from scratch if needed.
fromScratchEnabled - Variable in class org.dbmaintain.maven.plugin.UpdateDatabaseMojo
Sets the fromScratchEnabled property, that indicates the database can be recreated from scratch if needed.

G

generateWrapperScriptFile(DatabaseInfo, File) - Method in class org.dbmaintain.script.runner.impl.SqlPlusScriptRunner
 
getAllScriptLocations(String, List<ScriptArchiveDependency>) - Method in class org.dbmaintain.maven.plugin.BaseDatabaseMojo
 
getAllScripts() - Method in class org.dbmaintain.script.repository.ScriptRepository
 
getAllUpdateScripts() - Method in class org.dbmaintain.script.repository.ScriptRepository
 
getAlreadyExecutedScripts() - Method in class org.dbmaintain.DefaultDbMaintainer
 
getAntProperties() - Method in class org.dbmaintain.launch.ant.BaseAntTask
 
getArtifactId() - Method in class org.dbmaintain.maven.plugin.ScriptArchiveDependency
 
getBaselineRevision() - Method in class org.dbmaintain.config.FactoryContext
 
getBoolean(String, Properties) - Static method in class org.dbmaintain.config.PropertyUtils
Gets the boolean value for the property with the given name.
getBoolean(String, boolean, Properties) - Static method in class org.dbmaintain.config.PropertyUtils
Gets the boolean value for the property with the given name.
getByOperationName(String) - Static method in enum org.dbmaintain.launch.commandline.CommandLine.DbMaintainOperation
 
getCheckSum() - Method in class org.dbmaintain.script.Script
 
getCheckSum() - Method in class org.dbmaintain.script.ScriptContentHandle
 
getCheckSumScriptMap() - Method in class org.dbmaintain.script.analyzer.ScriptUpdatesAnalyzer
 
getClassifier() - Method in class org.dbmaintain.maven.plugin.ScriptArchiveDependency
 
getClassWithName(String) - Static method in class org.dbmaintain.util.ReflectionUtils
Gets the class for the given name.
getColumnNames(String) - Method in class org.dbmaintain.database.Database
Gets the names of all columns of the given table in the default schema.
getColumnNames(String, String) - Method in class org.dbmaintain.database.Database
Gets the names of all columns of the given table.
getColumnNames(String, String) - Method in class org.dbmaintain.database.impl.Db2Database
Gets the names of all columns of the given table.
getColumnNames(String, String) - Method in class org.dbmaintain.database.impl.DerbyDatabase
Gets the names of all columns of the given table.
getColumnNames(String, String) - Method in class org.dbmaintain.database.impl.HsqldbDatabase
Gets the names of all columns of the given table.
getColumnNames(String, String) - Method in class org.dbmaintain.database.impl.InformixDatabase
 
getColumnNames(String, String) - Method in class org.dbmaintain.database.impl.MsSqlDatabase
Gets the names of all columns of the given table.
getColumnNames(String, String) - Method in class org.dbmaintain.database.impl.MySqlDatabase
Gets the names of all columns of the given table.
getColumnNames(String, String) - Method in class org.dbmaintain.database.impl.OracleDatabase
Gets the names of all columns of the given table.
getColumnNames(String, String) - Method in class org.dbmaintain.database.impl.PostgreSqlDatabase
Gets the names of all columns of the given table.
getConfigFile() - Method in class org.dbmaintain.launch.commandline.CommandLineArguments
 
getConfiguration() - Method in class org.dbmaintain.config.FactoryContext
 
getConfiguration() - Method in class org.dbmaintain.config.FactoryWithDatabase
 
getConfiguration() - Method in class org.dbmaintain.config.FactoryWithoutDatabase
 
getConfiguration() - Method in class org.dbmaintain.launch.task.TaskConfiguration
 
getConfiguredClass(Class<T>, Properties, String...) - Static method in class org.dbmaintain.config.ConfigUtils
Retrieves the concrete instance of the class with the given type as configured by the given Configuration.
getConnection(DataSource) - Method in class org.dbmaintain.database.impl.DefaultSQLHandler
Returns a Connection to the given DataSource.
getCreateExecutedScriptTableStatement() - Method in class org.dbmaintain.script.executedscriptinfo.impl.DefaultExecutedScriptInfoSource
 
getCurrentLine() - Method in class org.dbmaintain.script.parser.impl.StatementBuilder
 
getCustomConfigFile() - Method in class org.dbmaintain.launch.ant.BaseAntTask
 
getCustomIdentifierQuoteString(String, Properties) - Method in class org.dbmaintain.database.IdentifierProcessorFactory
 
getCustomProperties(File) - Method in class org.dbmaintain.script.repository.impl.ArchiveScriptLocation
 
getCustomProperties(File) - Method in class org.dbmaintain.script.repository.impl.FileSystemScriptLocation
 
getCustomProperties(File) - Method in class org.dbmaintain.script.repository.ScriptLocation
 
getCustomStoredIdentifierCase(String, Properties) - Method in class org.dbmaintain.database.IdentifierProcessorFactory
 
getDatabase(String) - Method in class org.dbmaintain.database.Databases
Returns the database with the given name.
getDatabaseAlias() - Method in class org.dbmaintain.script.runner.impl.db2.Db2ConnectionInfo
 
getDatabaseConfigFromJdbcUrl(String) - Method in class org.dbmaintain.script.runner.impl.SqlPlusScriptRunner
 
getDatabaseConnection(String) - Method in interface org.dbmaintain.database.DatabaseConnectionManager
 
getDatabaseConnection(String) - Method in class org.dbmaintain.database.impl.DefaultDatabaseConnectionManager
Gets the connection for the database with the given name.
getDatabaseConnection() - Method in class org.dbmaintain.datasource.SimpleDataSource.SimpleDataSourceInvocationHandler
 
getDatabaseConnectionManager() - Method in class org.dbmaintain.MainFactory
 
getDatabaseConnections() - Method in interface org.dbmaintain.database.DatabaseConnectionManager
 
getDatabaseConnections() - Method in class org.dbmaintain.database.impl.DefaultDatabaseConnectionManager
 
getDatabaseDialect(DatabaseConnection) - Method in class org.dbmaintain.database.DatabasesFactory
 
getDatabaseDialectScriptParserFactoryMap() - Method in class org.dbmaintain.config.FactoryWithDatabaseContext
 
getDatabaseDialectsInUse() - Method in class org.dbmaintain.config.FactoryWithDatabaseContext
 
getDatabaseInfo() - Method in class org.dbmaintain.database.Database
 
getDatabaseInfo() - Method in class org.dbmaintain.database.DatabaseConnection
 
getDatabaseInfo(String) - Method in class org.dbmaintain.database.impl.DefaultDatabaseConnectionManager
 
getDatabaseInfos() - Method in class org.dbmaintain.database.impl.DefaultDatabaseConnectionManager
 
getDatabaseName() - Method in class org.dbmaintain.database.Database
 
getDatabaseName() - Method in class org.dbmaintain.script.runner.impl.db2.Db2ConnectionInfo
 
getDatabaseName() - Method in class org.dbmaintain.structure.model.DbItemIdentifier
 
getDatabases() - Method in class org.dbmaintain.config.FactoryWithDatabase
 
getDatabases() - Method in class org.dbmaintain.config.FactoryWithDatabaseContext
 
getDatabases() - Method in class org.dbmaintain.database.Databases
 
getDatabases() - Method in class org.dbmaintain.MainFactory
 
getDataSource() - Method in class org.dbmaintain.database.Database
Gets the data source.
getDataSource() - Method in class org.dbmaintain.database.DatabaseConnection
 
getDataSource() - Method in class org.dbmaintain.launch.task.DbMaintainDatabase
 
getDataSourcesPerDatabaseName() - Method in class org.dbmaintain.launch.task.TaskConfiguration
 
getDb2ConnectionInfos(Databases) - Method in class org.dbmaintain.script.runner.impl.db2.Db2ScriptRunner
 
getDbMaintainDatabases() - Method in class org.dbmaintain.launch.ant.BaseDatabaseAntTask
 
getDbMaintainDatabases() - Method in class org.dbmaintain.maven.plugin.BaseDatabaseMojo
 
getDbMaintainOperation(CommandLineArguments) - Static method in class org.dbmaintain.launch.commandline.CommandLine
Gets the requested DbMaintain operation.
getDbMaintainOperation() - Method in class org.dbmaintain.launch.commandline.CommandLineArguments
 
getDefaultDatabase() - Method in class org.dbmaintain.database.Databases
 
getDefaultSchemaName() - Method in class org.dbmaintain.database.Database
 
getDefaultSchemaName() - Method in class org.dbmaintain.database.DatabaseInfo
 
getDefaultSchemaName() - Method in class org.dbmaintain.database.IdentifierProcessor
 
getDialect() - Method in class org.dbmaintain.database.DatabaseInfo
 
getDialect() - Method in class org.dbmaintain.launch.ant.Database
 
getDialect() - Method in class org.dbmaintain.launch.task.DbMaintainDatabase
 
getDialect() - Method in class org.dbmaintain.maven.plugin.Database
 
getDriverClassName() - Method in class org.dbmaintain.database.DatabaseInfo
 
getDriverClassName() - Method in class org.dbmaintain.launch.ant.Database
 
getDriverClassName() - Method in class org.dbmaintain.launch.task.DbMaintainDatabase
 
getDriverClassName() - Method in class org.dbmaintain.maven.plugin.Database
 
getErrorMessage(Script, DbMaintainException) - Method in class org.dbmaintain.DefaultDbMaintainer
 
getErrorScriptOptionsMessage(Script) - Method in class org.dbmaintain.DefaultDbMaintainer
 
getExecutedAt() - Method in class org.dbmaintain.script.ExecutedScript
 
getExecutedScripts() - Method in interface org.dbmaintain.script.executedscriptinfo.ExecutedScriptInfoSource
 
getExecutedScripts() - Method in class org.dbmaintain.script.executedscriptinfo.impl.DefaultExecutedScriptInfoSource
 
getExecutedScriptsTable() - Method in class org.dbmaintain.config.FactoryWithDatabaseContext
 
getExecutedScriptWithHighestScriptIndex() - Method in class org.dbmaintain.script.analyzer.ScriptUpdatesAnalyzer
 
getExitValue() - Method in class org.dbmaintain.script.runner.impl.Application.ProcessOutput
 
getFactoryClass(Class<T>, Properties, String...) - Static method in class org.dbmaintain.config.ConfigUtils
 
getFactoryContext() - Method in class org.dbmaintain.MainFactory
 
getFileLastModifiedAt() - Method in class org.dbmaintain.script.Script
 
getFileName() - Method in class org.dbmaintain.script.Script
 
getFileNameWithoutPath() - Method in class org.dbmaintain.script.Script
 
getFirstExtraArgument() - Method in class org.dbmaintain.launch.commandline.CommandLineArguments
 
getGroupId() - Method in class org.dbmaintain.maven.plugin.ScriptArchiveDependency
 
getHexPresentation(byte[]) - Method in class org.dbmaintain.script.ScriptContentHandle
 
getHost() - Method in class org.dbmaintain.script.runner.impl.db2.Db2ConnectionInfo
 
getHsqldbMajorVersionNumber() - Method in class org.dbmaintain.database.impl.HsqldbDatabase
 
getIdentifierQuoteString() - Method in class org.dbmaintain.database.Database
 
getIdentifierQuoteString() - Method in class org.dbmaintain.database.IdentifierProcessor
Gets the identifier quote string.
getIdentityColumnNames(String) - Method in class org.dbmaintain.database.Database
Gets the names of all identity columns of the given table in the default schema.
getIdentityColumnNames(String, String) - Method in class org.dbmaintain.database.Database
Gets the names of all identity columns of the given table in the given schema.
getIdentityColumnNames(String, String) - Method in class org.dbmaintain.database.impl.Db2Database
Gets the names of all identity columns of the given table.
getIdentityColumnNames(String, String) - Method in class org.dbmaintain.database.impl.DerbyDatabase
Gets the names of all identity columns of the given table.
getIdentityColumnNames(String, String) - Method in class org.dbmaintain.database.impl.HsqldbDatabase
Gets the names of all identity columns of the given table.
getIdentityColumnNames(String, String) - Method in class org.dbmaintain.database.impl.MsSqlDatabase
Gets the names of all identity columns of the given table.
getIdentityColumnNames(String, String) - Method in class org.dbmaintain.database.impl.MySqlDatabase
Gets the names of all identity columns of the given table.
getIncrementalScriptsThatFailedDuringLastUpdate() - Method in class org.dbmaintain.DefaultDbMaintainer
 
getIndexedScripts() - Method in class org.dbmaintain.script.repository.ScriptRepository
 
getIndexes() - Method in class org.dbmaintain.script.executedscriptinfo.ScriptIndexes
An empty list if no version is defined.
getIndexesString() - Method in class org.dbmaintain.script.executedscriptinfo.ScriptIndexes
Gets a string representation of the indexes as followes: 1, null, 2, null => 1.x.2.x
getInstance(String, Properties) - Static method in class org.dbmaintain.config.PropertyUtils
Gets an instance of the type specified by the property with the given name.
getInstance(String, T, Properties) - Static method in class org.dbmaintain.config.PropertyUtils
Gets an instance of the type specified by the property with the given name.
getInt(String, Properties) - Static method in class org.dbmaintain.config.PropertyUtils
Gets the int value for the property with the given name.
getInt(String, int, Properties) - Static method in class org.dbmaintain.config.PropertyUtils
Gets the int value for the property with the given name.
getIrregularScriptUpdates() - Method in class org.dbmaintain.script.analyzer.ScriptUpdates
 
getItemAsLong(String, DataSource) - Method in class org.dbmaintain.database.impl.DefaultSQLHandler
 
getItemAsLong(String, DataSource) - Method in interface org.dbmaintain.database.SQLHandler
Returns the long extracted from the result of the given query.
getItemAsString(String, DataSource) - Method in class org.dbmaintain.database.impl.DefaultSQLHandler
 
getItemAsString(String, DataSource) - Method in interface org.dbmaintain.database.SQLHandler
Returns the value extracted from the result of the given query.
getItemIdentifier(DbItemType, String, String, Database) - Static method in class org.dbmaintain.structure.model.DbItemIdentifier
 
getItemIdentifier(DbItemType, String, String, Database, boolean) - Static method in class org.dbmaintain.structure.model.DbItemIdentifier
 
getItemName() - Method in class org.dbmaintain.structure.model.DbItemIdentifier
 
getItemsAsStringSet(String, DataSource) - Method in class org.dbmaintain.database.impl.DefaultSQLHandler
 
getItemsAsStringSet(String, DataSource) - Method in interface org.dbmaintain.database.SQLHandler
Returns the items extracted from the result of the given query.
getItemsToPreserve() - Method in class org.dbmaintain.structure.clean.DBCleanerFactory
 
getItemsToPreserve() - Method in class org.dbmaintain.structure.clear.DBClearerFactory
 
getJarFileWithoutSubPath(File) - Method in class org.dbmaintain.script.repository.impl.ArchiveScriptLocation
Gets jar file with the sub-path stripped off E.g. dir/my_archive.jar!
getJarProperties() - Method in class org.dbmaintain.script.repository.impl.ArchiveScriptLocation
 
getJarSubPath(File) - Method in class org.dbmaintain.script.repository.impl.ArchiveScriptLocation
Gets the optional sub path in the jar file.
getLastCharacter(StringBuilder) - Method in class org.dbmaintain.script.parser.impl.StatementBuilder
 
getListProperty(String, String) - Method in class org.dbmaintain.database.DatabaseInfoFactory
 
getLocationName() - Method in class org.dbmaintain.script.repository.ScriptLocation
 
getLong(String, Properties) - Static method in class org.dbmaintain.config.PropertyUtils
Gets the long value for the property with the given name.
getLong(String, long, Properties) - Static method in class org.dbmaintain.config.PropertyUtils
Gets the long value for the property with the given name.
getLongDataType() - Method in class org.dbmaintain.database.Database
Gets the column type suitable to store values of the Java java.lang.Long type.
getLongDataType() - Method in class org.dbmaintain.database.impl.OracleDatabase
Gets the column type suitable to store values of the Java java.lang.Long type.
getMainFactory() - Method in class org.dbmaintain.config.FactoryContext
 
getMainFactory(Properties) - Static method in class org.dbmaintain.launch.commandline.CommandLine
 
getMaterializedViewNames() - Method in class org.dbmaintain.database.Database
Retrieves the names of all materialized views in the default schema.
getMaterializedViewNames(String) - Method in class org.dbmaintain.database.Database
Retrieves the names of all materialized views in the given schema.
getMaterializedViewNames(String) - Method in class org.dbmaintain.database.impl.OracleDatabase
Retrieves the names of all materialized views in the database schema.
getMavenProperties() - Method in class org.dbmaintain.maven.plugin.BaseMojo
 
getName() - Method in class org.dbmaintain.database.DatabaseInfo
 
getName() - Method in class org.dbmaintain.launch.ant.Database
 
getName() - Method in class org.dbmaintain.launch.task.DbMaintainDatabase
 
getName() - Method in class org.dbmaintain.maven.plugin.Database
 
getNextParsingState(Character, Character, Character, StatementBuilder) - Method in class org.dbmaintain.script.parser.parsingstate.impl.BaseNormalParsingState
Determines the next state.
getNextParsingState(Character, Character, Character, StatementBuilder) - Method in class org.dbmaintain.script.parser.parsingstate.impl.EscapingParsingState
 
getNextParsingState(Character, Character, Character, StatementBuilder) - Method in class org.dbmaintain.script.parser.parsingstate.impl.InBlockCommentParsingState
Determines whether the end of the block comment is reached.
getNextParsingState(Character, Character, Character, StatementBuilder) - Method in class org.dbmaintain.script.parser.parsingstate.impl.InCurlyBraceBlockCommentParsingState
Determines whether the end of the block comment is reached.
getNextParsingState(Character, Character, Character, StatementBuilder) - Method in class org.dbmaintain.script.parser.parsingstate.impl.InDoubleQuotesParsingState
Determines whether the end of the literal is reached.
getNextParsingState(Character, Character, Character, StatementBuilder) - Method in class org.dbmaintain.script.parser.parsingstate.impl.InLineCommentParsingState
Determines whether the end of the line comment is reached.
getNextParsingState(Character, Character, Character, StatementBuilder) - Method in class org.dbmaintain.script.parser.parsingstate.impl.InSingleQuotesParsingState
Determines whether the end of the literal is reached.
getNextParsingState(Character, Character, Character, StatementBuilder) - Method in interface org.dbmaintain.script.parser.parsingstate.ParsingState
Calculates the next parsing state from the given characters and the statement being built
getNextState() - Method in class org.dbmaintain.script.parser.impl.HandleNextCharacterResult
 
getNextStatement() - Method in class org.dbmaintain.script.parser.impl.DefaultScriptParser
Parses the next statement out of the given script stream.
getNextStatement() - Method in interface org.dbmaintain.script.parser.ScriptParser
Gets the next statement out of the given script stream.
getNextStatementImpl() - Method in class org.dbmaintain.script.parser.impl.DefaultScriptParser
Actual implementation of getNextStatement.
getNotNullColummnNames(String, String) - Method in class org.dbmaintain.database.impl.DerbyDatabase
Returns the names of all columns that have a 'not-null' constraint on them.
getOperationName() - Method in enum org.dbmaintain.launch.commandline.CommandLine.DbMaintainOperation
 
getOracleMajorVersionNumber() - Method in class org.dbmaintain.database.impl.OracleDatabase
 
getOutput() - Method in class org.dbmaintain.script.runner.impl.Application.OutputProcessor
 
getOutput() - Method in class org.dbmaintain.script.runner.impl.Application.ProcessOutput
 
getPassword() - Method in class org.dbmaintain.database.DatabaseInfo
 
getPassword() - Method in class org.dbmaintain.launch.ant.Database
 
getPassword() - Method in class org.dbmaintain.launch.task.DbMaintainDatabase
 
getPassword() - Method in class org.dbmaintain.maven.plugin.Database
 
getPassword() - Method in class org.dbmaintain.script.runner.impl.db2.Db2ConnectionInfo
 
getPatchQualifiers() - Method in class org.dbmaintain.script.repository.ScriptLocation
 
getPathParts(String) - Method in class org.dbmaintain.script.ScriptFactory
 
getPort() - Method in class org.dbmaintain.script.runner.impl.db2.Db2ConnectionInfo
 
getPostProcessingScriptDirName() - Method in class org.dbmaintain.script.repository.ScriptLocation
 
getPostProcessingScripts() - Method in class org.dbmaintain.script.repository.ScriptRepository
 
getPrimaryKeyColumnNames(String, String) - Method in class org.dbmaintain.database.impl.DerbyDatabase
Gets the names of all primary columns of the given table.
getProcessArguments(String[]) - Method in class org.dbmaintain.script.runner.impl.Application
 
getPropertiesAsFile(Properties) - Method in class org.dbmaintain.script.repository.impl.ArchiveScriptLocation
 
getPropertiesAsURL(String) - Static method in class org.dbmaintain.launch.commandline.CommandLine
 
getProperty(String, Properties) - Static method in class org.dbmaintain.config.PropertyUtils
Gets a property from the System or from the given properties.
getProperty(String, String) - Method in class org.dbmaintain.database.DatabaseInfoFactory
 
getQualifiedExecutedScriptsTableName() - Method in class org.dbmaintain.script.executedscriptinfo.impl.DefaultExecutedScriptInfoSource
 
getQualifierName() - Method in class org.dbmaintain.script.qualifier.Qualifier
 
getQualifierRegexp() - Method in class org.dbmaintain.script.repository.ScriptLocation
 
getQualifiers() - Method in class org.dbmaintain.script.Script
 
getQualifiers(String[]) - Method in class org.dbmaintain.script.ScriptFactory
 
getRegisteredQualifiers(Set<ScriptLocation>) - Method in class org.dbmaintain.config.FactoryContext
 
getRegisteredQualifiers() - Method in class org.dbmaintain.script.repository.ScriptLocation
 
getRegularlyAddedOrModifiedScripts() - Method in class org.dbmaintain.script.analyzer.ScriptUpdates
 
getRegularlyAddedPatchScripts() - Method in class org.dbmaintain.script.analyzer.ScriptUpdates
 
getRegularlyDeletedRepeatableScripts() - Method in class org.dbmaintain.script.analyzer.ScriptUpdates
 
getRegularlyRenamedScripts() - Method in class org.dbmaintain.script.analyzer.ScriptUpdates
 
getRegularPostprocessingScriptUpdates() - Method in class org.dbmaintain.script.analyzer.ScriptUpdates
 
getRegularScriptUpdates() - Method in class org.dbmaintain.script.analyzer.ScriptUpdates
 
getRenamedToScript() - Method in class org.dbmaintain.script.analyzer.ScriptUpdate
 
getRepeatableScripts() - Method in class org.dbmaintain.script.repository.ScriptRepository
 
getRepeatableScriptsThatFailedDuringLastUpdate() - Method in class org.dbmaintain.DefaultDbMaintainer
 
getRuleNames(String) - Method in class org.dbmaintain.database.Database
Retrieves the names of all rules in the given schema.
getRuleNames(String) - Method in class org.dbmaintain.database.impl.MsSqlDatabase
Retrieves the names of all the rules in the database schema.
getSchema() - Method in class org.dbmaintain.structure.model.DbItemIdentifier
 
getSchemaIdentifier(String, Database) - Static method in class org.dbmaintain.structure.model.DbItemIdentifier
 
getSchemaName(String) - Method in class org.dbmaintain.database.IdentifierProcessor
 
getSchemaName() - Method in class org.dbmaintain.structure.model.DbItemIdentifier
 
getSchemaNames() - Method in class org.dbmaintain.database.Database
 
getSchemaNames() - Method in class org.dbmaintain.database.DatabaseInfo
 
getSchemaNames() - Method in class org.dbmaintain.launch.ant.Database
 
getSchemaNames() - Method in class org.dbmaintain.launch.task.DbMaintainDatabase
 
getSchemaNames() - Method in class org.dbmaintain.maven.plugin.Database
 
getSchemasToPreserve(String) - Method in class org.dbmaintain.config.FactoryWithDatabaseContext
 
getScript() - Method in class org.dbmaintain.script.analyzer.ScriptUpdate
 
getScript() - Method in class org.dbmaintain.script.ExecutedScript
 
getScriptContentHandle() - Method in class org.dbmaintain.script.Script
 
getScriptContentsAsString(long) - Method in class org.dbmaintain.script.ScriptContentHandle
 
getScriptDigest() - Method in class org.dbmaintain.script.ScriptContentHandle
 
getScriptEncoding() - Method in class org.dbmaintain.script.repository.ScriptLocation
 
getScriptFileExtensions() - Method in class org.dbmaintain.script.repository.ScriptLocation
 
getScriptIndexes() - Method in class org.dbmaintain.script.Script
 
getScriptIndexes(String[]) - Method in class org.dbmaintain.script.ScriptFactory
Creates a version by extracting the indexes from the the given script file name.
getScriptInputStream() - Method in class org.dbmaintain.script.ScriptContentHandle
NOTE: Make sure you don't forget to close the stream!
getScriptInputStream() - Method in class org.dbmaintain.script.ScriptContentHandle.StringScriptContentHandle
Opens a stream to the content of the script.
getScriptInputStream() - Method in class org.dbmaintain.script.ScriptContentHandle.UrlScriptContentHandle
Opens a stream to the content of the script.
getScriptNameExecutedScriptMap() - Method in class org.dbmaintain.script.analyzer.ScriptUpdatesAnalyzer
 
getScriptNameScriptMap() - Method in class org.dbmaintain.script.analyzer.ScriptUpdatesAnalyzer
 
getScriptParameters() - Method in class org.dbmaintain.config.FactoryWithDatabaseContext
 
getScripts() - Method in class org.dbmaintain.script.repository.ScriptLocation
 
getScriptsAt(SortedSet<Script>, String, String) - Method in class org.dbmaintain.script.repository.impl.FileSystemScriptLocation
Adds all scripts available in the given directory or one of its subdirectories to the given set of files.
getScriptUpdates() - Method in class org.dbmaintain.DefaultDbMaintainer
This operation calcutes and logs which script updates have been performed since the last database update.
getSecondExtraArgument() - Method in class org.dbmaintain.launch.commandline.CommandLineArguments
 
getSequenceNames() - Method in class org.dbmaintain.database.Database
Retrieves the names of all sequences in the default schema.
getSequenceNames(String) - Method in class org.dbmaintain.database.Database
Retrieves the names of all sequences in the given schema.
getSequenceNames(String) - Method in class org.dbmaintain.database.impl.Db2Database
Retrieves the names of all the sequences in the database schema.
getSequenceNames(String) - Method in class org.dbmaintain.database.impl.HsqldbDatabase
Retrieves the names of all the sequences in the database schema.
getSequenceNames(String) - Method in class org.dbmaintain.database.impl.OracleDatabase
Retrieves the names of all sequences in the database schema.
getSequenceNames(String) - Method in class org.dbmaintain.database.impl.PostgreSqlDatabase
Retrieves the names of all the sequences in the database schema.
getSequenceValue(String) - Method in class org.dbmaintain.database.Database
Returns the value of the sequence with the given name from the default schema.
getSequenceValue(String, String) - Method in class org.dbmaintain.database.Database
Returns the value of the sequence with the given name from the given schema.
getSequenceValue(String, String) - Method in class org.dbmaintain.database.impl.Db2Database
Returns the value of the sequence with the given name.
getSequenceValue(String, String) - Method in class org.dbmaintain.database.impl.HsqldbDatabase
Returns the value of the sequence with the given name.
getSequenceValue(String, String) - Method in class org.dbmaintain.database.impl.OracleDatabase
Returns the value of the sequence with the given name.
getSequenceValue(String, String) - Method in class org.dbmaintain.database.impl.PostgreSqlDatabase
Returns the value of the sequence with the given name.
getSqlHandler() - Method in class org.dbmaintain.config.FactoryWithDatabase
 
getSqlHandler() - Method in class org.dbmaintain.config.FactoryWithDatabaseContext
 
getSQLHandler() - Method in class org.dbmaintain.database.Database
Gets the sql handler.
getSqlHandler() - Method in class org.dbmaintain.database.DatabaseConnection
 
getSqlHandler() - Method in interface org.dbmaintain.database.DatabaseConnectionManager
 
getSqlHandler() - Method in class org.dbmaintain.database.impl.DefaultDatabaseConnectionManager
 
getStatementInUppercaseWithoutCommentsOrWhitespace() - Method in class org.dbmaintain.script.parser.impl.StatementBuilder
 
getStoredIdentifierCase() - Method in class org.dbmaintain.database.Database
 
getStoredIdentifierCase() - Method in class org.dbmaintain.database.IdentifierProcessor
Gets the stored identifier case.
getStoredProcedureNames() - Method in class org.dbmaintain.database.Database
Retrieves the names of all stored procedures in the default schema.
getStoredProcedureNames(String) - Method in class org.dbmaintain.database.Database
Retrieves the names of all stored procedures in the given schema.
getStoredProcedureNames(String) - Method in class org.dbmaintain.database.impl.MsSqlDatabase
Retrieves the names of all the stored procedures in the database schema.
getString(String, Properties) - Static method in class org.dbmaintain.config.PropertyUtils
Gets the string value for the property with the given name.
getString(String, String, Properties) - Static method in class org.dbmaintain.config.PropertyUtils
Gets the string value for the property with the given name.
getStringList(String, Properties) - Static method in class org.dbmaintain.config.PropertyUtils
Gets the list of comma separated string values for the property with the given name.
getStringList(String, Properties, boolean) - Static method in class org.dbmaintain.config.PropertyUtils
Gets the list of comma separated string values for the property with the given name.
getSupportedDatabaseDialect() - Method in class org.dbmaintain.database.Database
 
getSupportedDatabaseDialect() - Method in class org.dbmaintain.database.impl.Db2Database
 
getSupportedDatabaseDialect() - Method in class org.dbmaintain.database.impl.DerbyDatabase
 
getSupportedDatabaseDialect() - Method in class org.dbmaintain.database.impl.HsqldbDatabase
 
getSupportedDatabaseDialect() - Method in class org.dbmaintain.database.impl.InformixDatabase
 
getSupportedDatabaseDialect() - Method in class org.dbmaintain.database.impl.MsSqlDatabase
 
getSupportedDatabaseDialect() - Method in class org.dbmaintain.database.impl.MySqlDatabase
 
getSupportedDatabaseDialect() - Method in class org.dbmaintain.database.impl.OracleDatabase
 
getSupportedDatabaseDialect() - Method in class org.dbmaintain.database.impl.PostgreSqlDatabase
 
getSynonymNames() - Method in class org.dbmaintain.database.Database
Retrieves the names of all synonyms in the default schema.
getSynonymNames(String) - Method in class org.dbmaintain.database.Database
Retrieves the names of all synonyms in the given schema.
getSynonymNames(String) - Method in class org.dbmaintain.database.impl.DerbyDatabase
Retrieves the names of all the synonyms in the database schema.
getSynonymNames(String) - Method in class org.dbmaintain.database.impl.MsSqlDatabase
Retrieves the names of all synonyms in the database schema.
getSynonymNames(String) - Method in class org.dbmaintain.database.impl.OracleDatabase
Retrieves the names of all synonyms in the database schema.
getTableName(String) - Method in class org.dbmaintain.database.IdentifierProcessor
 
getTableNames() - Method in class org.dbmaintain.database.Database
Returns the names of all tables in the default schema.
getTableNames(String) - Method in class org.dbmaintain.database.Database
Returns the names of all tables in the given schema.
getTableNames(String) - Method in class org.dbmaintain.database.impl.Db2Database
Returns the names of all tables in the database.
getTableNames(String) - Method in class org.dbmaintain.database.impl.DerbyDatabase
Returns the names of all tables in the database.
getTableNames(String) - Method in class org.dbmaintain.database.impl.HsqldbDatabase
Returns the names of all tables in the database.
getTableNames(String) - Method in class org.dbmaintain.database.impl.InformixDatabase
 
getTableNames(String) - Method in class org.dbmaintain.database.impl.MsSqlDatabase
Returns the names of all tables in the database.
getTableNames(String) - Method in class org.dbmaintain.database.impl.MySqlDatabase
Returns the names of all tables in the database.
getTableNames(String) - Method in class org.dbmaintain.database.impl.OracleDatabase
Returns the names of all tables in the database.
getTableNames(String) - Method in class org.dbmaintain.database.impl.PostgreSqlDatabase
Returns the names of all tables in the database.
getTablePrimaryKeyColumnsMap(String) - Method in class org.dbmaintain.database.impl.MsSqlDatabase
 
getTargetDatabaseDatabase(Script) - Method in class org.dbmaintain.script.runner.impl.BaseNativeScriptRunner
 
getTargetDatabaseDatabase(Script) - Method in class org.dbmaintain.script.runner.impl.JdbcScriptRunner
 
getTargetDatabaseName() - Method in class org.dbmaintain.script.Script
 
getTargetDatabaseName(String[]) - Method in class org.dbmaintain.script.ScriptFactory
Resolves the target database name from the given list of tokens

E.g. 01_@databaseA_myscript.sql

If the file name consists out of multiple path-parts, the last found target database is used

E.g. 01_@database1/01_@database2_myscript.sql

will return database2

getTargetDatabaseRegexp() - Method in class org.dbmaintain.script.repository.ScriptLocation
 
getTaskConfiguration(File) - Method in class org.dbmaintain.launch.task.DbMaintainTask
 
getTemporaryScriptName(Script) - Method in class org.dbmaintain.script.runner.impl.BaseNativeScriptRunner
 
getTemporaryScriptName(Script) - Method in class org.dbmaintain.script.runner.impl.SqlPlusScriptRunner
Oracle does not support blanks in file names, so remove them from the temp file name.
getTextDataType(int) - Method in class org.dbmaintain.database.Database
Gets the column type suitable to store text values.
getTextDataType(int) - Method in class org.dbmaintain.database.impl.OracleDatabase
Gets the column type suitable to store text values.
getTokens(String[], Pattern, boolean) - Method in class org.dbmaintain.script.ScriptFactory
 
getTriggerNames() - Method in class org.dbmaintain.database.Database
Retrieves the names of all triggers in the default schema.
getTriggerNames(String) - Method in class org.dbmaintain.database.Database
Retrieves the names of all triggers in the given schema.
getTriggerNames(String) - Method in class org.dbmaintain.database.impl.Db2Database
Retrieves the names of all the triggers in the database schema.
getTriggerNames(String) - Method in class org.dbmaintain.database.impl.DerbyDatabase
Retrieves the names of all the triggers in the database schema.
getTriggerNames(String) - Method in class org.dbmaintain.database.impl.HsqldbDatabase
Retrieves the names of all the triggers in the database schema.
getTriggerNames(String) - Method in class org.dbmaintain.database.impl.MsSqlDatabase
Retrieves the names of all the triggers in the database schema.
getTriggerNames(String) - Method in class org.dbmaintain.database.impl.MySqlDatabase
Retrieves the names of all the triggers in the database schema.
getTriggerNames(String) - Method in class org.dbmaintain.database.impl.OracleDatabase
Retrieves the names of all triggers in the database schema.
getTriggerNames(String) - Method in class org.dbmaintain.database.impl.PostgreSqlDatabase
Retrieves the names of all the triggers in the database schema.
getType() - Method in class org.dbmaintain.maven.plugin.ScriptArchiveDependency
 
getType() - Method in class org.dbmaintain.script.analyzer.ScriptUpdate
 
getType() - Method in class org.dbmaintain.structure.model.DbItemIdentifier
 
getTypeNames() - Method in class org.dbmaintain.database.Database
Retrieves the names of all types in the default schema.
getTypeNames(String) - Method in class org.dbmaintain.database.Database
Retrieves the names of all types in the given schema.
getTypeNames(String) - Method in class org.dbmaintain.database.impl.Db2Database
Retrieves the names of all the types in the database schema.
getTypeNames(String) - Method in class org.dbmaintain.database.impl.MsSqlDatabase
Retrieves the names of all the types in the database schema.
getTypeNames(String) - Method in class org.dbmaintain.database.impl.OracleDatabase
Retrieves the names of all the types in the database schema.
getTypeNames(String) - Method in class org.dbmaintain.database.impl.PostgreSqlDatabase
Retrieves the names of all user-defined types in the database schema.
getUnnamedDatabaseInfo() - Method in class org.dbmaintain.database.DatabaseInfoFactory
 
getUrl() - Method in class org.dbmaintain.database.DatabaseInfo
 
getUrl() - Method in class org.dbmaintain.launch.ant.Database
 
getUrl() - Method in class org.dbmaintain.launch.task.DbMaintainDatabase
 
getUrl() - Method in class org.dbmaintain.maven.plugin.Database
 
getUrl(File) - Static method in class org.dbmaintain.util.FileUtils
Creates an URL that points to the given file.
getUserName() - Method in class org.dbmaintain.database.DatabaseInfo
 
getUserName() - Method in class org.dbmaintain.launch.ant.Database
 
getUserName() - Method in class org.dbmaintain.launch.task.DbMaintainDatabase
 
getUserName() - Method in class org.dbmaintain.maven.plugin.Database
 
getUserName() - Method in class org.dbmaintain.script.runner.impl.db2.Db2ConnectionInfo
 
getVersion() - Method in class org.dbmaintain.maven.plugin.ScriptArchiveDependency
 
getViewNames() - Method in class org.dbmaintain.database.Database
Retrieves the names of all the views in the default schema.
getViewNames(String) - Method in class org.dbmaintain.database.Database
Retrieves the names of all the views in the database schema.
getViewNames(String) - Method in class org.dbmaintain.database.impl.Db2Database
Retrieves the names of all the views in the database schema.
getViewNames(String) - Method in class org.dbmaintain.database.impl.DerbyDatabase
Retrieves the names of all the views in the database schema.
getViewNames(String) - Method in class org.dbmaintain.database.impl.HsqldbDatabase
Retrieves the names of all the views in the database schema.
getViewNames(String) - Method in class org.dbmaintain.database.impl.InformixDatabase
 
getViewNames(String) - Method in class org.dbmaintain.database.impl.MsSqlDatabase
Retrieves the names of all the views in the database schema.
getViewNames(String) - Method in class org.dbmaintain.database.impl.MySqlDatabase
Retrieves the names of all the views in the database schema.
getViewNames(String) - Method in class org.dbmaintain.database.impl.OracleDatabase
Retrieves the names of all views in the database schema.
getViewNames(String) - Method in class org.dbmaintain.database.impl.PostgreSqlDatabase
Retrieves the names of all the views in the database schema.
groupId - Variable in class org.dbmaintain.maven.plugin.ScriptArchiveDependency
The artifact group id.

H

HandleNextCharacterResult - Class in org.dbmaintain.script.parser.impl
 
HandleNextCharacterResult(ParsingState, boolean) - Constructor for class org.dbmaintain.script.parser.impl.HandleNextCharacterResult
 
hasExecutableContent() - Method in class org.dbmaintain.script.parser.impl.StatementBuilder
 
hashCode() - Method in class org.dbmaintain.script.analyzer.ScriptUpdate
 
hashCode() - Method in class org.dbmaintain.script.ExecutedScript
 
hashCode() - Method in class org.dbmaintain.script.executedscriptinfo.ScriptIndexes
 
hashCode() - Method in class org.dbmaintain.script.qualifier.Qualifier
 
hashCode() - Method in class org.dbmaintain.script.Script
 
hashCode() - Method in class org.dbmaintain.structure.model.DbItemIdentifier
 
hasIrregularScriptUpdates() - Method in class org.dbmaintain.script.analyzer.ScriptUpdates
 
hasName(String) - Method in class org.dbmaintain.database.DatabaseInfo
 
HelpMojo - Class in org.dbmaintain.maven.plugin
Display help information on dbmaintain-maven-plugin.
HelpMojo() - Constructor for class org.dbmaintain.maven.plugin.HelpMojo
 
host - Variable in class org.dbmaintain.script.runner.impl.db2.Db2ConnectionInfo
 
HsqldbDatabase - Class in org.dbmaintain.database.impl
Implementation of Database for a hsqldb database
HsqldbDatabase(DatabaseConnection, IdentifierProcessor) - Constructor for class org.dbmaintain.database.impl.HsqldbDatabase
 

I

identifierProcessor - Variable in class org.dbmaintain.database.Database
 
IdentifierProcessor - Class in org.dbmaintain.database
 
IdentifierProcessor(StoredIdentifierCase, String, String) - Constructor for class org.dbmaintain.database.IdentifierProcessor
 
identifierProcessorFactory - Variable in class org.dbmaintain.database.DatabasesFactory
 
IdentifierProcessorFactory - Class in org.dbmaintain.database
 
IdentifierProcessorFactory(Properties) - Constructor for class org.dbmaintain.database.IdentifierProcessorFactory
 
identifierQuoteString - Variable in class org.dbmaintain.database.IdentifierProcessor
 
ignoreCarriageReturnsWhenCalculatingCheckSum - Variable in class org.dbmaintain.script.archive.impl.DefaultScriptArchiveCreator
 
ignoreCarriageReturnsWhenCalculatingCheckSum - Variable in class org.dbmaintain.script.repository.ScriptLocation
 
ignoreCarriageReturnsWhenCalculatingCheckSum - Variable in class org.dbmaintain.script.ScriptContentHandle
 
InBlockCommentParsingState - Class in org.dbmaintain.script.parser.parsingstate.impl
A state for parsing an in-block comment (/ * comment * /) part of a script.
InBlockCommentParsingState() - Constructor for class org.dbmaintain.script.parser.parsingstate.impl.InBlockCommentParsingState
 
includedQualifiers - Variable in class org.dbmaintain.launch.task.CheckScriptUpdatesTask
 
includedQualifiers - Variable in class org.dbmaintain.launch.task.MarkDatabaseAsUpToDateTask
 
includedQualifiers - Variable in class org.dbmaintain.launch.task.UpdateDatabaseTask
 
includedQualifiers - Variable in class org.dbmaintain.maven.plugin.CheckScriptUpdatesMojo
Optional comma-separated list of script qualifiers.
includedQualifiers - Variable in class org.dbmaintain.maven.plugin.UpdateDatabaseMojo
Optional comma-separated list of script qualifiers.
IncludeExcludeQualifierEvaluator - Class in org.dbmaintain.script.qualifier.impl
 
IncludeExcludeQualifierEvaluator(Set<Qualifier>, Set<Qualifier>, Set<Qualifier>) - Constructor for class org.dbmaintain.script.qualifier.impl.IncludeExcludeQualifierEvaluator
 
incrementIdentityColumnToValue(String, String, long) - Method in class org.dbmaintain.database.Database
Increments the identity value for the specified identity column on the specified table to the given value in the default schema.
incrementIdentityColumnToValue(String, String, String, long) - Method in class org.dbmaintain.database.Database
Increments the identity value for the specified identity column on the specified table to the given value in the given schema.
incrementIdentityColumnToValue(String, String, String, long) - Method in class org.dbmaintain.database.impl.Db2Database
Increments the identity value for the specified identity column on the specified table to the given value.
incrementIdentityColumnToValue(String, String, String, long) - Method in class org.dbmaintain.database.impl.DerbyDatabase
Increments the identity value for the specified identity column on the specified table to the given value.
incrementIdentityColumnToValue(String, String, String, long) - Method in class org.dbmaintain.database.impl.HsqldbDatabase
Increments the identity value for the specified identity column on the specified table to the given value.
incrementIdentityColumnToValue(String, String, String, long) - Method in class org.dbmaintain.database.impl.MsSqlDatabase
Increments the identity value for the specified identity column on the specified table to the given value.
incrementIdentityColumnToValue(String, String, String, long) - Method in class org.dbmaintain.database.impl.MySqlDatabase
Increments the identity value for the specified primary key on the specified table to the given value.
incrementSequenceToValue(String, long) - Method in class org.dbmaintain.database.Database
Sets the next value of the sequence with the given name to the given sequence value in the default schema.
incrementSequenceToValue(String, String, long) - Method in class org.dbmaintain.database.Database
Sets the next value of the sequence with the given sequence name to the given sequence value in the given schema.
incrementSequenceToValue(String, String, long) - Method in class org.dbmaintain.database.impl.Db2Database
Sets the next value of the sequence with the given sequence name to the given sequence value.
incrementSequenceToValue(String, String, long) - Method in class org.dbmaintain.database.impl.HsqldbDatabase
Sets the next value of the sequence with the given sequence name to the given sequence value.
incrementSequenceToValue(String, String, long) - Method in class org.dbmaintain.database.impl.OracleDatabase
Sets the next value of the sequence with the given sequence name to the given sequence value.
incrementSequenceToValue(String, String, long) - Method in class org.dbmaintain.database.impl.PostgreSqlDatabase
Sets the next value of the sequence with the given sequence name to the given sequence value.
InCurlyBraceBlockCommentParsingState - Class in org.dbmaintain.script.parser.parsingstate.impl
A state for parsing an in-block comment (/ * comment * /) part of a script.
InCurlyBraceBlockCommentParsingState() - Constructor for class org.dbmaintain.script.parser.parsingstate.impl.InCurlyBraceBlockCommentParsingState
 
indexedScripts - Variable in class org.dbmaintain.script.repository.ScriptRepository
 
InDoubleQuotesParsingState - Class in org.dbmaintain.script.parser.parsingstate.impl
A state for parsing double quotes ("text") literal part of a script.
InDoubleQuotesParsingState(boolean) - Constructor for class org.dbmaintain.script.parser.parsingstate.impl.InDoubleQuotesParsingState
 
InformixDatabase - Class in org.dbmaintain.database.impl
Implementation of Database for a hsqldb database
InformixDatabase(DatabaseConnection, IdentifierProcessor) - Constructor for class org.dbmaintain.database.impl.InformixDatabase
 
InformixScriptParserFactory - Class in org.dbmaintain.script.parser.impl
 
InformixScriptParserFactory(boolean, Properties) - Constructor for class org.dbmaintain.script.parser.impl.InformixScriptParserFactory
 
init(FactoryWithDatabaseContext) - Method in class org.dbmaintain.config.FactoryWithDatabase
 
init(FactoryContext) - Method in class org.dbmaintain.config.FactoryWithoutDatabase
 
initialize() - Method in class org.dbmaintain.script.runner.impl.BaseNativeScriptRunner
 
initialize() - Method in class org.dbmaintain.script.runner.impl.db2.Db2ScriptRunner
 
initialize() - Method in class org.dbmaintain.script.runner.impl.JdbcScriptRunner
 
initialize() - Method in interface org.dbmaintain.script.runner.ScriptRunner
Initializes the script runner.
initialParsingState - Variable in class org.dbmaintain.script.parser.impl.DefaultScriptParser
The starting state
initScripts(Set<ScriptLocation>) - Method in class org.dbmaintain.script.repository.ScriptRepository
 
InLineCommentParsingState - Class in org.dbmaintain.script.parser.parsingstate.impl
A state for parsing an in-line comment (-- comment) part of a script.
InLineCommentParsingState() - Constructor for class org.dbmaintain.script.parser.parsingstate.impl.InLineCommentParsingState
 
insertExecutedScript(ExecutedScript) - Method in class org.dbmaintain.script.executedscriptinfo.impl.DefaultExecutedScriptInfoSource
Saves the given registered script Precondition: The table db_executed_scripts must exist
InSingleQuotesParsingState - Class in org.dbmaintain.script.parser.parsingstate.impl
A state for parsing single quotes ('text') part of a script.
InSingleQuotesParsingState(boolean) - Constructor for class org.dbmaintain.script.parser.parsingstate.impl.InSingleQuotesParsingState
 
invoke(Object, Method, Object[]) - Method in class org.dbmaintain.datasource.SimpleDataSource.SimpleDataSourceInvocationHandler
Handles all invocations on the DataSource.
isComplete() - Method in class org.dbmaintain.script.parser.impl.StatementBuilder
 
isConfiguredDatabase(String) - Method in class org.dbmaintain.database.Databases
 
isCurlyBraceBlockCommentSupported() - Method in class org.dbmaintain.script.parser.impl.DefaultScriptParserFactory
 
isCurlyBraceBlockCommentSupported() - Method in class org.dbmaintain.script.parser.impl.InformixScriptParserFactory
 
isDatabaseIncluded(String) - Method in class org.dbmaintain.database.DatabaseInfoFactory
 
isDbMaintainIdentifier() - Method in class org.dbmaintain.structure.model.DbItemIdentifier
 
isDefaultDatabase() - Method in class org.dbmaintain.database.DatabaseInfo
 
isDisabled() - Method in class org.dbmaintain.database.DatabaseInfo
 
isDisabledDatabase(String) - Method in class org.dbmaintain.database.Databases
 
isEmpty() - Method in class org.dbmaintain.script.analyzer.ScriptUpdates
 
isEndOfBlockComment(Character, Character) - Method in class org.dbmaintain.script.parser.parsingstate.impl.InBlockCommentParsingState
 
isEndOfBlockComment(Character) - Method in class org.dbmaintain.script.parser.parsingstate.impl.InCurlyBraceBlockCommentParsingState
 
isEndOfStatement(Character, Character, StatementBuilder) - Method in class org.dbmaintain.script.parser.parsingstate.impl.BaseNormalParsingState
 
isEndOfStatement(Character, Character, StatementBuilder) - Method in class org.dbmaintain.script.parser.parsingstate.impl.PlSqlBlockNormalParsingState
 
isEndOfStatement(Character, Character, StatementBuilder) - Method in class org.dbmaintain.script.parser.parsingstate.impl.SqlStatementNormalParsingState
 
isEqualsMethod(Method) - Method in class org.dbmaintain.datasource.SimpleDataSource.SimpleDataSourceInvocationHandler
 
isExecutable() - Method in class org.dbmaintain.script.parser.impl.HandleNextCharacterResult
 
isExecutedScriptsTableValid() - Method in class org.dbmaintain.script.executedscriptinfo.impl.DefaultExecutedScriptInfoSource
Checks if the version table and columns are available and if a record exists in which the version info is stored.
isHashCodeMethod(Method) - Method in class org.dbmaintain.datasource.SimpleDataSource.SimpleDataSourceInvocationHandler
 
isIgnored() - Method in class org.dbmaintain.script.Script
 
isIgnored(ScriptIndexes) - Method in class org.dbmaintain.script.ScriptFactory
 
isIncluded() - Method in class org.dbmaintain.launch.ant.Database
 
isIncluded() - Method in class org.dbmaintain.launch.task.DbMaintainDatabase
 
isIncluded() - Method in class org.dbmaintain.maven.plugin.Database
 
isIncremental() - Method in class org.dbmaintain.script.Script
 
isIncrementalScript() - Method in class org.dbmaintain.script.executedscriptinfo.ScriptIndexes
 
isInitialDatabaseUpdate() - Method in class org.dbmaintain.DefaultDbMaintainer
 
isNewLineCharacter(Character) - Static method in class org.dbmaintain.util.CharacterUtils
 
isParameterLessGetConnectionMethod(Method) - Method in class org.dbmaintain.datasource.SimpleDataSource.SimpleDataSourceInvocationHandler
 
isPatchScript() - Method in class org.dbmaintain.script.Script
 
isPatchScript(Set<Qualifier>) - Method in class org.dbmaintain.script.ScriptFactory
 
isPostProcessingScript() - Method in class org.dbmaintain.script.Script
 
isPostProcessingScript(String) - Method in class org.dbmaintain.script.ScriptFactory
 
isQuoted(String) - Method in class org.dbmaintain.database.Database
 
isQuoted(String) - Method in class org.dbmaintain.database.IdentifierProcessor
 
isRemote() - Method in class org.dbmaintain.script.runner.impl.db2.Db2ConnectionInfo
 
isRepeatable() - Method in class org.dbmaintain.script.Script
 
isRepeatableScript() - Method in class org.dbmaintain.script.executedscriptinfo.ScriptIndexes
 
isScriptContentEqualTo(Script, boolean) - Method in class org.dbmaintain.script.Script
 
isScriptFileName(String) - Method in class org.dbmaintain.script.repository.ScriptLocation
 
isStartOfPlSqlBlock(StringBuilder) - Method in class org.dbmaintain.script.parser.parsingstate.impl.Db2PlSqlBlockMatcher
 
isStartOfPlSqlBlock(StringBuilder) - Method in class org.dbmaintain.script.parser.parsingstate.impl.MySqlPlSqlBlockMatcher
 
isStartOfPlSqlBlock(StringBuilder) - Method in class org.dbmaintain.script.parser.parsingstate.impl.NeverMatchingPlSqlBlockMatcher
 
isStartOfPlSqlBlock(StringBuilder) - Method in class org.dbmaintain.script.parser.parsingstate.impl.OraclePlSqlBlockMatcher
 
isStartOfPlSqlBlock(StringBuilder) - Method in class org.dbmaintain.script.parser.parsingstate.impl.PostgreSqlPlSqlBlockMatcher
 
isStartOfPlSqlBlock(StringBuilder) - Method in interface org.dbmaintain.script.parser.parsingstate.PlSqlBlockMatcher
Returns whether the given string is the start of a pl-sql block definition.
isStatementSeparator(Character) - Method in class org.dbmaintain.script.parser.parsingstate.impl.BaseNormalParsingState
 
isStatementSeparator(Character) - Method in class org.dbmaintain.script.parser.parsingstate.impl.PlSqlBlockNormalParsingState
 
isStatementSeparator(Character) - Method in class org.dbmaintain.script.parser.parsingstate.impl.SqlStatementNormalParsingState
 
isSuccessful() - Method in class org.dbmaintain.script.ExecutedScript
 
isWhitespace(Character) - Method in class org.dbmaintain.script.parser.impl.StatementBuilder
 
isWhitespace(Character) - Method in class org.dbmaintain.script.parser.parsingstate.impl.BaseNormalParsingState
 
itemsToPreserve - Variable in class org.dbmaintain.structure.clean.impl.DefaultDBCleaner
 
itemsToPreserve - Variable in class org.dbmaintain.structure.clear.impl.DefaultDBClearer
 

J

JdbcScriptRunner - Class in org.dbmaintain.script.runner.impl
Default implementation of a script runner that uses JDBC to execute the script.
JdbcScriptRunner(Map<String, ScriptParserFactory>, Databases, SQLHandler) - Constructor for class org.dbmaintain.script.runner.impl.JdbcScriptRunner
 
JdbcScriptRunnerFactory - Class in org.dbmaintain.script.runner
 
JdbcScriptRunnerFactory() - Constructor for class org.dbmaintain.script.runner.JdbcScriptRunnerFactory
 

L

linkParsingStates(ParsingState, ParsingState, ParsingState, ParsingState, ParsingState, ParsingState, ParsingState) - Method in class org.dbmaintain.script.parser.parsingstate.impl.BaseNormalParsingState
Initializes the state with the given parsing states.
linkParsingStates(ParsingState) - Method in class org.dbmaintain.script.parser.parsingstate.impl.EscapingParsingState
Initializes the state with the normal parsing state, that should be returned when the comment end is reached..
linkParsingStates(ParsingState) - Method in class org.dbmaintain.script.parser.parsingstate.impl.InBlockCommentParsingState
Initializes the state with the normal parsing state, that should be returned when the comment end is reached..
linkParsingStates(ParsingState) - Method in class org.dbmaintain.script.parser.parsingstate.impl.InCurlyBraceBlockCommentParsingState
Initializes the state with the normal parsing state, that should be returned when the comment end is reached..
linkParsingStates(ParsingState) - Method in class org.dbmaintain.script.parser.parsingstate.impl.InDoubleQuotesParsingState
Initializes the state with the normal parsing state, that should be returned when the end of the literal is reached.
linkParsingStates(ParsingState) - Method in class org.dbmaintain.script.parser.parsingstate.impl.InLineCommentParsingState
Initializes the state with the normal parsing state, that should be returned when the comment end is reached..
linkParsingStates(ParsingState) - Method in class org.dbmaintain.script.parser.parsingstate.impl.InSingleQuotesParsingState
Initializes the state with the normal parsing state, that should be returned when the end of the literal is reached..
loadConfiguration() - Method in class org.dbmaintain.config.DbMaintainConfigurationLoader
Loads all properties as defined by the default configuration.
loadConfiguration(URL) - Method in class org.dbmaintain.config.DbMaintainConfigurationLoader
Loads all properties as defined by the default configuration.
loadConfiguration(File) - Method in class org.dbmaintain.config.DbMaintainConfigurationLoader
Loads all properties as defined by the default configuration.
loadConfiguration(Properties) - Method in class org.dbmaintain.config.DbMaintainConfigurationLoader
Loads all properties as defined by the default configuration.
loadConfiguration(CommandLineArguments) - Static method in class org.dbmaintain.launch.commandline.CommandLine
Loads the configuration from custom config file or, if no custom config file was configured, from CommandLine.DBMAINTAIN_PROPERTIES, if this file exists.
loadDefaultConfiguration() - Method in class org.dbmaintain.config.DbMaintainConfigurationLoader
Creates and loads the default configuration settings from the DbMaintainConfigurationLoader.DEFAULT_PROPERTIES_FILE_NAME file.
loadPropertiesFromClasspath(String) - Method in class org.dbmaintain.config.DbMaintainConfigurationLoader
 
loadPropertiesFromFile(File) - Method in class org.dbmaintain.config.DbMaintainConfigurationLoader
 
loadPropertiesFromStream(InputStream) - Method in class org.dbmaintain.config.DbMaintainConfigurationLoader
 
loadPropertiesFromURL(URL) - Method in class org.dbmaintain.config.DbMaintainConfigurationLoader
 
loadScripts(File) - Method in class org.dbmaintain.script.repository.impl.ArchiveScriptLocation
Initializes the scripts from the given jar file
loadScripts(File) - Method in class org.dbmaintain.script.repository.impl.FileSystemScriptLocation
 
loadScripts(File) - Method in class org.dbmaintain.script.repository.ScriptLocation
 
loadScriptsFromJar(JarFile, String) - Method in class org.dbmaintain.script.repository.impl.ArchiveScriptLocation
 
localRepository - Variable in class org.dbmaintain.maven.plugin.BaseMojo
 
LOCATION_PROPERTIES_FILENAME - Static variable in class org.dbmaintain.script.repository.ScriptLocation
Name of the properties file that is packaged with the jar, that contains information about how the scripts in the jar file are structured.
logOutput(List<String>, String, boolean) - Method in class org.dbmaintain.script.runner.impl.Application
 
lowestAcceptableSequenceValue - Variable in class org.dbmaintain.launch.task.UpdateSequencesTask
 
lowestAcceptableSequenceValue - Variable in class org.dbmaintain.maven.plugin.UpdateSequencesMojo
Threshold indicating the minimum value of sequences.
lowestAcceptableSequenceValue - Variable in class org.dbmaintain.structure.sequence.impl.DefaultSequenceUpdater
 

M

main(String[]) - Static method in class org.dbmaintain.launch.commandline.CommandLine
Executes a DbMaintain operation.
MainFactory - Class in org.dbmaintain
 
MainFactory(Properties) - Constructor for class org.dbmaintain.MainFactory
 
MainFactory(Properties, DatabaseConnectionManager) - Constructor for class org.dbmaintain.MainFactory
 
MainFactory(Properties, Map<String, DataSource>) - Constructor for class org.dbmaintain.MainFactory
 
markDatabaseAsUpToDate() - Method in interface org.dbmaintain.DbMaintainer
This operation updates the state of the database to indicate that all scripts have been executed, without actually executing them.
markDatabaseAsUpToDate() - Method in class org.dbmaintain.DefaultDbMaintainer
This operation updates the state of the database to indicate that all scripts have been executed, without actually executing them.
markDatabaseAsUptodate() - Static method in class org.dbmaintain.launch.api.DbMaintainOperations
Marks the database as up-to-date, without executing any script.
MarkDatabaseAsUpToDateAntTask - Class in org.dbmaintain.launch.ant
This operation updates the state of the database to indicate that all scripts have been executed, without actually executing them.
MarkDatabaseAsUpToDateAntTask() - Constructor for class org.dbmaintain.launch.ant.MarkDatabaseAsUpToDateAntTask
 
MarkDatabaseAsUpToDateMojo - Class in org.dbmaintain.maven.plugin
This operation updates the state of the database to indicate that all scripts have been executed, without actually executing them.
MarkDatabaseAsUpToDateMojo() - Constructor for class org.dbmaintain.maven.plugin.MarkDatabaseAsUpToDateMojo
 
MarkDatabaseAsUpToDateTask - Class in org.dbmaintain.launch.task
Task that marks the database as up-to-date, without executing any script.
MarkDatabaseAsUpToDateTask() - Constructor for class org.dbmaintain.launch.task.MarkDatabaseAsUpToDateTask
 
MarkDatabaseAsUpToDateTask(List<DbMaintainDatabase>, String, Boolean, String, String, String, String) - Constructor for class org.dbmaintain.launch.task.MarkDatabaseAsUpToDateTask
 
MarkErrorScriptPerformedAntTask - Class in org.dbmaintain.launch.ant
Task that indicates that the failed script was manually performed.
MarkErrorScriptPerformedAntTask() - Constructor for class org.dbmaintain.launch.ant.MarkErrorScriptPerformedAntTask
 
MarkErrorScriptPerformedMojo - Class in org.dbmaintain.maven.plugin
Task that indicates that the failed script was manually performed.
MarkErrorScriptPerformedMojo() - Constructor for class org.dbmaintain.maven.plugin.MarkErrorScriptPerformedMojo
 
MarkErrorScriptPerformedTask - Class in org.dbmaintain.launch.task
Task that indicates that the failed script was manually performed.
MarkErrorScriptPerformedTask() - Constructor for class org.dbmaintain.launch.task.MarkErrorScriptPerformedTask
 
MarkErrorScriptPerformedTask(List<DbMaintainDatabase>) - Constructor for class org.dbmaintain.launch.task.MarkErrorScriptPerformedTask
 
MarkErrorScriptRevertedAntTask - Class in org.dbmaintain.launch.ant
Task that indicates that the failed script was manually reverted.
MarkErrorScriptRevertedAntTask() - Constructor for class org.dbmaintain.launch.ant.MarkErrorScriptRevertedAntTask
 
MarkErrorScriptRevertedMojo - Class in org.dbmaintain.maven.plugin
Task that indicates that the failed script was manually reverted.
MarkErrorScriptRevertedMojo() - Constructor for class org.dbmaintain.maven.plugin.MarkErrorScriptRevertedMojo
 
MarkErrorScriptRevertedTask - Class in org.dbmaintain.launch.task
Task that indicates that the failed script was manually reverted.
MarkErrorScriptRevertedTask() - Constructor for class org.dbmaintain.launch.task.MarkErrorScriptRevertedTask
 
MarkErrorScriptRevertedTask(List<DbMaintainDatabase>) - Constructor for class org.dbmaintain.launch.task.MarkErrorScriptRevertedTask
 
markErrorScriptsAsSuccessful() - Method in interface org.dbmaintain.script.executedscriptinfo.ExecutedScriptInfoSource
Marks the failed scripts in the executed scripts table as successful.
markErrorScriptsAsSuccessful() - Method in class org.dbmaintain.script.executedscriptinfo.impl.DefaultExecutedScriptInfoSource
Marks the failed scripts in the executed scripts table as successful.
mavenProjectHelper - Variable in class org.dbmaintain.maven.plugin.BaseMojo
 
maxNrOfCharsWhenLoggingScriptContent - Variable in class org.dbmaintain.DefaultDbMaintainer
 
MsSqlDatabase - Class in org.dbmaintain.database.impl
Implementation of Database for a MsSQL database.
MsSqlDatabase(DatabaseConnection, IdentifierProcessor) - Constructor for class org.dbmaintain.database.impl.MsSqlDatabase
 
MultiPassErrorHandler - Class in org.dbmaintain.structure.clear.impl
This class is intended to permit multiple attempts (passes) to drop database objects.
MultiPassErrorHandler() - Constructor for class org.dbmaintain.structure.clear.impl.MultiPassErrorHandler
 
MySqlDatabase - Class in org.dbmaintain.database.impl
Implementation of Database for a MySql database.
MySqlDatabase(DatabaseConnection, IdentifierProcessor) - Constructor for class org.dbmaintain.database.impl.MySqlDatabase
 
MySqlPlSqlBlockMatcher - Class in org.dbmaintain.script.parser.parsingstate.impl
 
MySqlPlSqlBlockMatcher() - Constructor for class org.dbmaintain.script.parser.parsingstate.impl.MySqlPlSqlBlockMatcher
 
MySqlScriptParserFactory - Class in org.dbmaintain.script.parser.impl
 
MySqlScriptParserFactory(boolean, Properties) - Constructor for class org.dbmaintain.script.parser.impl.MySqlScriptParserFactory
 

N

NeverMatchingPlSqlBlockMatcher - Class in org.dbmaintain.script.parser.parsingstate.impl
 
NeverMatchingPlSqlBlockMatcher() - Constructor for class org.dbmaintain.script.parser.parsingstate.impl.NeverMatchingPlSqlBlockMatcher
 
nextChar - Variable in class org.dbmaintain.script.parser.impl.DefaultScriptParser
The current parsed character
noUpdatesOtherThanRepeatableScriptDeletionsOrRenames() - Method in class org.dbmaintain.script.analyzer.ScriptUpdates
 
NULL_WRITER - Static variable in class org.dbmaintain.util.NullWriter
A singleton.
NullWriter - Class in org.dbmaintain.util
This Writer writes all data to the famous /dev/null.
NullWriter() - Constructor for class org.dbmaintain.util.NullWriter
Constructs a new NullWriter.

O

OPEN_CURLY_BRACE - Static variable in class org.dbmaintain.script.parser.parsingstate.impl.BaseNormalParsingState
 
openScriptContentReader() - Method in class org.dbmaintain.script.ScriptContentHandle
Opens a stream to the content of the script.
OracleDatabase - Class in org.dbmaintain.database.impl
Implementation of Database for an Oracle database.
OracleDatabase(DatabaseConnection, IdentifierProcessor) - Constructor for class org.dbmaintain.database.impl.OracleDatabase
 
OraclePlSqlBlockMatcher - Class in org.dbmaintain.script.parser.parsingstate.impl
 
OraclePlSqlBlockMatcher() - Constructor for class org.dbmaintain.script.parser.parsingstate.impl.OraclePlSqlBlockMatcher
 
OracleScriptParserFactory - Class in org.dbmaintain.script.parser.impl
 
OracleScriptParserFactory(boolean, Properties) - Constructor for class org.dbmaintain.script.parser.impl.OracleScriptParserFactory
 
org.dbmaintain - package org.dbmaintain
 
org.dbmaintain.config - package org.dbmaintain.config
 
org.dbmaintain.database - package org.dbmaintain.database
 
org.dbmaintain.database.impl - package org.dbmaintain.database.impl
 
org.dbmaintain.datasource - package org.dbmaintain.datasource
 
org.dbmaintain.datasource.impl - package org.dbmaintain.datasource.impl
 
org.dbmaintain.launch.ant - package org.dbmaintain.launch.ant
 
org.dbmaintain.launch.api - package org.dbmaintain.launch.api
 
org.dbmaintain.launch.commandline - package org.dbmaintain.launch.commandline
 
org.dbmaintain.launch.task - package org.dbmaintain.launch.task
 
org.dbmaintain.maven.plugin - package org.dbmaintain.maven.plugin
 
org.dbmaintain.script - package org.dbmaintain.script
 
org.dbmaintain.script.analyzer - package org.dbmaintain.script.analyzer
 
org.dbmaintain.script.archive - package org.dbmaintain.script.archive
 
org.dbmaintain.script.archive.impl - package org.dbmaintain.script.archive.impl
 
org.dbmaintain.script.executedscriptinfo - package org.dbmaintain.script.executedscriptinfo
 
org.dbmaintain.script.executedscriptinfo.impl - package org.dbmaintain.script.executedscriptinfo.impl
 
org.dbmaintain.script.parser - package org.dbmaintain.script.parser
 
org.dbmaintain.script.parser.impl - package org.dbmaintain.script.parser.impl
 
org.dbmaintain.script.parser.parsingstate - package org.dbmaintain.script.parser.parsingstate
 
org.dbmaintain.script.parser.parsingstate.impl - package org.dbmaintain.script.parser.parsingstate.impl
 
org.dbmaintain.script.qualifier - package org.dbmaintain.script.qualifier
 
org.dbmaintain.script.qualifier.impl - package org.dbmaintain.script.qualifier.impl
 
org.dbmaintain.script.repository - package org.dbmaintain.script.repository
 
org.dbmaintain.script.repository.impl - package org.dbmaintain.script.repository.impl
 
org.dbmaintain.script.runner - package org.dbmaintain.script.runner
 
org.dbmaintain.script.runner.impl - package org.dbmaintain.script.runner.impl
 
org.dbmaintain.script.runner.impl.db2 - package org.dbmaintain.script.runner.impl.db2
 
org.dbmaintain.structure.clean - package org.dbmaintain.structure.clean
 
org.dbmaintain.structure.clean.impl - package org.dbmaintain.structure.clean.impl
 
org.dbmaintain.structure.clear - package org.dbmaintain.structure.clear
 
org.dbmaintain.structure.clear.impl - package org.dbmaintain.structure.clear.impl
 
org.dbmaintain.structure.constraint - package org.dbmaintain.structure.constraint
 
org.dbmaintain.structure.constraint.impl - package org.dbmaintain.structure.constraint.impl
 
org.dbmaintain.structure.model - package org.dbmaintain.structure.model
 
org.dbmaintain.structure.sequence - package org.dbmaintain.structure.sequence
 
org.dbmaintain.structure.sequence.impl - package org.dbmaintain.structure.sequence.impl
 
org.dbmaintain.util - package org.dbmaintain.util
 
overrideValuesWithCustomConfiguration(Properties) - Method in class org.dbmaintain.script.repository.ScriptLocation
Initializes all fields of the script location using the given properties, and default values for each of the fields which are used if not available in the properties.

P

parseArguments(String[]) - Method in class org.dbmaintain.launch.commandline.CommandLineArguments
 
parseCommandLineArguments(String[]) - Static method in class org.dbmaintain.launch.commandline.CommandLine
Parses the command line arguments and gives back a CommandLineArguments instance that represents these arguments in a more convenient way.
parseFromJdbcUrl(String, String, String, String) - Static method in class org.dbmaintain.script.runner.impl.db2.Db2ConnectionInfo
 
parseFromType2JdbcUrl(String, String, String) - Static method in class org.dbmaintain.script.runner.impl.db2.Db2ConnectionInfo
A type 2 connection url has following structure: jdbc:db2:database
parseFromType4JdbcUrl(String, String, String, String) - Static method in class org.dbmaintain.script.runner.impl.db2.Db2ConnectionInfo
A type 4 connection url has following structure: jdbc:(db2)|(db:net)|(ids)://host(:port)/database
parseItemIdentifier(DbItemType, String, Databases) - Static method in class org.dbmaintain.structure.model.DbItemIdentifier
 
parseSchemaIdentifier(String, Databases) - Static method in class org.dbmaintain.structure.model.DbItemIdentifier
 
ParsingState - Interface in org.dbmaintain.script.parser.parsingstate
A state of a parser that can handle a character and knows when the state ends and is transfered to another state.
password - Variable in class org.dbmaintain.script.runner.impl.db2.Db2ConnectionInfo
 
patchQualifiers - Variable in class org.dbmaintain.launch.task.CheckScriptUpdatesTask
 
patchQualifiers - Variable in class org.dbmaintain.launch.task.CreateScriptArchiveTask
 
patchQualifiers - Variable in class org.dbmaintain.launch.task.UpdateDatabaseTask
 
patchQualifiers - Variable in class org.dbmaintain.maven.plugin.CheckScriptUpdatesMojo
The qualifier to use to determine whether a script is a patch script.
patchQualifiers - Variable in class org.dbmaintain.maven.plugin.CreateScriptArchiveMojo
The qualifier to use to determine whether a script is a patch script.
patchQualifiers - Variable in class org.dbmaintain.maven.plugin.UpdateDatabaseMojo
The qualifier to use to determine whether a script is a patch script.
patchQualifiers - Variable in class org.dbmaintain.script.archive.impl.DefaultScriptArchiveCreator
 
patchQualifiers - Variable in class org.dbmaintain.script.repository.ScriptLocation
 
performAfterTaskActions() - Method in class org.dbmaintain.maven.plugin.BaseMojo
Hook method to perform some operations (such as attaching an artifact) when the task has completed successfully.
performAfterTaskActions() - Method in class org.dbmaintain.maven.plugin.CreateScriptArchiveMojo
 
performRegularScriptRenamesInExecutedScripts(SortedSet<ScriptUpdate>) - Method in class org.dbmaintain.DefaultDbMaintainer
Updates the records in the DBMAINTAIN_SCRIPTS table for all scripts that were regularly renamed (i.e. renamed without changing the order of the incremental scripts.
plSqlBlockMatcher - Variable in class org.dbmaintain.script.parser.parsingstate.impl.BaseNormalParsingState
 
PlSqlBlockMatcher - Interface in org.dbmaintain.script.parser.parsingstate
Defines the contract for implementations that define whether a given start is the start of a pl-sql block (e.g. stored procedure) for a specific SQL dialect.
PlSqlBlockNormalParsingState - Class in org.dbmaintain.script.parser.parsingstate.impl
 
PlSqlBlockNormalParsingState(boolean, boolean) - Constructor for class org.dbmaintain.script.parser.parsingstate.impl.PlSqlBlockNormalParsingState
 
port - Variable in class org.dbmaintain.script.runner.impl.db2.Db2ConnectionInfo
 
PostgreSqlDatabase - Class in org.dbmaintain.database.impl
Implementation of Database for a PostgreSql database.
PostgreSqlDatabase(DatabaseConnection, IdentifierProcessor) - Constructor for class org.dbmaintain.database.impl.PostgreSqlDatabase
 
PostgreSqlPlSqlBlockMatcher - Class in org.dbmaintain.script.parser.parsingstate.impl
 
PostgreSqlPlSqlBlockMatcher() - Constructor for class org.dbmaintain.script.parser.parsingstate.impl.PostgreSqlPlSqlBlockMatcher
 
PostgreSqlScriptParserFactory - Class in org.dbmaintain.script.parser.impl
 
PostgreSqlScriptParserFactory(boolean, Properties) - Constructor for class org.dbmaintain.script.parser.impl.PostgreSqlScriptParserFactory
 
postProcessingScriptDirectoryName - Variable in class org.dbmaintain.launch.task.CheckScriptUpdatesTask
 
postProcessingScriptDirectoryName - Variable in class org.dbmaintain.launch.task.CreateScriptArchiveTask
 
postProcessingScriptDirectoryName - Variable in class org.dbmaintain.launch.task.UpdateDatabaseTask
 
postProcessingScriptDirectoryName - Variable in class org.dbmaintain.maven.plugin.CheckScriptUpdatesMojo
Comma separated list of directories and files in which the post processing database scripts are located.
postProcessingScriptDirectoryName - Variable in class org.dbmaintain.maven.plugin.CreateScriptArchiveMojo
Comma separated list of directories and files in which the post processing database scripts are located.
postProcessingScriptDirectoryName - Variable in class org.dbmaintain.maven.plugin.UpdateDatabaseMojo
Comma separated list of directories and files in which the post processing database scripts are located.
postProcessingScriptDirName - Variable in class org.dbmaintain.script.archive.impl.DefaultScriptArchiveCreator
 
postProcessingScriptDirName - Variable in class org.dbmaintain.script.repository.ScriptLocation
 
postProcessingScripts - Variable in class org.dbmaintain.script.repository.ScriptRepository
 
printHelpMessage() - Static method in class org.dbmaintain.launch.commandline.CommandLine
Prints out a help message that explains the usage of this class
project - Variable in class org.dbmaintain.maven.plugin.BaseMojo
The maven project.
PROPERTY_AUTO_CREATE_DBMAINTAIN_SCRIPTS_TABLE - Static variable in class org.dbmaintain.config.DbMaintainProperties
 
PROPERTY_BACKSLASH_ESCAPING_ENABLED - Static variable in class org.dbmaintain.config.DbMaintainProperties
 
PROPERTY_BASELINE_REVISION - Static variable in class org.dbmaintain.config.DbMaintainProperties
 
PROPERTY_CHECKSUM_COLUMN_NAME - Static variable in class org.dbmaintain.config.DbMaintainProperties
 
PROPERTY_CHECKSUM_COLUMN_SIZE - Static variable in class org.dbmaintain.config.DbMaintainProperties
 
PROPERTY_CLEANDB - Static variable in class org.dbmaintain.config.DbMaintainProperties
Property indicating if deleting all data from all tables before updating is enabled
PROPERTY_DATABASE_NAMES - Static variable in class org.dbmaintain.config.DbMaintainProperties
Logical names for the databases.
PROPERTY_DATABASE_START - Static variable in class org.dbmaintain.config.DbMaintainProperties
Start of all property names that concern the configuration of a database
PROPERTY_DB2_COMMAND - Static variable in class org.dbmaintain.config.DbMaintainProperties
 
PROPERTY_DIALECT - Static variable in class org.dbmaintain.config.DbMaintainProperties
 
PROPERTY_DIALECT_END - Static variable in class org.dbmaintain.config.DbMaintainProperties
Property key of the SQL dialect of the underlying DBMS implementation
PROPERTY_DISABLE_CONSTRAINTS - Static variable in class org.dbmaintain.config.DbMaintainProperties
Property indicating if the database constraints should org disabled after updating the database
PROPERTY_DRIVERCLASSNAME - Static variable in class org.dbmaintain.config.DbMaintainProperties
 
PROPERTY_DRIVERCLASSNAME_END - Static variable in class org.dbmaintain.config.DbMaintainProperties
End of property names that indicate a database driver classname
PROPERTY_EXCLUDED_QUALIFIERS - Static variable in class org.dbmaintain.config.DbMaintainProperties
 
PROPERTY_EXECUTED_AT_COLUMN_NAME - Static variable in class org.dbmaintain.config.DbMaintainProperties
 
PROPERTY_EXECUTED_AT_COLUMN_SIZE - Static variable in class org.dbmaintain.config.DbMaintainProperties
 
PROPERTY_EXECUTED_SCRIPTS_TABLE_NAME - Static variable in class org.dbmaintain.config.DbMaintainProperties
 
PROPERTY_FILE_LAST_MODIFIED_AT_COLUMN_NAME - Static variable in class org.dbmaintain.config.DbMaintainProperties
 
PROPERTY_FILE_NAME_COLUMN_NAME - Static variable in class org.dbmaintain.config.DbMaintainProperties
 
PROPERTY_FILE_NAME_COLUMN_SIZE - Static variable in class org.dbmaintain.config.DbMaintainProperties
 
PROPERTY_FROM_SCRATCH_ENABLED - Static variable in class org.dbmaintain.config.DbMaintainProperties
Property indicating if updating the database from scratch is enabled
PROPERTY_IDENTIFIER_QUOTE_STRING - Static variable in class org.dbmaintain.config.DbMaintainProperties
Property key for the default identifier quote string (empty value for not supported, auto)
PROPERTY_IGNORE_CARRIAGE_RETURN_WHEN_CALCULATING_CHECK_SUM - Static variable in class org.dbmaintain.config.DbMaintainProperties
 
PROPERTY_INCLUDED - Static variable in class org.dbmaintain.config.DbMaintainProperties
 
PROPERTY_INCLUDED_END - Static variable in class org.dbmaintain.config.DbMaintainProperties
End of property names that indicate whether the database is included: i.e. it is active and must be updated
PROPERTY_INCLUDED_QUALIFIERS - Static variable in class org.dbmaintain.config.DbMaintainProperties
 
PROPERTY_LOWEST_ACCEPTABLE_SEQUENCE_VALUE - Static variable in class org.dbmaintain.config.DbMaintainProperties
Property key for the lowest acceptable sequence value
PROPERTY_MAX_NR_CHARS_WHEN_LOGGING_SCRIPT_CONTENT - Static variable in class org.dbmaintain.config.DbMaintainProperties
Property for the maximum nr of chars of the script content to log when exception occurs, 0 to not log any script content
PROPERTY_PASSWORD - Static variable in class org.dbmaintain.config.DbMaintainProperties
 
PROPERTY_PASSWORD_END - Static variable in class org.dbmaintain.config.DbMaintainProperties
End of property names that indicate a database password
PROPERTY_PATCH_ALLOWOUTOFSEQUENCEEXECUTION - Static variable in class org.dbmaintain.config.DbMaintainProperties
The key for the property that specifies that patch scripts can be executed out of sequence
PROPERTY_POSTPROCESSINGSCRIPT_DIRNAME - Static variable in class org.dbmaintain.config.DbMaintainProperties
Property key for the directory in which the code script files are located
PROPERTY_PRESERVE_DATA_SCHEMAS - Static variable in class org.dbmaintain.config.DbMaintainProperties
Property key for schemas in which none of the tables should be cleaned
PROPERTY_PRESERVE_DATA_TABLES - Static variable in class org.dbmaintain.config.DbMaintainProperties
Property key for the tables that should not be cleaned
PROPERTY_PRESERVE_MATERIALIZED_VIEWS - Static variable in class org.dbmaintain.config.DbMaintainProperties
The key of the property that specifies which materialized views should not be dropped
PROPERTY_PRESERVE_SCHEMAS - Static variable in class org.dbmaintain.config.DbMaintainProperties
The key of the property that specifies of which schemas nothing should be dropped
PROPERTY_PRESERVE_SEQUENCES - Static variable in class org.dbmaintain.config.DbMaintainProperties
The key of the property that specifies which sequences should not be dropped
PROPERTY_PRESERVE_SYNONYMS - Static variable in class org.dbmaintain.config.DbMaintainProperties
The key of the property that specifies which synonyms should not be dropped
PROPERTY_PRESERVE_TABLES - Static variable in class org.dbmaintain.config.DbMaintainProperties
The key of the property that specifies which tables should not be dropped
PROPERTY_PRESERVE_TRIGGERS - Static variable in class org.dbmaintain.config.DbMaintainProperties
The key of the property that specifies which triggers should not be dropped
PROPERTY_PRESERVE_TYPES - Static variable in class org.dbmaintain.config.DbMaintainProperties
The key of the property that specifies which types should not be dropped
PROPERTY_PRESERVE_VIEWS - Static variable in class org.dbmaintain.config.DbMaintainProperties
The key of the property that specifies which views should not be dropped
PROPERTY_QUALIFIERS - Static variable in class org.dbmaintain.config.DbMaintainProperties
 
PROPERTY_SCHEMANAMES - Static variable in class org.dbmaintain.config.DbMaintainProperties
 
PROPERTY_SCHEMANAMES_END - Static variable in class org.dbmaintain.config.DbMaintainProperties
Property key for the database schema names
PROPERTY_SCRIPT_ENCODING - Static variable in class org.dbmaintain.config.DbMaintainProperties
 
PROPERTY_SCRIPT_FILE_EXTENSIONS - Static variable in class org.dbmaintain.config.DbMaintainProperties
Property key for the extension of the script files
PROPERTY_SCRIPT_INDEX_REGEXP - Static variable in class org.dbmaintain.config.DbMaintainProperties
 
PROPERTY_SCRIPT_LOCATIONS - Static variable in class org.dbmaintain.config.DbMaintainProperties
Property key for the directory in which the script files are located
PROPERTY_SCRIPT_PARAMETER_FILE - Static variable in class org.dbmaintain.config.DbMaintainProperties
 
PROPERTY_SCRIPT_PATCH_QUALIFIERS - Static variable in class org.dbmaintain.config.DbMaintainProperties
Property key for the patch indicator.
PROPERTY_SCRIPT_QUALIFIER_REGEXP - Static variable in class org.dbmaintain.config.DbMaintainProperties
 
PROPERTY_SCRIPT_TARGETDATABASE_REGEXP - Static variable in class org.dbmaintain.config.DbMaintainProperties
 
PROPERTY_SQL_PLUS_COMMAND - Static variable in class org.dbmaintain.config.DbMaintainProperties
 
PROPERTY_STORED_IDENTIFIER_CASE - Static variable in class org.dbmaintain.config.DbMaintainProperties
Property key for the default identifier casing (lower_case, upper_case, mixed_case, auto)
PROPERTY_SUCCEEDED_COLUMN_NAME - Static variable in class org.dbmaintain.config.DbMaintainProperties
 
PROPERTY_TIMESTAMP_FORMAT - Static variable in class org.dbmaintain.config.DbMaintainProperties
 
PROPERTY_UPDATE_SEQUENCES - Static variable in class org.dbmaintain.config.DbMaintainProperties
Property indicating if the database constraints should org disabled after updating the database
PROPERTY_URL - Static variable in class org.dbmaintain.config.DbMaintainProperties
 
PROPERTY_URL_END - Static variable in class org.dbmaintain.config.DbMaintainProperties
End of property names that indicate a database url
PROPERTY_USERNAME - Static variable in class org.dbmaintain.config.DbMaintainProperties
 
PROPERTY_USERNAME_END - Static variable in class org.dbmaintain.config.DbMaintainProperties
End of property names that indicate a database username
PROPERTY_USESCRIPTFILELASTMODIFICATIONDATES - Static variable in class org.dbmaintain.config.DbMaintainProperties
 
PropertyUtils - Class in org.dbmaintain.config
Utilities for working with property files.
PropertyUtils() - Constructor for class org.dbmaintain.config.PropertyUtils
 

Q

qualified(String) - Method in class org.dbmaintain.database.Database
Qualifies the given database object name with the name of the default schema.
qualified(String, String) - Method in class org.dbmaintain.database.Database
Qualifies the given database object name with the name of the given schema.
qualified(String) - Method in class org.dbmaintain.database.IdentifierProcessor
Qualifies the given database object name with the name of the default schema.
qualified(String, String) - Method in class org.dbmaintain.database.IdentifierProcessor
Qualifies the given database object name with the name of the given schema.
qualifier - Variable in class org.dbmaintain.maven.plugin.CreateScriptArchiveMojo
An optional qualifier for the artifact.
Qualifier - Class in org.dbmaintain.script.qualifier
Represents a script qualifier, that characterizes a database script in some way, and that can be used to exclude scripts from execution or to indicate 'patch' scripts.
Qualifier(String) - Constructor for class org.dbmaintain.script.qualifier.Qualifier
 
QualifierEvaluator - Interface in org.dbmaintain.script.qualifier
 
qualifierEvaluator - Variable in class org.dbmaintain.script.repository.ScriptRepository
 
qualifierRegexp - Variable in class org.dbmaintain.script.archive.impl.DefaultScriptArchiveCreator
 
qualifierRegexp - Variable in class org.dbmaintain.script.repository.ScriptLocation
 
qualifiers - Variable in class org.dbmaintain.launch.task.CheckScriptUpdatesTask
 
qualifiers - Variable in class org.dbmaintain.launch.task.CreateScriptArchiveTask
 
qualifiers - Variable in class org.dbmaintain.launch.task.MarkDatabaseAsUpToDateTask
 
qualifiers - Variable in class org.dbmaintain.launch.task.UpdateDatabaseTask
 
qualifiers - Variable in class org.dbmaintain.maven.plugin.CheckScriptUpdatesMojo
Optional comma-separated list of script qualifiers.
qualifiers - Variable in class org.dbmaintain.maven.plugin.CreateScriptArchiveMojo
Optional comma-separated list of script qualifiers.
qualifiers - Variable in class org.dbmaintain.maven.plugin.UpdateDatabaseMojo
Optional comma-separated list of script qualifiers.
quoted(String) - Method in class org.dbmaintain.database.Database
Put quotes around the given databaseObjectName, if the underlying DBMS supports quoted database object names.
quoted(String) - Method in class org.dbmaintain.database.IdentifierProcessor
Put quotes around the given databaseObjectName, if the underlying DBMS supports quoted database object names.

R

read() - Method in class org.dbmaintain.util.ReaderInputStream
 
ReaderInputStream - Class in org.dbmaintain.util
Wrapper that makes an Reader available as an InputStream
ReaderInputStream(Reader) - Constructor for class org.dbmaintain.util.ReaderInputStream
 
readNextCharacter() - Method in class org.dbmaintain.script.parser.impl.DefaultScriptParser
 
ReflectionUtils - Class in org.dbmaintain.util
Utility methods that use reflection for instance creation or class inspection.
ReflectionUtils() - Constructor for class org.dbmaintain.util.ReflectionUtils
 
registerDatabase(Db2ConnectionInfo) - Method in class org.dbmaintain.script.runner.impl.db2.Db2ScriptRunner
 
registeredQualifiers - Variable in class org.dbmaintain.script.archive.impl.DefaultScriptArchiveCreator
 
registeredQualifiers - Variable in class org.dbmaintain.script.repository.ScriptLocation
 
registerExecutedScript(ExecutedScript) - Method in interface org.dbmaintain.script.executedscriptinfo.ExecutedScriptInfoSource
Registers the fact that the given script has been executed on the database
registerExecutedScript(ExecutedScript) - Method in class org.dbmaintain.script.executedscriptinfo.impl.DefaultExecutedScriptInfoSource
Registers the fact that the given script has been executed on the database
registerIrregularIncrementalScriptRenames() - Method in class org.dbmaintain.script.analyzer.ScriptUpdatesAnalyzer
Take all script renames that were registered using the method ScriptUpdatesAnalyzer.registerScriptRename(ExecutedScript, Script) and register them all as irregular script renames.
registerIrregularScriptUpdate(ScriptUpdateType, Script) - Method in class org.dbmaintain.script.analyzer.ScriptUpdatesAnalyzer
 
registerIrregularScriptUpdate(ScriptUpdateType, Script, Script) - Method in class org.dbmaintain.script.analyzer.ScriptUpdatesAnalyzer
 
registerPostprocessingScriptRename(ScriptUpdateType, Script, Script) - Method in class org.dbmaintain.script.analyzer.ScriptUpdatesAnalyzer
 
registerPostprocessingScriptUpdate(ScriptUpdateType, Script) - Method in class org.dbmaintain.script.analyzer.ScriptUpdatesAnalyzer
 
registerRegularIncrementalScriptRenames() - Method in class org.dbmaintain.script.analyzer.ScriptUpdatesAnalyzer
Take all script renames that were registered using the method ScriptUpdatesAnalyzer.registerScriptRename(ExecutedScript, Script) and register them all as regular script renames.
registerRegularlyAddedPatchScript(ScriptUpdateType, Script) - Method in class org.dbmaintain.script.analyzer.ScriptUpdatesAnalyzer
 
registerRegularScriptRename(ScriptUpdateType, Script, Script) - Method in class org.dbmaintain.script.analyzer.ScriptUpdatesAnalyzer
 
registerRegularScriptUpdate(ScriptUpdateType, Script) - Method in class org.dbmaintain.script.analyzer.ScriptUpdatesAnalyzer
 
registerRepeatableScriptDeletion(Script) - Method in class org.dbmaintain.script.analyzer.ScriptUpdatesAnalyzer
 
registerScriptAddition(Script) - Method in class org.dbmaintain.script.analyzer.ScriptUpdatesAnalyzer
Register the given script as a newly added one
registerScriptDeletion(Script) - Method in class org.dbmaintain.script.analyzer.ScriptUpdatesAnalyzer
Register that the given script has been deleted since the last update
registerScriptRename(ExecutedScript, Script) - Method in class org.dbmaintain.script.analyzer.ScriptUpdatesAnalyzer
Register that the given script has been renamed to the given new script since the last update
registerScriptUpdate(Script) - Method in class org.dbmaintain.script.analyzer.ScriptUpdatesAnalyzer
Register that the given script's content has changed since the last update
remoteAlias - Variable in class org.dbmaintain.script.runner.impl.db2.Db2ConnectionInfo
 
remoteRepositories - Variable in class org.dbmaintain.maven.plugin.BaseMojo
 
removeDeletedRepeatableScriptsFromExecutedScripts(SortedSet<ScriptUpdate>) - Method in class org.dbmaintain.DefaultDbMaintainer
Removes all executed scripts that indicate repeatable scripts that were removed since the last database update
removeErrorScripts() - Method in interface org.dbmaintain.script.executedscriptinfo.ExecutedScriptInfoSource
Removes the failed scripts in the executed scripts table.
removeErrorScripts() - Method in class org.dbmaintain.script.executedscriptinfo.impl.DefaultExecutedScriptInfoSource
Removes the failed scripts in the executed scripts table.
removeIdentifierQuotes(String) - Method in class org.dbmaintain.database.Database
 
removeIdentifierQuotes(String) - Method in class org.dbmaintain.database.IdentifierProcessor
 
renameExecutedScript(ExecutedScript, Script) - Method in interface org.dbmaintain.script.executedscriptinfo.ExecutedScriptInfoSource
Registers the fact that the script that was originally executed has been renamed.
renameExecutedScript(ExecutedScript, Script) - Method in class org.dbmaintain.script.executedscriptinfo.impl.DefaultExecutedScriptInfoSource
Registers the fact that the script that was originally executed has been renamed.
renameTo(Script) - Method in class org.dbmaintain.script.ExecutedScript
Registers the fact that the script that was originally executed has been renamed.
repeatableScripts - Variable in class org.dbmaintain.script.repository.ScriptRepository
 
resetCachedState() - Method in interface org.dbmaintain.script.executedscriptinfo.ExecutedScriptInfoSource
Resets the cached state, for example when the scripts table was modified by another process.
resetCachedState() - Method in class org.dbmaintain.script.executedscriptinfo.impl.DefaultExecutedScriptInfoSource
Resets the cached state, for example when the scripts table was modified by another process.
resolver - Variable in class org.dbmaintain.maven.plugin.BaseMojo
 
run() - Method in class org.dbmaintain.script.runner.impl.Application.OutputProcessor
 

S

schemaNames - Variable in class org.dbmaintain.database.Database
 
Script - Class in org.dbmaintain.script
A class representing a script file and it's content.
Script(String, ScriptIndexes, String, Long, String, ScriptContentHandle, boolean, boolean, boolean, Set<Qualifier>) - Constructor for class org.dbmaintain.script.Script
Creates a script with the given fileName and content or checksum.
ScriptArchiveCreator - Interface in org.dbmaintain.script.archive
Creates a archive file containing all scripts in all configured script locations
ScriptArchiveCreatorFactory - Class in org.dbmaintain.script.archive
 
ScriptArchiveCreatorFactory() - Constructor for class org.dbmaintain.script.archive.ScriptArchiveCreatorFactory
 
scriptArchiveDependencies - Variable in class org.dbmaintain.maven.plugin.CheckScriptUpdatesMojo
Defines where the scripts can be found that must be executed on the database.
scriptArchiveDependencies - Variable in class org.dbmaintain.maven.plugin.MarkDatabaseAsUpToDateMojo
Defines where the scripts can be found that must be registered in the database.
scriptArchiveDependencies - Variable in class org.dbmaintain.maven.plugin.UpdateDatabaseMojo
Defines where the scripts can be found that must be executed on the database.
ScriptArchiveDependency - Class in org.dbmaintain.maven.plugin
A scripts-archive maven dependency.
ScriptArchiveDependency() - Constructor for class org.dbmaintain.maven.plugin.ScriptArchiveDependency
 
ScriptContentHandle - Class in org.dbmaintain.script
A handle for getting the script content as a stream.
ScriptContentHandle(String, boolean) - Constructor for class org.dbmaintain.script.ScriptContentHandle
 
ScriptContentHandle.StringScriptContentHandle - Class in org.dbmaintain.script
A handle for getting the script content as a stream.
ScriptContentHandle.StringScriptContentHandle(String, String, boolean) - Constructor for class org.dbmaintain.script.ScriptContentHandle.StringScriptContentHandle
Creates a content handle.
ScriptContentHandle.UrlScriptContentHandle - Class in org.dbmaintain.script
A handle for getting the script content as a stream.
ScriptContentHandle.UrlScriptContentHandle(URL, String, boolean) - Constructor for class org.dbmaintain.script.ScriptContentHandle.UrlScriptContentHandle
Creates a content handle.
scriptDigest - Variable in class org.dbmaintain.script.ScriptContentHandle
 
scriptEncoding - Variable in class org.dbmaintain.launch.task.CheckScriptUpdatesTask
 
scriptEncoding - Variable in class org.dbmaintain.launch.task.CreateScriptArchiveTask
 
scriptEncoding - Variable in class org.dbmaintain.launch.task.UpdateDatabaseTask
 
scriptEncoding - Variable in class org.dbmaintain.maven.plugin.CheckScriptUpdatesMojo
Encoding to use when reading the script files.
scriptEncoding - Variable in class org.dbmaintain.maven.plugin.CreateScriptArchiveMojo
Encoding to use when reading the script files.
scriptEncoding - Variable in class org.dbmaintain.maven.plugin.UpdateDatabaseMojo
Encoding to use when reading the script files.
scriptEncoding - Variable in class org.dbmaintain.script.archive.impl.DefaultScriptArchiveCreator
 
scriptEncoding - Variable in class org.dbmaintain.script.repository.ScriptLocation
 
scriptFactory - Variable in class org.dbmaintain.script.executedscriptinfo.impl.DefaultExecutedScriptInfoSource
 
scriptFactory - Variable in class org.dbmaintain.script.repository.ScriptLocation
 
ScriptFactory - Class in org.dbmaintain.script
 
ScriptFactory(String, String, String, Set<Qualifier>, Set<Qualifier>, String, ScriptIndexes) - Constructor for class org.dbmaintain.script.ScriptFactory
 
scriptFileExtensions - Variable in class org.dbmaintain.launch.task.CheckScriptUpdatesTask
 
scriptFileExtensions - Variable in class org.dbmaintain.launch.task.CreateScriptArchiveTask
 
scriptFileExtensions - Variable in class org.dbmaintain.launch.task.MarkDatabaseAsUpToDateTask
 
scriptFileExtensions - Variable in class org.dbmaintain.launch.task.UpdateDatabaseTask
 
scriptFileExtensions - Variable in class org.dbmaintain.maven.plugin.CheckScriptUpdatesMojo
Sets the scriptFileExtensions property, that defines the extensions of the files that are regarded to be database scripts.
scriptFileExtensions - Variable in class org.dbmaintain.maven.plugin.CreateScriptArchiveMojo
Sets the scriptFileExtensions property, that defines the extensions of the files that are regarded to be database scripts.
scriptFileExtensions - Variable in class org.dbmaintain.maven.plugin.UpdateDatabaseMojo
Sets the scriptFileExtensions property, that defines the extensions of the files that are regarded to be database scripts.
scriptFileExtensions - Variable in class org.dbmaintain.script.archive.impl.DefaultScriptArchiveCreator
 
scriptFileExtensions - Variable in class org.dbmaintain.script.repository.ScriptLocation
 
ScriptIndexes - Class in org.dbmaintain.script.executedscriptinfo
Class representing the indexes of a script.
ScriptIndexes(List<Long>) - Constructor for class org.dbmaintain.script.executedscriptinfo.ScriptIndexes
Creates a new version.
ScriptIndexes(String) - Constructor for class org.dbmaintain.script.executedscriptinfo.ScriptIndexes
Creates a new version.
scriptIndexRegexp - Variable in class org.dbmaintain.script.archive.impl.DefaultScriptArchiveCreator
 
scriptIndexRegexp - Variable in class org.dbmaintain.script.repository.ScriptLocation
 
ScriptLocation - Class in org.dbmaintain.script.repository
 
ScriptLocation(SortedSet<Script>, String, String, Set<Qualifier>, Set<Qualifier>, String, String, String, Set<String>, ScriptIndexes, boolean) - Constructor for class org.dbmaintain.script.repository.ScriptLocation
 
ScriptLocation(File, String, String, Set<Qualifier>, Set<Qualifier>, String, String, String, Set<String>, ScriptIndexes, boolean) - Constructor for class org.dbmaintain.script.repository.ScriptLocation
 
scriptLocationName - Variable in class org.dbmaintain.script.repository.ScriptLocation
 
scriptLocations - Variable in class org.dbmaintain.launch.task.CheckScriptUpdatesTask
 
scriptLocations - Variable in class org.dbmaintain.launch.task.CreateScriptArchiveTask
 
scriptLocations - Variable in class org.dbmaintain.launch.task.MarkDatabaseAsUpToDateTask
 
scriptLocations - Variable in class org.dbmaintain.launch.task.UpdateDatabaseTask
 
scriptLocations - Variable in class org.dbmaintain.maven.plugin.CheckScriptUpdatesMojo
Defines where the scripts can be found that must be executed on the database.
scriptLocations - Variable in class org.dbmaintain.maven.plugin.CreateScriptArchiveMojo
Defines where the scripts can be found that must be added to the jar file.
scriptLocations - Variable in class org.dbmaintain.maven.plugin.MarkDatabaseAsUpToDateMojo
Defines where the scripts can be found that must be registered in the database.
scriptLocations - Variable in class org.dbmaintain.maven.plugin.UpdateDatabaseMojo
Defines where the scripts can be found that must be executed on the database.
scriptParameterFile - Variable in class org.dbmaintain.launch.task.UpdateDatabaseTask
 
scriptParameterFile - Variable in class org.dbmaintain.maven.plugin.UpdateDatabaseMojo
Sets the scriptParameterFile property.
scriptParameters - Variable in class org.dbmaintain.script.parser.impl.DefaultScriptParser
Parameters that must be replaced in the script.
scriptParameters - Variable in class org.dbmaintain.script.parser.impl.DefaultScriptParserFactory
 
ScriptParser - Interface in org.dbmaintain.script.parser
An interface for a parser that can parse statements out of a script.
ScriptParserFactory - Interface in org.dbmaintain.script.parser
 
scriptReader - Variable in class org.dbmaintain.script.parser.impl.DefaultScriptParser
The reader for the script content stream
scriptReader - Variable in class org.dbmaintain.script.ScriptContentHandle
 
scriptRepository - Variable in class org.dbmaintain.DefaultDbMaintainer
 
scriptRepository - Variable in class org.dbmaintain.script.archive.impl.DefaultScriptArchiveCreator
 
ScriptRepository - Class in org.dbmaintain.script.repository
 
ScriptRepository(Set<ScriptLocation>, QualifierEvaluator) - Constructor for class org.dbmaintain.script.repository.ScriptRepository
 
scriptRunner - Variable in class org.dbmaintain.DefaultDbMaintainer
 
ScriptRunner - Interface in org.dbmaintain.script.runner
Runs a given database script.
scripts - Variable in class org.dbmaintain.script.repository.ScriptLocation
 
ScriptUpdate - Class in org.dbmaintain.script.analyzer
 
ScriptUpdate(ScriptUpdateType, Script) - Constructor for class org.dbmaintain.script.analyzer.ScriptUpdate
 
ScriptUpdate(ScriptUpdateType, Script, Script) - Constructor for class org.dbmaintain.script.analyzer.ScriptUpdate
 
ScriptUpdates - Class in org.dbmaintain.script.analyzer
 
ScriptUpdates(SortedSet<ScriptUpdate>, SortedSet<ScriptUpdate>, SortedSet<ScriptUpdate>, SortedSet<ScriptUpdate>, SortedSet<ScriptUpdate>, SortedSet<ScriptUpdate>) - Constructor for class org.dbmaintain.script.analyzer.ScriptUpdates
 
ScriptUpdatesAnalyzer - Class in org.dbmaintain.script.analyzer
An instance of this class can compare the info that we have about previously executed scripts with the new scripts.
ScriptUpdatesAnalyzer(ScriptRepository, ExecutedScriptInfoSource, boolean, boolean) - Constructor for class org.dbmaintain.script.analyzer.ScriptUpdatesAnalyzer
Creates a new instance that will compare the info from the given ExecutedScriptInfoSource with the current scripts from the given ScriptRepository.
scriptUpdatesFormatter - Variable in class org.dbmaintain.DefaultDbMaintainer
 
ScriptUpdatesFormatter - Class in org.dbmaintain.script.analyzer
 
ScriptUpdatesFormatter() - Constructor for class org.dbmaintain.script.analyzer.ScriptUpdatesFormatter
 
ScriptUpdateType - Enum in org.dbmaintain.script.analyzer
 
SEMICOLON - Static variable in class org.dbmaintain.script.parser.parsingstate.impl.BaseNormalParsingState
 
sequenceOfIndexedScriptsChangedDueToRenames() - Method in class org.dbmaintain.script.analyzer.ScriptUpdatesAnalyzer
 
sequenceUpdater - Variable in class org.dbmaintain.DefaultDbMaintainer
 
SequenceUpdater - Interface in org.dbmaintain.structure.sequence
Defines the contract for implementation classes that update all sequences and identity columns of a database to a sufficiently high value, so that test data be inserted easily.
SequenceUpdaterFactory - Class in org.dbmaintain.structure.sequence
 
SequenceUpdaterFactory() - Constructor for class org.dbmaintain.structure.sequence.SequenceUpdaterFactory
 
setAllowOutOfSequenceExecutionOfPatches(boolean) - Method in class org.dbmaintain.launch.ant.CheckScriptUpdatesAntTask
If this property is set to true, a patch script is allowed to be executed even if another script with a higher index was already executed.
setAllowOutOfSequenceExecutionOfPatches(boolean) - Method in class org.dbmaintain.launch.ant.UpdateDatabaseAntTask
If this property is set to true, a patch script is allowed to be executed even if another script with a higher index was already executed.
setAllowOutOfSequenceExecutionOfPatches(Boolean) - Method in class org.dbmaintain.launch.task.CheckScriptUpdatesTask
 
setAllowOutOfSequenceExecutionOfPatches(Boolean) - Method in class org.dbmaintain.launch.task.UpdateDatabaseTask
 
setArchiveFileName(String) - Method in class org.dbmaintain.launch.ant.CreateScriptArchiveAntTask
Defines the target name for the generated script archive.
setArchiveFileName(String) - Method in class org.dbmaintain.launch.task.CreateScriptArchiveTask
 
setAutoCreateDbMaintainScriptsTable(boolean) - Method in class org.dbmaintain.launch.ant.CheckScriptUpdatesAntTask
Sets the autoCreateDbMaintainScriptsTable property.
setAutoCreateDbMaintainScriptsTable(Boolean) - Method in class org.dbmaintain.launch.ant.MarkDatabaseAsUpToDateAntTask
Sets the autoCreateDbMaintainScriptsTable property.
setAutoCreateDbMaintainScriptsTable(boolean) - Method in class org.dbmaintain.launch.ant.UpdateDatabaseAntTask
If set to true, the table DBMAINTAIN_SCRIPTS will be created automatically if it does not exist yet.
setAutoCreateDbMaintainScriptsTable(Boolean) - Method in class org.dbmaintain.launch.task.CheckScriptUpdatesTask
 
setAutoCreateDbMaintainScriptsTable(Boolean) - Method in class org.dbmaintain.launch.task.MarkDatabaseAsUpToDateTask
 
setAutoCreateDbMaintainScriptsTable(Boolean) - Method in class org.dbmaintain.launch.task.UpdateDatabaseTask
 
setCleanDb(boolean) - Method in class org.dbmaintain.launch.ant.UpdateDatabaseAntTask
Indicates whether the database should be 'cleaned' before scripts are executed.
setCleanDb(Boolean) - Method in class org.dbmaintain.launch.task.UpdateDatabaseTask
 
setConfigFile(String) - Method in class org.dbmaintain.launch.ant.BaseAntTask
 
setConfigFile(File) - Method in class org.dbmaintain.launch.task.DbMaintainTask
 
setDatabaseDefaultSchema() - Method in class org.dbmaintain.database.Database
Sets the current schema of the database.
setDatabaseDefaultSchema() - Method in class org.dbmaintain.database.impl.Db2Database
Sets the current schema of the database.
setDatabaseDefaultSchema() - Method in class org.dbmaintain.database.impl.DerbyDatabase
Sets the current schema of the database.
setDatabaseDefaultSchema() - Method in class org.dbmaintain.database.impl.HsqldbDatabase
Sets the current schema of the database.
setDatabaseDefaultSchema() - Method in class org.dbmaintain.database.impl.MySqlDatabase
Sets the current schema of the database.
setDatabaseDefaultSchema() - Method in class org.dbmaintain.database.impl.OracleDatabase
Sets the current schema of the database.
setDatabaseDefaultSchema() - Method in class org.dbmaintain.database.impl.PostgreSqlDatabase
Sets the current schema of the database.
setDatabases(List<? extends DbMaintainDatabase>) - Method in class org.dbmaintain.launch.task.DbMaintainDatabaseTask
 
setDataSource(DataSource) - Method in class org.dbmaintain.launch.task.DbMaintainDatabase
 
setDialect(String) - Method in class org.dbmaintain.launch.ant.Database
 
setDialect(String) - Method in class org.dbmaintain.launch.task.DbMaintainDatabase
 
setDialect(String) - Method in class org.dbmaintain.maven.plugin.Database
 
setDisableConstraints(boolean) - Method in class org.dbmaintain.launch.ant.UpdateDatabaseAntTask
If set to true, all foreign key and not null constraints of the database are automatically disabled before and after the execution of the scripts.
setDisableConstraints(Boolean) - Method in class org.dbmaintain.launch.task.UpdateDatabaseTask
 
setDriverClassName(String) - Method in class org.dbmaintain.launch.ant.Database
 
setDriverClassName(String) - Method in class org.dbmaintain.launch.task.DbMaintainDatabase
 
setDriverClassName(String) - Method in class org.dbmaintain.maven.plugin.Database
 
setEnvironmentProperties(Properties) - Method in class org.dbmaintain.launch.task.DbMaintainTask
 
setExcludedQualifiers(String) - Method in class org.dbmaintain.launch.ant.CheckScriptUpdatesAntTask
Optional comma-separated list of script qualifiers.
setExcludedQualifiers(String) - Method in class org.dbmaintain.launch.ant.MarkDatabaseAsUpToDateAntTask
Optional comma-separated list of script qualifiers.
setExcludedQualifiers(String) - Method in class org.dbmaintain.launch.ant.UpdateDatabaseAntTask
Optional comma-separated list of script qualifiers.
setExcludedQualifiers(String) - Method in class org.dbmaintain.launch.task.CheckScriptUpdatesTask
 
setExcludedQualifiers(String) - Method in class org.dbmaintain.launch.task.MarkDatabaseAsUpToDateTask
 
setExcludedQualifiers(String) - Method in class org.dbmaintain.launch.task.UpdateDatabaseTask
 
setFromScratchEnabled(boolean) - Method in class org.dbmaintain.launch.ant.CheckScriptUpdatesAntTask
Sets the fromScratchEnabled property, that indicates the database can be recreated from scratch if needed.
setFromScratchEnabled(boolean) - Method in class org.dbmaintain.launch.ant.UpdateDatabaseAntTask
Sets the fromScratchEnabled property, that indicates the database can be recreated from scratch if needed.
setFromScratchEnabled(Boolean) - Method in class org.dbmaintain.launch.task.CheckScriptUpdatesTask
 
setFromScratchEnabled(Boolean) - Method in class org.dbmaintain.launch.task.UpdateDatabaseTask
 
setIncluded(boolean) - Method in class org.dbmaintain.launch.ant.Database
 
setIncluded(boolean) - Method in class org.dbmaintain.launch.task.DbMaintainDatabase
 
setIncluded(boolean) - Method in class org.dbmaintain.maven.plugin.Database
 
setIncludedQualifiers(String) - Method in class org.dbmaintain.launch.ant.CheckScriptUpdatesAntTask
Optional comma-separated list of script qualifiers.
setIncludedQualifiers(String) - Method in class org.dbmaintain.launch.ant.MarkDatabaseAsUpToDateAntTask
Optional comma-separated list of script qualifiers.
setIncludedQualifiers(String) - Method in class org.dbmaintain.launch.ant.UpdateDatabaseAntTask
Optional comma-separated list of script qualifiers.
setIncludedQualifiers(String) - Method in class org.dbmaintain.launch.task.CheckScriptUpdatesTask
 
setIncludedQualifiers(String) - Method in class org.dbmaintain.launch.task.MarkDatabaseAsUpToDateTask
 
setIncludedQualifiers(String) - Method in class org.dbmaintain.launch.task.UpdateDatabaseTask
 
setLowestAcceptableSequenceValue(Long) - Method in class org.dbmaintain.launch.ant.UpdateSequencesAntTask
Threshold indicating the minimum value of sequences.
setLowestAcceptableSequenceValue(Long) - Method in class org.dbmaintain.launch.task.UpdateSequencesTask
 
setName(String) - Method in class org.dbmaintain.launch.ant.Database
 
setName(String) - Method in class org.dbmaintain.launch.task.DbMaintainDatabase
 
setName(String) - Method in class org.dbmaintain.maven.plugin.Database
 
setPassword(String) - Method in class org.dbmaintain.launch.ant.Database
 
setPassword(String) - Method in class org.dbmaintain.launch.task.DbMaintainDatabase
 
setPassword(String) - Method in class org.dbmaintain.maven.plugin.Database
 
setPatchQualifiers(String) - Method in class org.dbmaintain.launch.ant.CheckScriptUpdatesAntTask
The qualifiers to use to determine whether a script is a patch script.
setPatchQualifiers(String) - Method in class org.dbmaintain.launch.ant.CreateScriptArchiveAntTask
The qualifiers to use to determine whether a script is a patch script.
setPatchQualifiers(String) - Method in class org.dbmaintain.launch.ant.UpdateDatabaseAntTask
The qualifiers to use to determine whether a script is a patch script.
setPatchQualifiers(String) - Method in class org.dbmaintain.launch.task.CheckScriptUpdatesTask
 
setPatchQualifiers(String) - Method in class org.dbmaintain.launch.task.CreateScriptArchiveTask
 
setPatchQualifiers(String) - Method in class org.dbmaintain.launch.task.UpdateDatabaseTask
 
setPostProcessingScriptDirectoryName(String) - Method in class org.dbmaintain.launch.ant.CheckScriptUpdatesAntTask
Comma separated list of directories and files in which the post processing database scripts are located.
setPostProcessingScriptDirectoryName(String) - Method in class org.dbmaintain.launch.ant.CreateScriptArchiveAntTask
Comma separated list of directories and files in which the post processing database scripts are located.
setPostProcessingScriptDirectoryName(String) - Method in class org.dbmaintain.launch.ant.UpdateDatabaseAntTask
Comma separated list of directories and files in which the post processing database scripts are located.
setPostProcessingScriptDirectoryName(String) - Method in class org.dbmaintain.launch.task.CheckScriptUpdatesTask
 
setPostProcessingScriptDirectoryName(String) - Method in class org.dbmaintain.launch.task.CreateScriptArchiveTask
 
setPostProcessingScriptDirectoryName(String) - Method in class org.dbmaintain.launch.task.UpdateDatabaseTask
 
setQualifiers(String) - Method in class org.dbmaintain.launch.ant.CheckScriptUpdatesAntTask
Optional comma-separated list of script qualifiers.
setQualifiers(String) - Method in class org.dbmaintain.launch.ant.CreateScriptArchiveAntTask
Optional comma-separated list of script qualifiers.
setQualifiers(String) - Method in class org.dbmaintain.launch.ant.MarkDatabaseAsUpToDateAntTask
Optional comma-separated list of script qualifiers.
setQualifiers(String) - Method in class org.dbmaintain.launch.ant.UpdateDatabaseAntTask
Optional comma-separated list of script qualifiers.
setQualifiers(String) - Method in class org.dbmaintain.launch.task.CheckScriptUpdatesTask
 
setQualifiers(String) - Method in class org.dbmaintain.launch.task.CreateScriptArchiveTask
 
setQualifiers(String) - Method in class org.dbmaintain.launch.task.MarkDatabaseAsUpToDateTask
 
setQualifiers(String) - Method in class org.dbmaintain.launch.task.UpdateDatabaseTask
 
setSchemaNames(String) - Method in class org.dbmaintain.launch.ant.Database
 
setSchemaNames(String) - Method in class org.dbmaintain.launch.task.DbMaintainDatabase
 
setSchemaNames(String) - Method in class org.dbmaintain.maven.plugin.Database
 
setScriptEncoding(String) - Method in class org.dbmaintain.launch.ant.CheckScriptUpdatesAntTask
Encoding to use when reading the script files.
setScriptEncoding(String) - Method in class org.dbmaintain.launch.ant.CreateScriptArchiveAntTask
Encoding to use when reading the script files.
setScriptEncoding(String) - Method in class org.dbmaintain.launch.ant.UpdateDatabaseAntTask
Encoding to use when reading the script files.
setScriptEncoding(String) - Method in class org.dbmaintain.launch.task.CheckScriptUpdatesTask
 
setScriptEncoding(String) - Method in class org.dbmaintain.launch.task.CreateScriptArchiveTask
 
setScriptEncoding(String) - Method in class org.dbmaintain.launch.task.UpdateDatabaseTask
 
setScriptFileExtensions(String) - Method in class org.dbmaintain.launch.ant.CheckScriptUpdatesAntTask
Sets the scriptFileExtensions property, that defines the extensions of the files that are regarded to be database scripts.
setScriptFileExtensions(String) - Method in class org.dbmaintain.launch.ant.CreateScriptArchiveAntTask
Sets the scriptFileExtensions property, that defines the extensions of the files that are regarded to be database scripts.
setScriptFileExtensions(String) - Method in class org.dbmaintain.launch.ant.MarkDatabaseAsUpToDateAntTask
Sets the scriptFileExtensions property, that defines the extensions of the files that are regarded to be database scripts.
setScriptFileExtensions(String) - Method in class org.dbmaintain.launch.ant.UpdateDatabaseAntTask
Sets the scriptFileExtensions property, that defines the extensions of the files that are regarded to be database scripts.
setScriptFileExtensions(String) - Method in class org.dbmaintain.launch.task.CheckScriptUpdatesTask
 
setScriptFileExtensions(String) - Method in class org.dbmaintain.launch.task.CreateScriptArchiveTask
 
setScriptFileExtensions(String) - Method in class org.dbmaintain.launch.task.MarkDatabaseAsUpToDateTask
 
setScriptFileExtensions(String) - Method in class org.dbmaintain.launch.task.UpdateDatabaseTask
 
setScriptLocations(String) - Method in class org.dbmaintain.launch.ant.CheckScriptUpdatesAntTask
Defines where the scripts can be found that must be executed on the database.
setScriptLocations(String) - Method in class org.dbmaintain.launch.ant.CreateScriptArchiveAntTask
Defines where the scripts can be found that must be added to the jar file.
setScriptLocations(String) - Method in class org.dbmaintain.launch.ant.MarkDatabaseAsUpToDateAntTask
Defines where the scripts can be found that must be executed on the database.
setScriptLocations(String) - Method in class org.dbmaintain.launch.ant.UpdateDatabaseAntTask
Defines where the scripts can be found that must be executed on the database.
setScriptLocations(String) - Method in class org.dbmaintain.launch.task.CheckScriptUpdatesTask
 
setScriptLocations(String) - Method in class org.dbmaintain.launch.task.CreateScriptArchiveTask
 
setScriptLocations(String) - Method in class org.dbmaintain.launch.task.MarkDatabaseAsUpToDateTask
 
setScriptLocations(String) - Method in class org.dbmaintain.launch.task.UpdateDatabaseTask
 
setScriptParameterFile(String) - Method in class org.dbmaintain.launch.ant.UpdateDatabaseAntTask
If set, the given properties file will be loaded and all occurrences of parameters in the script that match a property will be replaced by the corresponding property value.
setScriptParameterFile(String) - Method in class org.dbmaintain.launch.task.UpdateDatabaseTask
 
setSettingIdentityColumnValueEnabled(String, boolean) - Method in class org.dbmaintain.database.Database
Enables or disables the setting of identity value in insert and update statements in the default schema.
setSettingIdentityColumnValueEnabled(String, String, boolean) - Method in class org.dbmaintain.database.Database
Enables or disables the setting of identity value in insert and update statements in the given schema.
setSettingIdentityColumnValueEnabled(String, String, boolean) - Method in class org.dbmaintain.database.impl.Db2Database
Enables or disables the setting of identity value in insert and update statements.
setSettingIdentityColumnValueEnabled(String, String, boolean) - Method in class org.dbmaintain.database.impl.DerbyDatabase
Enables or disables the setting of identity value in insert and update statements.
setSettingIdentityColumnValueEnabled(String, String, boolean) - Method in class org.dbmaintain.database.impl.HsqldbDatabase
Enables or disables the setting of identity value in insert and update statements.
setSettingIdentityColumnValueEnabled(String, String, boolean) - Method in class org.dbmaintain.database.impl.MsSqlDatabase
Enables or disables the setting of identity value in insert and update statements.
setSettingIdentityColumnValueEnabled(String, String, boolean) - Method in class org.dbmaintain.database.impl.MySqlDatabase
Enables or disables the setting of identity value in insert and update statements.
setSuccessful(Boolean) - Method in class org.dbmaintain.script.ExecutedScript
 
setUpdateSequences(boolean) - Method in class org.dbmaintain.launch.ant.UpdateDatabaseAntTask
If set to true, all sequences and identity columns are set to a sufficiently high value, so that test data can be inserted without having manually chosen test record IDs clashing with automatically generated keys.
setUpdateSequences(Boolean) - Method in class org.dbmaintain.launch.task.UpdateDatabaseTask
 
setUrl(String) - Method in class org.dbmaintain.launch.ant.Database
 
setUrl(String) - Method in class org.dbmaintain.launch.task.DbMaintainDatabase
 
setUrl(String) - Method in class org.dbmaintain.maven.plugin.Database
 
setUseLastModificationDates(boolean) - Method in class org.dbmaintain.launch.ant.CheckScriptUpdatesAntTask
Defines whether the last modification dates of the scripts files can be used to determine whether the contents of a script has changed.
setUseLastModificationDates(boolean) - Method in class org.dbmaintain.launch.ant.UpdateDatabaseAntTask
Defines whether the last modification dates of the scripts files can be used to determine whether the contents of a script has changed.
setUseLastModificationDates(Boolean) - Method in class org.dbmaintain.launch.task.CheckScriptUpdatesTask
 
setUseLastModificationDates(Boolean) - Method in class org.dbmaintain.launch.task.UpdateDatabaseTask
 
setUserName(String) - Method in class org.dbmaintain.launch.ant.Database
 
setUserName(String) - Method in class org.dbmaintain.launch.task.DbMaintainDatabase
 
setUserName(String) - Method in class org.dbmaintain.maven.plugin.Database
 
SimpleDataSource - Class in org.dbmaintain.datasource
Factory class for a very simple DataSource that provides access to a database without any connection pooling facilities.
SimpleDataSource() - Constructor for class org.dbmaintain.datasource.SimpleDataSource
 
SimpleDataSource.SimpleDataSourceInvocationHandler - Class in org.dbmaintain.datasource
Invocation handler for a dynamic proxy that implements the javax.sql.DataSource interface.
SimpleDataSource.SimpleDataSourceInvocationHandler(String, String, String, String) - Constructor for class org.dbmaintain.datasource.SimpleDataSource.SimpleDataSourceInvocationHandler
 
SimpleDataSourceFactory - Class in org.dbmaintain.datasource.impl
 
SimpleDataSourceFactory() - Constructor for class org.dbmaintain.datasource.impl.SimpleDataSourceFactory
 
SINGLE_QUOTE - Static variable in class org.dbmaintain.script.parser.parsingstate.impl.BaseNormalParsingState
 
SLASH - Static variable in class org.dbmaintain.script.parser.parsingstate.impl.BaseNormalParsingState
 
sqlHandler - Variable in class org.dbmaintain.database.impl.DefaultDatabaseConnectionManager
 
SQLHandler - Interface in org.dbmaintain.database
 
sqlHandler - Variable in class org.dbmaintain.DefaultDbMaintainer
 
sqlHandler - Variable in class org.dbmaintain.MainFactory
 
sqlHandler - Variable in class org.dbmaintain.script.executedscriptinfo.impl.DefaultExecutedScriptInfoSource
 
sqlHandler - Variable in class org.dbmaintain.script.runner.impl.JdbcScriptRunner
 
sqlHandler - Variable in class org.dbmaintain.structure.clean.impl.DefaultDBCleaner
 
sqlPlusCommand - Variable in class org.dbmaintain.script.runner.impl.SqlPlusScriptRunner
 
SqlPlusScriptRunner - Class in org.dbmaintain.script.runner.impl
Implementation of a script runner that uses Oracle's SQL plus.
SqlPlusScriptRunner(Databases, String) - Constructor for class org.dbmaintain.script.runner.impl.SqlPlusScriptRunner
 
SqlPlusScriptRunnerFactory - Class in org.dbmaintain.script.runner
 
SqlPlusScriptRunnerFactory() - Constructor for class org.dbmaintain.script.runner.SqlPlusScriptRunnerFactory
 
SqlStatementNormalParsingState - Class in org.dbmaintain.script.parser.parsingstate.impl
 
SqlStatementNormalParsingState(boolean, boolean, PlSqlBlockMatcher) - Constructor for class org.dbmaintain.script.parser.parsingstate.impl.SqlStatementNormalParsingState
 
startTransaction(DataSource) - Method in class org.dbmaintain.database.impl.DefaultSQLHandler
Starts a transaction by turning of auto commit.
startTransaction(DataSource) - Method in interface org.dbmaintain.database.SQLHandler
Starts a transaction by turning of auto commit.
StatementBuilder - Class in org.dbmaintain.script.parser.impl
Assembles SQL or stored procedure statements by processing characters one by one.
StatementBuilder(ParsingState, Properties) - Constructor for class org.dbmaintain.script.parser.impl.StatementBuilder
Creates a new instance with the given parsing state as the initial state
stayInBlockCommentResult - Variable in class org.dbmaintain.script.parser.parsingstate.impl.InBlockCommentParsingState
 
stayInBlockCommentResult - Variable in class org.dbmaintain.script.parser.parsingstate.impl.InCurlyBraceBlockCommentParsingState
 
stayInDoubleQuotesStateResult - Variable in class org.dbmaintain.script.parser.parsingstate.impl.InDoubleQuotesParsingState
 
stayInLineCommentResult - Variable in class org.dbmaintain.script.parser.parsingstate.impl.InLineCommentParsingState
 
stayInNormalExecutableResult - Variable in class org.dbmaintain.script.parser.parsingstate.impl.BaseNormalParsingState
 
stayInNormalNotExecutableResult - Variable in class org.dbmaintain.script.parser.parsingstate.impl.BaseNormalParsingState
 
stayInSingleQuotesStateResult - Variable in class org.dbmaintain.script.parser.parsingstate.impl.InSingleQuotesParsingState
 
storedIdentifierCase - Variable in class org.dbmaintain.database.IdentifierProcessor
 
StoredIdentifierCase - Enum in org.dbmaintain.database
Possible values for the stored identifier case.
succeededColumnName - Variable in class org.dbmaintain.script.executedscriptinfo.impl.DefaultExecutedScriptInfoSource
 
supportsCascade() - Method in class org.dbmaintain.database.Database
Indicates whether the underlying DBMS supports the cascade option for dropping tables and views.
supportsCascade() - Method in class org.dbmaintain.database.impl.HsqldbDatabase
Cascade are supported.
supportsCascade() - Method in class org.dbmaintain.database.impl.MySqlDatabase
Cascade are supported.
supportsCascade() - Method in class org.dbmaintain.database.impl.OracleDatabase
Cascade are supported.
supportsCascade() - Method in class org.dbmaintain.database.impl.PostgreSqlDatabase
Cascade are supported.
supportsIdentityColumns() - Method in class org.dbmaintain.database.Database
Indicates whether the underlying DBMS supports identity columns
supportsIdentityColumns() - Method in class org.dbmaintain.database.impl.Db2Database
Identity columns are supported.
supportsIdentityColumns() - Method in class org.dbmaintain.database.impl.DerbyDatabase
Identity columns are supported.
supportsIdentityColumns() - Method in class org.dbmaintain.database.impl.HsqldbDatabase
Identity columns are supported.
supportsIdentityColumns() - Method in class org.dbmaintain.database.impl.MsSqlDatabase
Identity columns are supported.
supportsIdentityColumns() - Method in class org.dbmaintain.database.impl.MySqlDatabase
Identity columns are supported.
supportsMaterializedViews() - Method in class org.dbmaintain.database.Database
Indicates whether the underlying DBMS supports materialized views
supportsMaterializedViews() - Method in class org.dbmaintain.database.impl.OracleDatabase
Materialized views are supported
supportsPurge() - Method in class org.dbmaintain.database.impl.OracleDatabase
 
supportsRules() - Method in class org.dbmaintain.database.Database
Indicates whether the underlying DBMS supports database rules
supportsRules() - Method in class org.dbmaintain.database.impl.MsSqlDatabase
Rules are supported
supportsSequences() - Method in class org.dbmaintain.database.Database
Indicates whether the underlying DBMS supports sequences
supportsSequences() - Method in class org.dbmaintain.database.impl.Db2Database
Sequences are supported.
supportsSequences() - Method in class org.dbmaintain.database.impl.HsqldbDatabase
Sequences are supported.
supportsSequences() - Method in class org.dbmaintain.database.impl.OracleDatabase
Sequences are supported.
supportsSequences() - Method in class org.dbmaintain.database.impl.PostgreSqlDatabase
Sequences are supported.
supportsSetDatabaseDefaultSchema() - Method in class org.dbmaintain.database.Database
Indicates whether the underlying DBMS supports the setting of the current schema.
supportsSetDatabaseDefaultSchema() - Method in class org.dbmaintain.database.impl.Db2Database
Setting the default schema is supported.
supportsSetDatabaseDefaultSchema() - Method in class org.dbmaintain.database.impl.DerbyDatabase
Setting the default schema is supported.
supportsSetDatabaseDefaultSchema() - Method in class org.dbmaintain.database.impl.HsqldbDatabase
Setting the default schema is supported.
supportsSetDatabaseDefaultSchema() - Method in class org.dbmaintain.database.impl.MySqlDatabase
Setting the default schema is supported.
supportsSetDatabaseDefaultSchema() - Method in class org.dbmaintain.database.impl.OracleDatabase
Setting the default schema is supported.
supportsSetDatabaseDefaultSchema() - Method in class org.dbmaintain.database.impl.PostgreSqlDatabase
Setting the default schema is supported.
supportsStoredProcedures() - Method in class org.dbmaintain.database.Database
Indicates whether the underlying DBMS supports stored procedures
supportsStoredProcedures() - Method in class org.dbmaintain.database.impl.MsSqlDatabase
Stored procedures are supported.
supportsSynonyms() - Method in class org.dbmaintain.database.Database
Indicates whether the underlying DBMS supports synonyms
supportsSynonyms() - Method in class org.dbmaintain.database.impl.DerbyDatabase
Synonyms are supported.
supportsSynonyms() - Method in class org.dbmaintain.database.impl.MsSqlDatabase
Synonyms are supported.
supportsSynonyms() - Method in class org.dbmaintain.database.impl.OracleDatabase
Synonyms are supported
supportsTriggers() - Method in class org.dbmaintain.database.Database
Indicates whether the underlying DBMS supports triggers
supportsTriggers() - Method in class org.dbmaintain.database.impl.Db2Database
Triggers are supported.
supportsTriggers() - Method in class org.dbmaintain.database.impl.DerbyDatabase
Triggers are supported.
supportsTriggers() - Method in class org.dbmaintain.database.impl.HsqldbDatabase
Triggers are supported.
supportsTriggers() - Method in class org.dbmaintain.database.impl.MsSqlDatabase
Triggers are supported.
supportsTriggers() - Method in class org.dbmaintain.database.impl.MySqlDatabase
Triggers are supported.
supportsTriggers() - Method in class org.dbmaintain.database.impl.OracleDatabase
Triggers are supported.
supportsTriggers() - Method in class org.dbmaintain.database.impl.PostgreSqlDatabase
Triggers are supported.
supportsTypes() - Method in class org.dbmaintain.database.Database
Indicates whether the underlying DBMS supports database types
supportsTypes() - Method in class org.dbmaintain.database.impl.Db2Database
Types are supported
supportsTypes() - Method in class org.dbmaintain.database.impl.MsSqlDatabase
Types are supported
supportsTypes() - Method in class org.dbmaintain.database.impl.OracleDatabase
Types are supported
supportsTypes() - Method in class org.dbmaintain.database.impl.PostgreSqlDatabase
Types are supported

T

targetDatabaseRegexp - Variable in class org.dbmaintain.script.archive.impl.DefaultScriptArchiveCreator
 
targetDatabaseRegexp - Variable in class org.dbmaintain.script.repository.ScriptLocation
 
TaskConfiguration - Class in org.dbmaintain.launch.task
 
TaskConfiguration(Properties) - Constructor for class org.dbmaintain.launch.task.TaskConfiguration
 
terminateDb2Connections() - Method in class org.dbmaintain.script.runner.impl.db2.Db2ScriptRunner
 
timestampFormat - Variable in class org.dbmaintain.script.executedscriptinfo.impl.DefaultExecutedScriptInfoSource
 
toCorrectCaseIdentifier(String) - Method in class org.dbmaintain.database.Database
Converts the given identifier to uppercase/lowercase depending on the DBMS.
toCorrectCaseIdentifier(String) - Method in class org.dbmaintain.database.IdentifierProcessor
Converts the given identifier to uppercase/lowercase depending on the DBMS.
toCorrectCaseIdentifier(String) - Method in class org.dbmaintain.database.impl.MySqlDatabase
Converts the given identifier to uppercase/lowercase

MySql does not treat quoted identifiers as case sensitive.

toCurlyBraceBlockCommentResult - Variable in class org.dbmaintain.script.parser.parsingstate.impl.BaseNormalParsingState
 
toDbItemIdentifiers(Database, String, Set<String>) - Method in class org.dbmaintain.structure.clean.impl.DefaultDBCleaner
 
toDbItemIdentifiers(DbItemType, Database, String, Set<String>) - Method in class org.dbmaintain.structure.clear.impl.DefaultDBClearer
 
toEscapingParsingStateResult - Variable in class org.dbmaintain.script.parser.parsingstate.impl.BaseNormalParsingState
 
toInBlockCommentResult - Variable in class org.dbmaintain.script.parser.parsingstate.impl.BaseNormalParsingState
 
toInDoubleQuotesStateResult - Variable in class org.dbmaintain.script.parser.parsingstate.impl.BaseNormalParsingState
 
toInLineCommentResult - Variable in class org.dbmaintain.script.parser.parsingstate.impl.BaseNormalParsingState
 
toInPlSqlBlockStateResult - Variable in class org.dbmaintain.script.parser.parsingstate.impl.BaseNormalParsingState
 
toInSingleQuotesStateResult - Variable in class org.dbmaintain.script.parser.parsingstate.impl.BaseNormalParsingState
 
toQualifiersPropertyValue(Set<Qualifier>) - Method in class org.dbmaintain.script.repository.impl.ArchiveScriptLocation
 
toString() - Method in class org.dbmaintain.script.analyzer.ScriptUpdate
 
toString() - Method in class org.dbmaintain.script.analyzer.ScriptUpdates
 
toString() - Method in class org.dbmaintain.script.ExecutedScript
 
toString() - Method in class org.dbmaintain.script.executedscriptinfo.ScriptIndexes
 
toString() - Method in class org.dbmaintain.script.qualifier.Qualifier
 
toString() - Method in class org.dbmaintain.script.Script
Gets a string representation of this script.
type - Variable in class org.dbmaintain.maven.plugin.ScriptArchiveDependency
The artifact type.

U

unionSortedSet(Set<T>...) - Static method in class org.dbmaintain.util.CollectionUtils
 
UNNAMED_DATABASE_NAME - Static variable in class org.dbmaintain.config.DbMaintainProperties
The database name that maven/ant/spring tasks will use if no name was specified
UNQUALIFIED - Static variable in class org.dbmaintain.script.qualifier.impl.IncludeExcludeQualifierEvaluator
 
unregisterDatabase(Db2ConnectionInfo) - Method in class org.dbmaintain.script.runner.impl.db2.Db2ScriptRunner
 
unregisterDatabaseQuietly(Db2ConnectionInfo) - Method in class org.dbmaintain.script.runner.impl.db2.Db2ScriptRunner
 
updateDatabase(boolean) - Method in interface org.dbmaintain.DbMaintainer
This operation can be used to bring the database to the latest version.
updateDatabase(boolean) - Method in class org.dbmaintain.DefaultDbMaintainer
This operation can be used to bring the database to the latest version.
updateDatabase() - Static method in class org.dbmaintain.launch.api.DbMaintainOperations
Updates the database to the latest version.
UpdateDatabaseAntTask - Class in org.dbmaintain.launch.ant
Task that updates the database to the latest version.
UpdateDatabaseAntTask() - Constructor for class org.dbmaintain.launch.ant.UpdateDatabaseAntTask
 
UpdateDatabaseMojo - Class in org.dbmaintain.maven.plugin
Task that updates the database to the latest version.
UpdateDatabaseMojo() - Constructor for class org.dbmaintain.maven.plugin.UpdateDatabaseMojo
 
UpdateDatabaseTask - Class in org.dbmaintain.launch.task
Task that updates the database to the latest version.
UpdateDatabaseTask() - Constructor for class org.dbmaintain.launch.task.UpdateDatabaseTask
 
UpdateDatabaseTask(List<DbMaintainDatabase>, String, String, String, Boolean, Boolean, Boolean, String, String, String, String, Boolean, Boolean, Boolean, Boolean, String, String) - Constructor for class org.dbmaintain.launch.task.UpdateDatabaseTask
 
updateExecutedScript(ExecutedScript) - Method in interface org.dbmaintain.script.executedscriptinfo.ExecutedScriptInfoSource
Updates the given registered script
updateExecutedScript(ExecutedScript) - Method in class org.dbmaintain.script.executedscriptinfo.impl.DefaultExecutedScriptInfoSource
Updates the given registered script
updateSequences - Variable in class org.dbmaintain.DefaultDbMaintainer
 
updateSequences() - Static method in class org.dbmaintain.launch.api.DbMaintainOperations
Updates all sequences and identity columns to a minimum value.
updateSequences - Variable in class org.dbmaintain.launch.task.UpdateDatabaseTask
 
updateSequences - Variable in class org.dbmaintain.maven.plugin.UpdateDatabaseMojo
If set to true, all sequences and identity columns are set to a sufficiently high value, so that test data can be inserted without having manually chosen test record IDs clashing with automatically generated keys.
updateSequences() - Method in class org.dbmaintain.structure.sequence.impl.DefaultSequenceUpdater
Updates all database sequences and identity columns to a sufficiently high value, so that test data be inserted easily.
updateSequences() - Method in interface org.dbmaintain.structure.sequence.SequenceUpdater
Updates all database sequences and identity columns to a sufficiently high value, so that test data be inserted easily.
UpdateSequencesAntTask - Class in org.dbmaintain.launch.ant
Task that updates all sequences and identity columns to a minimum value.
UpdateSequencesAntTask() - Constructor for class org.dbmaintain.launch.ant.UpdateSequencesAntTask
 
UpdateSequencesMojo - Class in org.dbmaintain.maven.plugin
This operation is also mainly useful for automated testing purposes.
UpdateSequencesMojo() - Constructor for class org.dbmaintain.maven.plugin.UpdateSequencesMojo
 
UpdateSequencesTask - Class in org.dbmaintain.launch.task
Task that updates all sequences and identity columns to a minimum value.
UpdateSequencesTask() - Constructor for class org.dbmaintain.launch.task.UpdateSequencesTask
 
UpdateSequencesTask(List<DbMaintainDatabase>, Long) - Constructor for class org.dbmaintain.launch.task.UpdateSequencesTask
 
useLastModificationDates - Variable in class org.dbmaintain.launch.task.CheckScriptUpdatesTask
 
useLastModificationDates - Variable in class org.dbmaintain.launch.task.UpdateDatabaseTask
 
useLastModificationDates - Variable in class org.dbmaintain.maven.plugin.CheckScriptUpdatesMojo
Defines whether the last modification dates of the scripts files can be used to determine whether the contents of a script has changed.
useLastModificationDates - Variable in class org.dbmaintain.maven.plugin.UpdateDatabaseMojo
Defines whether the last modification dates of the scripts files can be used to determine whether the contents of a script has changed.
userName - Variable in class org.dbmaintain.script.runner.impl.db2.Db2ConnectionInfo
 
useScriptFileLastModificationDates - Variable in class org.dbmaintain.DefaultDbMaintainer
Defines whether script last modification dates can be used to decide whether an existing script has changed.

V

validateFull() - Method in class org.dbmaintain.database.DatabaseInfo
 
validateMinimal() - Method in class org.dbmaintain.database.DatabaseInfo
 
validExecutedScriptsTable - Variable in class org.dbmaintain.script.executedscriptinfo.impl.DefaultExecutedScriptInfoSource
 
valueOf(String) - Static method in enum org.dbmaintain.database.StoredIdentifierCase
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.dbmaintain.launch.commandline.CommandLine.DbMaintainOperation
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.dbmaintain.script.analyzer.ScriptUpdateType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.dbmaintain.structure.model.DbItemType
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.dbmaintain.database.StoredIdentifierCase
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.dbmaintain.launch.commandline.CommandLine.DbMaintainOperation
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.dbmaintain.script.analyzer.ScriptUpdateType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.dbmaintain.structure.model.DbItemType
Returns an array containing the constants of this enum type, in the order they are declared.
version - Variable in class org.dbmaintain.maven.plugin.ScriptArchiveDependency
The artifact version.

W

write(int) - Method in class org.dbmaintain.util.NullWriter
Does nothing - output to /dev/null.
write(char[]) - Method in class org.dbmaintain.util.NullWriter
Does nothing - output to /dev/null.
write(char[], int, int) - Method in class org.dbmaintain.util.NullWriter
Does nothing - output to /dev/null.
write(String) - Method in class org.dbmaintain.util.NullWriter
Does nothing - output to /dev/null.
write(String, int, int) - Method in class org.dbmaintain.util.NullWriter
Does nothing - output to /dev/null.
write(int) - Method in class org.dbmaintain.util.WriterOutputStream
 
writeJarEntry(JarOutputStream, String, long, Reader) - Method in class org.dbmaintain.script.repository.impl.ArchiveScriptLocation
Writes the entry with the given name and content to the given JarOutputStream
WriterOutputStream - Class in org.dbmaintain.util
 
WriterOutputStream(Writer) - Constructor for class org.dbmaintain.util.WriterOutputStream
 
writeToJarFile(File) - Method in class org.dbmaintain.script.repository.impl.ArchiveScriptLocation
Creates the jar containing the scripts and stores it in the file with the given file name

A B C D E F G H I J L M N O P Q R S T U V W

Copyright © 2011. All Rights Reserved.