| Modifier and Type | Interface and Description |
|---|---|
interface |
DBCleaner
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.
|
interface |
DBClearer
Defines the contract for implementations that clear a database schema, so that it can for instance
be recreated from scratch by the
DBMaintainer |
| Modifier and Type | Class and Description |
|---|---|
class |
DefaultDBCleaner
Implementation of
DBCleaner. |
class |
DefaultDBClearer
Implementation of
DBClearer. |
| Modifier and Type | Interface and Description |
|---|---|
interface |
ScriptRunner
Runs a given database script.
|
| Modifier and Type | Class and Description |
|---|---|
class |
DefaultScriptRunner
Default implementation of a script runner.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
ConstraintsDisabler
A task for disabling all foreign key, check and not-null constraints on a database schema.
|
interface |
DataSetStructureGenerator
Generator for structure files, such as dtd or xml schema, for a DbUnit flat-xml data set file.
|
interface |
SequenceUpdater
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.
|
| Modifier and Type | Class and Description |
|---|---|
class |
DefaultConstraintsDisabler
Default implementation of
ConstraintsDisabler. |
class |
DefaultSequenceUpdater
Implementation of
SequenceUpdater. |
class |
DtdDataSetStructureGenerator
Implementation of
DataSetStructureGenerator for the DbUnit FlatXmlDataSet XML test data files format
todo test and fix for hsqldb (see sample project) |
class |
XsdDataSetStructureGenerator
Implementation of
DataSetStructureGenerator that generates xml schema files for data sets. |
| Modifier and Type | Class and Description |
|---|---|
class |
BaseDatabaseAccessor
Base class for implementations that access the test database
|
| Modifier and Type | Method and Description |
|---|---|
static <T extends DatabaseAccessing> |
DatabaseModuleConfigUtils.getConfiguredDatabaseTaskInstance(Class<T> databaseTaskType,
Properties configuration,
SQLHandler sqlHandler,
String dialect,
List<String> schemaNames)
Retrieves the concrete instance of the class with the given type as configured by the given
Configuration. |
| Modifier and Type | Interface and Description |
|---|---|
interface |
ExecutedScriptInfoSource
Interface that enables registering which scripts were executed on the database and retrieving this information afterwards.
|
| Modifier and Type | Class and Description |
|---|---|
class |
DefaultExecutedScriptInfoSource
Implementation of
VersionSource that stores the version in the database. |
Copyright © 2017. All rights reserved.