Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- AbstractJdbcConnectionFactory - Class in com.github.mjeanroy.dbunit.core.jdbc
-
Abstract connection factory that can be used to automatically wrap exception.
- AbstractJdbcConnectionFactory() - Constructor for class com.github.mjeanroy.dbunit.core.jdbc.AbstractJdbcConnectionFactory
-
Create new factory.
- AbstractParserException - Exception Class in com.github.mjeanroy.dbunit.exception
-
Wrap external parsing exception.
- AbstractParserException(Exception) - Constructor for exception class com.github.mjeanroy.dbunit.exception.AbstractParserException
-
Wrap
Exception. - addReplacement(String) - Method in class com.github.mjeanroy.dbunit.core.replacement.Replacements.Builder
-
Add new replacement with
nullfor givenkey. - addReplacement(String, boolean) - Method in class com.github.mjeanroy.dbunit.core.replacement.Replacements.Builder
-
Add new replacement
valuefor givenkey. - addReplacement(String, byte) - Method in class com.github.mjeanroy.dbunit.core.replacement.Replacements.Builder
-
Add new replacement
valuefor givenkey. - addReplacement(String, char) - Method in class com.github.mjeanroy.dbunit.core.replacement.Replacements.Builder
-
Add new replacement
valuefor givenkey. - addReplacement(String, double) - Method in class com.github.mjeanroy.dbunit.core.replacement.Replacements.Builder
-
Add new replacement
valuefor givenkey. - addReplacement(String, float) - Method in class com.github.mjeanroy.dbunit.core.replacement.Replacements.Builder
-
Add new replacement
valuefor givenkey. - addReplacement(String, int) - Method in class com.github.mjeanroy.dbunit.core.replacement.Replacements.Builder
-
Add new replacement
valuefor givenkey. - addReplacement(String, long) - Method in class com.github.mjeanroy.dbunit.core.replacement.Replacements.Builder
-
Add new replacement
valuefor givenkey. - addReplacement(String, short) - Method in class com.github.mjeanroy.dbunit.core.replacement.Replacements.Builder
-
Add new replacement
valuefor givenkey. - addReplacement(String, String) - Method in class com.github.mjeanroy.dbunit.core.replacement.Replacements.Builder
-
Add new replacement
valuefor givenkey. - addReplacement(String, BigDecimal) - Method in class com.github.mjeanroy.dbunit.core.replacement.Replacements.Builder
-
Add new replacement
valuefor givenkey. - addReplacement(String, BigInteger) - Method in class com.github.mjeanroy.dbunit.core.replacement.Replacements.Builder
-
Add new replacement
valuefor givenkey. - addReplacement(String, Date) - Method in class com.github.mjeanroy.dbunit.core.replacement.Replacements.Builder
-
Add new replacement
valuefor givenkey. - addTable(DataSetBuilderTable) - Method in class com.github.mjeanroy.dbunit.core.dataset.DataSetBuilder
-
Adds or merges a table into this builder.
- addTable(String, DataSetBuilderRow, DataSetBuilderRow...) - Method in class com.github.mjeanroy.dbunit.core.dataset.DataSetBuilder
-
Adds or merges a table into this builder.
- addTable(String, Collection) - Method in class com.github.mjeanroy.dbunit.core.dataset.DataSetBuilder
-
Adds or merges a table into this builder.
- after() - Method in class com.github.mjeanroy.dbunit.integration.spring.EmbeddedDatabaseRunner
-
Execute the after test handler.
- after() - Method in class com.github.mjeanroy.dbunit.integration.spring.junit4.EmbeddedDatabaseRule
- afterAll(ExtensionContext) - Method in class com.github.mjeanroy.dbunit.integration.jupiter.DbUnitExtension
- afterAll(ExtensionContext) - Method in class com.github.mjeanroy.dbunit.integration.spring.jupiter.DbUnitEmbeddedDatabaseExtension
- afterAll(ExtensionContext) - Method in class com.github.mjeanroy.dbunit.integration.spring.jupiter.EmbeddedDatabaseExtension
- afterEach(ExtensionContext) - Method in class com.github.mjeanroy.dbunit.integration.jupiter.DbUnitExtension
- afterEach(ExtensionContext) - Method in class com.github.mjeanroy.dbunit.integration.spring.jupiter.DbUnitEmbeddedDatabaseExtension
- afterEach(ExtensionContext) - Method in class com.github.mjeanroy.dbunit.integration.spring.jupiter.EmbeddedDatabaseExtension
- afterTest(Method) - Method in class com.github.mjeanroy.dbunit.core.runner.DbUnitRunner
-
Unload data set after test execution: Get new SQL connection. Remove DataSet and execute tear down operation. Close SQL connection.
- afterTestClass(TestContext) - Method in class com.github.mjeanroy.dbunit.integration.spring.TransactionalDbUnitTestExecutionListener
- afterTestMethod(TestContext) - Method in class com.github.mjeanroy.dbunit.integration.spring.TransactionalDbUnitTestExecutionListener
- afterTestMethod(TestContext) - Method in class com.github.mjeanroy.dbunit.integration.spring.DbUnitTestExecutionListener
- allowEmptyFields() - Element in annotation type com.github.mjeanroy.dbunit.core.annotations.DbUnitConfig
-
Enable or disable empty fields in dataset.
- Annotations - Class in com.github.mjeanroy.dbunit.commons.reflection
-
Static Annotation Utilities.
- append(String, char) - Method in class com.github.mjeanroy.dbunit.commons.lang.ToStringBuilder
-
Append new char field.
- append(String, Object) - Method in class com.github.mjeanroy.dbunit.commons.lang.ToStringBuilder
-
Append new object field.
- append(String, String) - Method in class com.github.mjeanroy.dbunit.commons.lang.ToStringBuilder
-
Append new string field.
- apply(ResultSet) - Method in interface com.github.mjeanroy.dbunit.commons.jdbc.ResultSetMapFunction
-
Map
resultSetto another type. - apply(Statement, Description) - Method in class com.github.mjeanroy.dbunit.integration.junit4.DbUnitRule
- apply(Statement, Description) - Method in class com.github.mjeanroy.dbunit.integration.spring.junit4.DbUnitEmbeddedDatabaseRule
- applyConfiguration(DatabaseConfig) - Method in class com.github.mjeanroy.dbunit.core.configuration.DbUnitAllowEmptyFieldsInterceptor
- applyConfiguration(DatabaseConfig) - Method in class com.github.mjeanroy.dbunit.core.configuration.DbUnitBatchedStatementsInterceptor
- applyConfiguration(DatabaseConfig) - Method in class com.github.mjeanroy.dbunit.core.configuration.DbUnitBatchSizeInterceptor
- applyConfiguration(DatabaseConfig) - Method in class com.github.mjeanroy.dbunit.core.configuration.DbUnitCaseSensitiveTableNamesInterceptor
- applyConfiguration(DatabaseConfig) - Method in class com.github.mjeanroy.dbunit.core.configuration.DbUnitDatatypeWarningInterceptor
- applyConfiguration(DatabaseConfig) - Method in class com.github.mjeanroy.dbunit.core.configuration.DbUnitFetchSizeInterceptor
- applyConfiguration(DatabaseConfig) - Method in class com.github.mjeanroy.dbunit.core.configuration.DbUnitMetadataHandlerInterceptor
- applyConfiguration(DatabaseConfig) - Method in class com.github.mjeanroy.dbunit.core.configuration.DbUnitQualifiedTableNamesInterceptor
- applyConfiguration(DatabaseConfig) - Method in interface com.github.mjeanroy.dbunit.core.configuration.DbUnitConfigInterceptor
-
Apply customization on the database configuration instance.
- applyConfiguration(DatabaseConfig) - Method in class com.github.mjeanroy.dbunit.core.configuration.DbUnitDatatypeFactoryInterceptor
- applyConfiguration(DatabaseConfig, IDatabaseConnection) - Method in interface com.github.mjeanroy.dbunit.core.configuration.DbUnitConfigInterceptor
-
Apply customization on the database configuration instance.
- applyConfiguration(DatabaseConfig, IDatabaseConnection) - Method in class com.github.mjeanroy.dbunit.core.configuration.DbUnitDatatypeFactoryInterceptor
- AutoDetectForeignKeyManager - Class in com.github.mjeanroy.dbunit.core.jdbc
-
Instance of
JdbcForeignKeyManagerthat will auto-detect the underlying implementation to use based on the JDBC connection URL. - AutoDetectForeignKeyManager() - Constructor for class com.github.mjeanroy.dbunit.core.jdbc.AutoDetectForeignKeyManager
-
Create foreign key manager.
B
- Basic usage - Section in class com.github.mjeanroy.dbunit.core.dataset.DataSetBuilder
- batchedStatements() - Element in annotation type com.github.mjeanroy.dbunit.core.annotations.DbUnitConfig
-
Enable or disable usage of JDBC batched statement by DbUnit, default is
false. - batchSize() - Element in annotation type com.github.mjeanroy.dbunit.core.annotations.DbUnitConfig
-
Integer object giving the size of batch updates.
- before() - Method in class com.github.mjeanroy.dbunit.integration.spring.EmbeddedDatabaseRunner
-
Execute the before test handler.
- before() - Method in class com.github.mjeanroy.dbunit.integration.spring.junit4.EmbeddedDatabaseRule
- beforeAll(ExtensionContext) - Method in class com.github.mjeanroy.dbunit.integration.jupiter.DbUnitExtension
- beforeAll(ExtensionContext) - Method in class com.github.mjeanroy.dbunit.integration.spring.jupiter.DbUnitEmbeddedDatabaseExtension
- beforeAll(ExtensionContext) - Method in class com.github.mjeanroy.dbunit.integration.spring.jupiter.EmbeddedDatabaseExtension
- beforeEach(ExtensionContext) - Method in class com.github.mjeanroy.dbunit.integration.jupiter.DbUnitExtension
- beforeEach(ExtensionContext) - Method in class com.github.mjeanroy.dbunit.integration.spring.jupiter.DbUnitEmbeddedDatabaseExtension
- beforeEach(ExtensionContext) - Method in class com.github.mjeanroy.dbunit.integration.spring.jupiter.EmbeddedDatabaseExtension
- beforeTest(Method) - Method in class com.github.mjeanroy.dbunit.core.runner.DbUnitRunner
-
Load data set before test execution: Get new SQL connection. Load DataSet and execute setup operation. Close SQL connection.
- beforeTestClass(TestContext) - Method in class com.github.mjeanroy.dbunit.integration.spring.TransactionalDbUnitTestExecutionListener
- beforeTestMethod(TestContext) - Method in class com.github.mjeanroy.dbunit.integration.spring.TransactionalDbUnitTestExecutionListener
- beforeTestMethod(TestContext) - Method in class com.github.mjeanroy.dbunit.integration.spring.DbUnitTestExecutionListener
- build() - Method in class com.github.mjeanroy.dbunit.commons.lang.ToStringBuilder
-
Create the final string.
- build() - Method in class com.github.mjeanroy.dbunit.core.dataset.JsonDataSetBuilder
-
Create instance of
AbstractParseableDataSet. - build() - Method in class com.github.mjeanroy.dbunit.core.dataset.YamlDataSetBuilder
-
Create instance of
AbstractParseableDataSet. - build() - Method in class com.github.mjeanroy.dbunit.core.dataset.DataSetBuilder
-
Builds a
DefaultDataSetcontaining all tables added to this builder. - build() - Method in class com.github.mjeanroy.dbunit.core.dataset.DirectoryDataSetBuilder
-
Build data set.
- build() - Method in class com.github.mjeanroy.dbunit.core.replacement.Replacements.Builder
-
Create replacements objects.
- build() - Method in class com.github.mjeanroy.dbunit.core.sql.SqlScriptParserConfiguration.Builder
-
Build new instance of
SqlScriptParserConfiguration. - builder() - Static method in class com.github.mjeanroy.dbunit.core.dataset.DataSetBuilder
-
Creates a new, empty
DataSetBuilder. - builder() - Static method in class com.github.mjeanroy.dbunit.core.replacement.Replacements
-
Get a new builder instance.
- builder() - Static method in class com.github.mjeanroy.dbunit.core.sql.SqlScriptParserConfiguration
-
Get new builder instance.
C
- 2. Classpath Auto-Detection - Section in class com.github.mjeanroy.dbunit.json.JsonsFactory
- 2. Classpath Auto-Detection - Section in class com.github.mjeanroy.dbunit.yaml.YamlsFactory
- Cache<K,
V> - Interface in com.github.mjeanroy.dbunit.cache -
Cache of values identified by a key.
- CacheFactory - Class in com.github.mjeanroy.dbunit.cache
-
Factory for
Cacheinstances. - CacheLoader<K,
V> - Interface in com.github.mjeanroy.dbunit.cache -
Cache loader: the role of a loader is to compute the value to store in a cache.
- caseSensitiveTableNames() - Element in annotation type com.github.mjeanroy.dbunit.core.annotations.DbUnitConfig
-
Enable or disable case sensitive table names.
- checkArgument(boolean, String, Object...) - Static method in class com.github.mjeanroy.dbunit.commons.lang.PreConditions
- ClassInstantiationException - Exception Class in com.github.mjeanroy.dbunit.exception
-
Exception thrown when a class cannot be instantiated because of: Missing empty public constructor. The empty constructor is not public. Etc.
- CLASSPATH - Enum constant in enum com.github.mjeanroy.dbunit.core.resources.ResourceLoader
-
Load file from classpath.
- ClassUtils - Class in com.github.mjeanroy.dbunit.commons.reflection
-
Static Class Utilities.
- CLEAN_INSERT - Enum constant in enum com.github.mjeanroy.dbunit.core.operation.DbUnitOperation
-
Clean database before inserting dataset.
- clear() - Method in interface com.github.mjeanroy.dbunit.cache.Cache
-
Clear cache.
- column(String) - Static method in class com.github.mjeanroy.dbunit.core.dataset.DataSetBuilder
-
Creates a new immutable
DataSetBuilderRowValuerepresenting a single column withNULLvalue. - column(String, Boolean) - Static method in class com.github.mjeanroy.dbunit.core.dataset.DataSetBuilder
-
Creates a new immutable
DataSetBuilderRowValuerepresenting a single column and itsBooleanvalue. - column(String, Double) - Static method in class com.github.mjeanroy.dbunit.core.dataset.DataSetBuilder
-
Creates a new immutable
DataSetBuilderRowValuerepresenting a single column and itsDoublevalue. - column(String, Float) - Static method in class com.github.mjeanroy.dbunit.core.dataset.DataSetBuilder
-
Creates a new immutable
DataSetBuilderRowValuerepresenting a single column and itsFloatvalue. - column(String, Integer) - Static method in class com.github.mjeanroy.dbunit.core.dataset.DataSetBuilder
-
Creates a new immutable
DataSetBuilderRowValuerepresenting a single column and itsIntegervalue. - column(String, Long) - Static method in class com.github.mjeanroy.dbunit.core.dataset.DataSetBuilder
-
Creates a new immutable
DataSetBuilderRowValuerepresenting a single column and itsLongvalue. - column(String, Short) - Static method in class com.github.mjeanroy.dbunit.core.dataset.DataSetBuilder
-
Creates a new immutable
DataSetBuilderRowValuerepresenting a single column and itsShortvalue. - column(String, String) - Static method in class com.github.mjeanroy.dbunit.core.dataset.DataSetBuilder
-
Creates a new immutable
DataSetBuilderRowValuerepresenting a single column and itsStringvalue. - column(String, BigDecimal) - Static method in class com.github.mjeanroy.dbunit.core.dataset.DataSetBuilder
-
Creates a new immutable
DataSetBuilderRowValuerepresenting a single column and itsBigDecimalvalue. - column(String, BigInteger) - Static method in class com.github.mjeanroy.dbunit.core.dataset.DataSetBuilder
-
Creates a new immutable
DataSetBuilderRowValuerepresenting a single column and itsBigIntegervalue. - column(String, LocalDate) - Static method in class com.github.mjeanroy.dbunit.core.dataset.DataSetBuilder
-
Creates a new immutable
DataSetBuilderRowValuerepresenting a single column and itsLocalDatevalue. - column(String, LocalDateTime) - Static method in class com.github.mjeanroy.dbunit.core.dataset.DataSetBuilder
-
Creates a new immutable
DataSetBuilderRowValuerepresenting a single column and itsLocalDateTimevalue. - column(String, OffsetDateTime) - Static method in class com.github.mjeanroy.dbunit.core.dataset.DataSetBuilder
-
Creates a new immutable
DataSetBuilderRowValuerepresenting a single column and itsOffsetDateTimevalue. - column(String, ZonedDateTime) - Static method in class com.github.mjeanroy.dbunit.core.dataset.DataSetBuilder
-
Creates a new immutable
DataSetBuilderRowValuerepresenting a single column and itsZonedDateTimevalue. - column(String, Date) - Static method in class com.github.mjeanroy.dbunit.core.dataset.DataSetBuilder
-
Creates a new immutable
DataSetBuilderRowValuerepresenting a single column and itsDatevalue. - column(String, UUID) - Static method in class com.github.mjeanroy.dbunit.core.dataset.DataSetBuilder
-
Creates a new immutable
DataSetBuilderRowValuerepresenting a single column and itsUUIDvalue. - com.github.mjeanroy.dbunit.cache - package com.github.mjeanroy.dbunit.cache
- com.github.mjeanroy.dbunit.commons.io - package com.github.mjeanroy.dbunit.commons.io
- com.github.mjeanroy.dbunit.commons.jdbc - package com.github.mjeanroy.dbunit.commons.jdbc
- com.github.mjeanroy.dbunit.commons.lang - package com.github.mjeanroy.dbunit.commons.lang
- com.github.mjeanroy.dbunit.commons.reflection - package com.github.mjeanroy.dbunit.commons.reflection
- com.github.mjeanroy.dbunit.core.annotations - package com.github.mjeanroy.dbunit.core.annotations
- com.github.mjeanroy.dbunit.core.configuration - package com.github.mjeanroy.dbunit.core.configuration
- com.github.mjeanroy.dbunit.core.dataset - package com.github.mjeanroy.dbunit.core.dataset
- com.github.mjeanroy.dbunit.core.ext - package com.github.mjeanroy.dbunit.core.ext
- com.github.mjeanroy.dbunit.core.jdbc - package com.github.mjeanroy.dbunit.core.jdbc
- com.github.mjeanroy.dbunit.core.operation - package com.github.mjeanroy.dbunit.core.operation
- com.github.mjeanroy.dbunit.core.parsers - package com.github.mjeanroy.dbunit.core.parsers
- com.github.mjeanroy.dbunit.core.replacement - package com.github.mjeanroy.dbunit.core.replacement
- com.github.mjeanroy.dbunit.core.resources - package com.github.mjeanroy.dbunit.core.resources
- com.github.mjeanroy.dbunit.core.runner - package com.github.mjeanroy.dbunit.core.runner
- com.github.mjeanroy.dbunit.core.sql - package com.github.mjeanroy.dbunit.core.sql
- com.github.mjeanroy.dbunit.exception - package com.github.mjeanroy.dbunit.exception
- com.github.mjeanroy.dbunit.integration.junit4 - package com.github.mjeanroy.dbunit.integration.junit4
- com.github.mjeanroy.dbunit.integration.jupiter - package com.github.mjeanroy.dbunit.integration.jupiter
- com.github.mjeanroy.dbunit.integration.liquibase - package com.github.mjeanroy.dbunit.integration.liquibase
- com.github.mjeanroy.dbunit.integration.spring - package com.github.mjeanroy.dbunit.integration.spring
- com.github.mjeanroy.dbunit.integration.spring.junit4 - package com.github.mjeanroy.dbunit.integration.spring.junit4
- com.github.mjeanroy.dbunit.integration.spring.jupiter - package com.github.mjeanroy.dbunit.integration.spring.jupiter
- com.github.mjeanroy.dbunit.json - package com.github.mjeanroy.dbunit.json
- com.github.mjeanroy.dbunit.loggers - package com.github.mjeanroy.dbunit.loggers
- com.github.mjeanroy.dbunit.yaml - package com.github.mjeanroy.dbunit.yaml
- continueOnError() - Element in annotation type com.github.mjeanroy.dbunit.integration.spring.EmbeddedDatabaseConfiguration
-
Specify that all failures which occur while executing SQL scripts should be logged but should not cause a failure, defaults to
false. - create() - Method in class com.github.mjeanroy.dbunit.core.replacement.CurrentTimestampValueReplacementsProvider
- create() - Method in class com.github.mjeanroy.dbunit.core.replacement.CurrentTimeValueReplacementsProvider
- create() - Method in class com.github.mjeanroy.dbunit.core.replacement.NowValueReplacementsProvider
- create() - Method in class com.github.mjeanroy.dbunit.core.replacement.NullValueReplacementsProvider
- create() - Method in interface com.github.mjeanroy.dbunit.core.replacement.ReplacementsProvider
-
Create replacements values.
- create(Class) - Static method in class com.github.mjeanroy.dbunit.commons.lang.ToStringBuilder
-
Create the builder with given class (the simple name will be used to start the
toStringvalue). - create(Object) - Static method in class com.github.mjeanroy.dbunit.commons.lang.ToStringBuilder
-
Create the builder with given class of instance (the simple name will be used to start the
toStringvalue). - createConnection() - Method in class com.github.mjeanroy.dbunit.core.jdbc.AbstractJdbcConnectionFactory
-
Create SQL connection (thrown exception will be catch and wrap into
JdbcException. - createConnection() - Method in class com.github.mjeanroy.dbunit.core.jdbc.JdbcDataSourceConnectionFactory
- createConnection() - Method in class com.github.mjeanroy.dbunit.core.jdbc.JdbcDefaultConnectionFactory
- createDataSet(String[]) - Static method in class com.github.mjeanroy.dbunit.core.dataset.DataSetFactory
-
Create data set from collection of file path.
- createDataSet(Collection) - Static method in class com.github.mjeanroy.dbunit.core.dataset.DataSetFactory
-
Creates a single
IDataSetby merging the contents of multiple datasets into one composite instance. - createDataType(int, String) - Method in class com.github.mjeanroy.dbunit.core.annotations.DbUnitConfig.AutoDetectDataTypeFactory
- createDataType(int, String) - Method in class com.github.mjeanroy.dbunit.core.ext.MySqlExtendedDatatypeFactory
- createDataType(int, String) - Method in class com.github.mjeanroy.dbunit.core.ext.PostgresqlExtendedDatatypeFactory
- createDataType(int, String, String, String) - Method in class com.github.mjeanroy.dbunit.core.annotations.DbUnitConfig.AutoDetectDataTypeFactory
- createDefaultParser() - Static method in class com.github.mjeanroy.dbunit.json.JsonsFactory
-
Create the default
JsonParserimplementation. - createDefaultParser() - Static method in class com.github.mjeanroy.dbunit.yaml.YamlsFactory
-
Create the default
YamlParserimplementation. - createDefaultSerializer() - Static method in class com.github.mjeanroy.dbunit.json.JsonsFactory
-
Create the default
JsonSerializerimplementation. - createIterator(boolean) - Method in class com.github.mjeanroy.dbunit.core.dataset.JsonDataSet
- createIterator(boolean) - Method in class com.github.mjeanroy.dbunit.core.dataset.YamlDataSet
- CurrentTimestampValueReplacementsProvider - Class in com.github.mjeanroy.dbunit.core.replacement
-
A
ReplacementsProviderthat will map following values to the current date:current_timestampCURRENT_TIMESTAMPcurrent_timestamp()CURRENT_TIMESTAMP() - CurrentTimestampValueReplacementsProvider() - Constructor for class com.github.mjeanroy.dbunit.core.replacement.CurrentTimestampValueReplacementsProvider
-
Create provider.
- CurrentTimeValueReplacementsProvider - Class in com.github.mjeanroy.dbunit.core.replacement
-
A
ReplacementsProviderthat will map following values to the current time (according to the system timezone):current_timeCURRENT_TIMEcurrent_time()CURRENT_TIME() - CurrentTimeValueReplacementsProvider() - Constructor for class com.github.mjeanroy.dbunit.core.replacement.CurrentTimeValueReplacementsProvider
-
Create provider.
D
- databaseName() - Element in annotation type com.github.mjeanroy.dbunit.integration.spring.EmbeddedDatabaseConfiguration
-
Set the name of the embedded database.
- databaseType() - Element in annotation type com.github.mjeanroy.dbunit.integration.spring.EmbeddedDatabaseConfiguration
-
Set the type of embedded database.
- DataSetBuilder - Class in com.github.mjeanroy.dbunit.core.dataset
-
Fluent builder for creating DbUnit
IDataSetinstances entirely in Java code. - DataSetBuilder.JsonBinder - Annotation Type in com.github.mjeanroy.dbunit.core.dataset
-
Annotate field that should be serialized as JSON when persisted to the database using the
DataSetBuilder. - DataSetBuilderRow - Class in com.github.mjeanroy.dbunit.core.dataset
-
Immutable representation of a single row in a dataset table.
- DataSetBuilderRowValue - Class in com.github.mjeanroy.dbunit.core.dataset
-
Immutable value object representing a single column name and its value.
- DataSetBuilderTable - Class in com.github.mjeanroy.dbunit.core.dataset
-
Immutable representation of a database table consisting of a name and an ordered list of rows.
- DataSetFactory - Class in com.github.mjeanroy.dbunit.core.dataset
-
Factory to create instance of
IDataSet. - DataSetLoaderException - Exception Class in com.github.mjeanroy.dbunit.exception
-
Exception thrown when DataSet cannot be loaded.
- DataSetLoaderException(Exception) - Constructor for exception class com.github.mjeanroy.dbunit.exception.DataSetLoaderException
-
Wrap original exception.
- DatasetParser - Interface in com.github.mjeanroy.dbunit.core.parsers
-
Dataset parser: read file and returns in-memory dataset representation.
- DataSetParserException - Exception Class in com.github.mjeanroy.dbunit.exception
-
Exception thrown when DataSet cannot be parsed.
- DataSetParserException(Exception) - Constructor for exception class com.github.mjeanroy.dbunit.exception.DataSetParserException
-
Wrap original exception.
- DataSetProvider - Interface in com.github.mjeanroy.dbunit.core.dataset
-
A provider of
IDataSetinstances for DbUnit tests. - datatypeFactory() - Element in annotation type com.github.mjeanroy.dbunit.core.annotations.DbUnitConfig
-
Used to configure the DataType factory.
- datatypeWarning() - Element in annotation type com.github.mjeanroy.dbunit.core.annotations.DbUnitConfig
-
Enable or disable the warning message displayed when DbUnit encounter an unsupported data type.
- DbUnitAllowEmptyFieldsInterceptor - Class in com.github.mjeanroy.dbunit.core.configuration
-
An interceptor that can enable/disable the
"allowEmptyFields"feature of DbUnit. - DbUnitAllowEmptyFieldsInterceptor() - Constructor for class com.github.mjeanroy.dbunit.core.configuration.DbUnitAllowEmptyFieldsInterceptor
-
Create the interceptor, the feature is enabled by default.
- DbUnitAllowEmptyFieldsInterceptor(boolean) - Constructor for class com.github.mjeanroy.dbunit.core.configuration.DbUnitAllowEmptyFieldsInterceptor
-
Create the interceptor.
- DbUnitBatchedStatementsInterceptor - Class in com.github.mjeanroy.dbunit.core.configuration
-
An interceptor that can enable/disable the
"batchedStatements"feature of DbUnit. - DbUnitBatchedStatementsInterceptor() - Constructor for class com.github.mjeanroy.dbunit.core.configuration.DbUnitBatchedStatementsInterceptor
-
Create the interceptor, the feature is enabled by default.
- DbUnitBatchedStatementsInterceptor(boolean) - Constructor for class com.github.mjeanroy.dbunit.core.configuration.DbUnitBatchedStatementsInterceptor
-
Create the interceptor.
- DbUnitBatchSizeInterceptor - Class in com.github.mjeanroy.dbunit.core.configuration
-
An interceptor that can set the
"batchSize"property of DbUnit. - DbUnitBatchSizeInterceptor(int) - Constructor for class com.github.mjeanroy.dbunit.core.configuration.DbUnitBatchSizeInterceptor
-
Create the interceptor.
- DbUnitCaseSensitiveTableNamesInterceptor - Class in com.github.mjeanroy.dbunit.core.configuration
-
An interceptor that can enable/disable the
"caseSensitiveTableNames"feature of DbUnit. - DbUnitCaseSensitiveTableNamesInterceptor() - Constructor for class com.github.mjeanroy.dbunit.core.configuration.DbUnitCaseSensitiveTableNamesInterceptor
-
Create the interceptor, the feature is enabled by default.
- DbUnitCaseSensitiveTableNamesInterceptor(boolean) - Constructor for class com.github.mjeanroy.dbunit.core.configuration.DbUnitCaseSensitiveTableNamesInterceptor
-
Create the interceptor.
- DbUnitConfig - Annotation Type in com.github.mjeanroy.dbunit.core.annotations
-
Annotation that can be used to customize DBUnit configuration property when the DbUnit connection will be created.
- DbUnitConfig.AutoDetectDataTypeFactory - Class in com.github.mjeanroy.dbunit.core.annotations
-
Implementation of
IDataTypeFactorythat should not be used publicly and where all methods will throwUnsupportedOperationException. - DbUnitConfigInterceptor - Interface in com.github.mjeanroy.dbunit.core.configuration
-
An interceptor that can be used to apply some custom DbUnit configuration on a
DatabaseConfiginstance. - DbUnitConnection - Annotation Type in com.github.mjeanroy.dbunit.core.annotations
-
Set the DBUnit connection configuration.
- DbUnitDataSet - Annotation Type in com.github.mjeanroy.dbunit.core.annotations
-
Data set annotation used to specify which DbUnit dataset(s) should be loaded before executing a test.
- DbUnitDatatypeFactoryInterceptor - Class in com.github.mjeanroy.dbunit.core.configuration
-
An interceptor that can specify the
"datatypeFactory"property of DbUnit. - DbUnitDatatypeFactoryInterceptor(Class) - Constructor for class com.github.mjeanroy.dbunit.core.configuration.DbUnitDatatypeFactoryInterceptor
-
Create the interceptor.
- DbUnitDatatypeWarningInterceptor - Class in com.github.mjeanroy.dbunit.core.configuration
-
An interceptor that can enable/disable the
"datatypeWarning"feature of DbUnit. - DbUnitDatatypeWarningInterceptor() - Constructor for class com.github.mjeanroy.dbunit.core.configuration.DbUnitDatatypeWarningInterceptor
-
Create the interceptor, the feature is disabled by default.
- DbUnitDatatypeWarningInterceptor(boolean) - Constructor for class com.github.mjeanroy.dbunit.core.configuration.DbUnitDatatypeWarningInterceptor
-
Create the interceptor.
- DbUnitEmbeddedDatabaseExtension - Class in com.github.mjeanroy.dbunit.integration.spring.jupiter
-
A simple and easy-to-use integration between DbUnit and spring
EmbeddedDatabase. - DbUnitEmbeddedDatabaseExtension() - Constructor for class com.github.mjeanroy.dbunit.integration.spring.jupiter.DbUnitEmbeddedDatabaseExtension
-
Create extension with default database or using
EmbeddedDatabaseConfigurationsettings. - DbUnitEmbeddedDatabaseExtension(EmbeddedDatabase) - Constructor for class com.github.mjeanroy.dbunit.integration.spring.jupiter.DbUnitEmbeddedDatabaseExtension
-
Create extension with given
EmbeddedDatabase. - DbUnitEmbeddedDatabaseRule - Class in com.github.mjeanroy.dbunit.integration.spring.junit4
-
This rule provide a fine integration between spring embedded database and dbunit: Ensure that embedded database is started and available before dbUnit load dataSet. Shutdown database after test.
- DbUnitEmbeddedDatabaseRule() - Constructor for class com.github.mjeanroy.dbunit.integration.spring.junit4.DbUnitEmbeddedDatabaseRule
-
Create rule, embedded database will be initialized with
EmbeddedDatabaseConfigurationif defined on the test class, or using a default embedded database. - DbUnitEmbeddedDatabaseRule(EmbeddedDatabase) - Constructor for class com.github.mjeanroy.dbunit.integration.spring.junit4.DbUnitEmbeddedDatabaseRule
-
Create rule with given
EmbeddedDatabase. - DbUnitException - Exception Class in com.github.mjeanroy.dbunit.exception
-
DbUnit exception.
- DbUnitException(Exception) - Constructor for exception class com.github.mjeanroy.dbunit.exception.DbUnitException
-
Wrap
Exception. - DbUnitException(String) - Constructor for exception class com.github.mjeanroy.dbunit.exception.DbUnitException
-
Create exception.
- DbUnitExtension - Class in com.github.mjeanroy.dbunit.integration.jupiter
-
A simple JUnit Jupiter extension for DbUnit.
- DbUnitExtension() - Constructor for class com.github.mjeanroy.dbunit.integration.jupiter.DbUnitExtension
-
Create the extension.
- DbUnitExtension(JdbcConfiguration) - Constructor for class com.github.mjeanroy.dbunit.integration.jupiter.DbUnitExtension
-
Create rule using
JdbcConfigurationinstance. - DbUnitExtension(JdbcConnectionFactory) - Constructor for class com.github.mjeanroy.dbunit.integration.jupiter.DbUnitExtension
-
Create rule using
JdbcConnectionFactoryto create SQL Connection. - DbUnitExtension(DataSource) - Constructor for class com.github.mjeanroy.dbunit.integration.jupiter.DbUnitExtension
-
Create rule using
DataSourceto create SQL Connection. - DbUnitFetchSizeInterceptor - Class in com.github.mjeanroy.dbunit.core.configuration
-
An interceptor that can set the
"fetchSize"property of DbUnit. - DbUnitFetchSizeInterceptor(int) - Constructor for class com.github.mjeanroy.dbunit.core.configuration.DbUnitFetchSizeInterceptor
-
Create the interceptor.
- DbUnitInit - Annotation Type in com.github.mjeanroy.dbunit.core.annotations
-
DbUnit initialization: allow user to run SQL scripts before loading DbUnit data set.
- DbUnitJunitRunner - Class in com.github.mjeanroy.dbunit.integration.junit4
-
Implementation of JUnit
Runnerto fill and clear database between each tests. - DbUnitJunitRunner(Class) - Constructor for class com.github.mjeanroy.dbunit.integration.junit4.DbUnitJunitRunner
-
Create runner.
- DbUnitLiquibase - Annotation Type in com.github.mjeanroy.dbunit.core.annotations
-
DbUnit liquibase integration: allow test to initialize database with liquibase and load DbUnit data set next.
- DbUnitMetadataHandlerInterceptor - Class in com.github.mjeanroy.dbunit.core.configuration
-
An interceptor that can set the
"metadataHandler"property of DbUnit. - DbUnitMetadataHandlerInterceptor(Class) - Constructor for class com.github.mjeanroy.dbunit.core.configuration.DbUnitMetadataHandlerInterceptor
-
Create the interceptor.
- DbUnitMetadataHandlerInterceptor(IMetadataHandler) - Constructor for class com.github.mjeanroy.dbunit.core.configuration.DbUnitMetadataHandlerInterceptor
-
Create the interceptor.
- DbUnitOperation - Enum in com.github.mjeanroy.dbunit.core.operation
-
Set of
DatabaseOperationsupported out of the box. - DbUnitQualifiedTableNamesInterceptor - Class in com.github.mjeanroy.dbunit.core.configuration
-
An interceptor that can enable/disable the
"qualifiedTableNames"feature of DbUnit. - DbUnitQualifiedTableNamesInterceptor() - Constructor for class com.github.mjeanroy.dbunit.core.configuration.DbUnitQualifiedTableNamesInterceptor
-
Create the interceptor, the feature is enabled by default.
- DbUnitQualifiedTableNamesInterceptor(boolean) - Constructor for class com.github.mjeanroy.dbunit.core.configuration.DbUnitQualifiedTableNamesInterceptor
-
Create the interceptor.
- DbUnitReplacements - Annotation Type in com.github.mjeanroy.dbunit.core.annotations
-
Annotation that define the list of
Replacementsto use during test suite. - DbUnitRule - Class in com.github.mjeanroy.dbunit.integration.junit4
-
JUnit Rule to setup DbUnit database for each tests.
- DbUnitRule() - Constructor for class com.github.mjeanroy.dbunit.integration.junit4.DbUnitRule
-
Create rule, extract
JdbcConnectionFactoryfrom test class annotations. - DbUnitRule(JdbcConfiguration) - Constructor for class com.github.mjeanroy.dbunit.integration.junit4.DbUnitRule
-
Create rule using
JdbcConfigurationinstance. - DbUnitRule(JdbcConnectionFactory) - Constructor for class com.github.mjeanroy.dbunit.integration.junit4.DbUnitRule
-
Create rule using
JdbcConnectionFactoryto create SQL Connection. - DbUnitRule(DataSource) - Constructor for class com.github.mjeanroy.dbunit.integration.junit4.DbUnitRule
-
Create rule using
dataSourceto get databaseConnection. - DbUnitRunner - Class in com.github.mjeanroy.dbunit.core.runner
-
Generic class to run DbUnit before/after test method invocation.
- DbUnitRunner(Class) - Constructor for class com.github.mjeanroy.dbunit.core.runner.DbUnitRunner
-
Create runner and extract the JDBC Connection factory from the
testClassthat should be annotated withDbUnitConnection. - DbUnitRunner(Class, JdbcConnectionFactory) - Constructor for class com.github.mjeanroy.dbunit.core.runner.DbUnitRunner
-
Create runner.
- DbUnitRunner(Class, DataSource) - Constructor for class com.github.mjeanroy.dbunit.core.runner.DbUnitRunner
-
Create runner.
- DbUnitSetup - Annotation Type in com.github.mjeanroy.dbunit.core.annotations
-
Database operation to execute before test is executed.
- DbUnitSpring - Annotation Type in com.github.mjeanroy.dbunit.integration.spring
-
A meta-annotation to automatically integrate Spring with DbUnit.
- DbUnitTearDown - Annotation Type in com.github.mjeanroy.dbunit.core.annotations
-
Database operation to execute after test is executed.
- DbUnitTest - Annotation Type in com.github.mjeanroy.dbunit.core.annotations
-
Specify DBUnit test using: All dataset files located in:
/datasetDefault setup operation:DbUnitOperation.CLEAN_INSERT. Default teardown operation:DbUnitOperation.TRUNCATE_TABLE. Default value replacers (NullValueReplacementsProvider,NowValueReplacementsProvider,CurrentTimestampValueReplacementsProviderandCurrentTimeValueReplacementsProvider). - DbUnitTestExecutionListener - Class in com.github.mjeanroy.dbunit.integration.spring
-
Spring test execution listener running DbUnit data set before and after test methods: Get
DataSourcebean fromApplicationContext. Load data set, retrieved usingDbUnitDataSetannotation. Run setup operation before test method execution. Run tear down operation after test method method execution.. - DbUnitTestExecutionListener() - Constructor for class com.github.mjeanroy.dbunit.integration.spring.DbUnitTestExecutionListener
-
Create listener.
- debug(String) - Method in interface com.github.mjeanroy.dbunit.loggers.Logger
-
Log message with DEBUG level.
- debug(String, Object) - Method in interface com.github.mjeanroy.dbunit.loggers.Logger
-
Log message with DEBUG level.
- debug(String, Object...) - Method in interface com.github.mjeanroy.dbunit.loggers.Logger
-
Log message with DEBUG level.
- debug(String, Object, Object) - Method in interface com.github.mjeanroy.dbunit.loggers.Logger
-
Log message with DEBUG level.
- DEFAULT_CHARSET - Static variable in class com.github.mjeanroy.dbunit.commons.io.Files
-
The default
Charsetname. - DEFAULT_DELIMITER - Static variable in class com.github.mjeanroy.dbunit.core.sql.SqlScriptParserConfiguration
-
Default SQL delimiter (
;). - defaultConfiguration() - Static method in class com.github.mjeanroy.dbunit.core.sql.SqlScriptParserConfiguration
-
Get new builder instance.
- defaultScripts() - Element in annotation type com.github.mjeanroy.dbunit.integration.spring.EmbeddedDatabaseConfiguration
-
Add default SQL scripts to execute to populate the database.
- DELETE - Enum constant in enum com.github.mjeanroy.dbunit.core.operation.DbUnitOperation
-
Deletes only the dataset contents from the database
- DELETE_ALL - Enum constant in enum com.github.mjeanroy.dbunit.core.operation.DbUnitOperation
-
Deletes all rows of tables present in the specified dataset
- delimiter() - Element in annotation type com.github.mjeanroy.dbunit.core.annotations.DbUnitInit
-
Delimiter for these set of SQL scripts.
- Design Notes - Section in class com.github.mjeanroy.dbunit.commons.lang.SPI
- Design Notes - Section in class com.github.mjeanroy.dbunit.json.JsonsFactory
- Design Notes - Section in class com.github.mjeanroy.dbunit.yaml.YamlsFactory
- DirectoryDataSet - Class in com.github.mjeanroy.dbunit.core.dataset
-
Directory dataSet.
- DirectoryDataSetBuilder - Class in com.github.mjeanroy.dbunit.core.dataset
-
Builder for
DirectoryDataSetinstances. - DirectoryDataSetBuilder() - Constructor for class com.github.mjeanroy.dbunit.core.dataset.DirectoryDataSetBuilder
-
Create builder.
- DirectoryDataSetBuilder(Resource) - Constructor for class com.github.mjeanroy.dbunit.core.dataset.DirectoryDataSetBuilder
-
Create build with directory.
- disable(Connection) - Method in class com.github.mjeanroy.dbunit.core.jdbc.InformationSchemaForeignKeyManager
- disable(Connection) - Method in class com.github.mjeanroy.dbunit.core.jdbc.MsSQLForeignKeyManager
- disable(Connection) - Method in class com.github.mjeanroy.dbunit.core.jdbc.MySQLForeignKeyManager
- disable(Connection) - Method in class com.github.mjeanroy.dbunit.core.jdbc.OracleForeignKeyManager
- disable(Connection) - Method in class com.github.mjeanroy.dbunit.core.jdbc.PostgresForeignKeyManager
- disable(Connection) - Method in class com.github.mjeanroy.dbunit.core.jdbc.AutoDetectForeignKeyManager
- disable(Connection) - Method in class com.github.mjeanroy.dbunit.core.jdbc.H2ForeignKeyManager
- disable(Connection) - Method in class com.github.mjeanroy.dbunit.core.jdbc.HsqldbForeignKeyManager
- disable(Connection) - Method in interface com.github.mjeanroy.dbunit.core.jdbc.JdbcForeignKeyManager
-
Disable foreign keys using the SQL `connection`.
- disable(Connection) - Method in class com.github.mjeanroy.dbunit.core.jdbc.MariaDBForeignKeyManager
- doParse(Reader) - Method in class com.github.mjeanroy.dbunit.core.parsers.JsonDatasetParser
- doParse(Reader) - Method in class com.github.mjeanroy.dbunit.core.parsers.YamlDatasetParser
- driver() - Element in annotation type com.github.mjeanroy.dbunit.core.annotations.DbUnitConnection
-
Database driver to use: default is the empty string and the driver will automatically be selected, based on the connection URL.
E
- EmbeddedDatabaseConfiguration - Annotation Type in com.github.mjeanroy.dbunit.integration.spring
-
Specify configuration for spring
EmbeddedDatabase. - EmbeddedDatabaseExtension - Class in com.github.mjeanroy.dbunit.integration.spring.jupiter
-
A JUnit Jupiter extension that can be used to start/stop an embedded database.
- EmbeddedDatabaseExtension() - Constructor for class com.github.mjeanroy.dbunit.integration.spring.jupiter.EmbeddedDatabaseExtension
-
Create the extension, a default
EmbeddedDatabasewill be used. - EmbeddedDatabaseExtension(EmbeddedDatabase) - Constructor for class com.github.mjeanroy.dbunit.integration.spring.jupiter.EmbeddedDatabaseExtension
-
Create the extension, the given
EmbeddedDatabasewill be used. - EmbeddedDatabaseRule - Class in com.github.mjeanroy.dbunit.integration.spring.junit4
-
A JUnit 4
Rulethat can be used to start/stop embedded database. - EmbeddedDatabaseRule() - Constructor for class com.github.mjeanroy.dbunit.integration.spring.junit4.EmbeddedDatabaseRule
-
Create rule with default builder.
- EmbeddedDatabaseRule(Class) - Constructor for class com.github.mjeanroy.dbunit.integration.spring.junit4.EmbeddedDatabaseRule
-
Create rule and lookup for
EmbeddedDatabaseConfigurationin thetestClassto initialize the embedded database. - EmbeddedDatabaseRule(EmbeddedDatabase) - Constructor for class com.github.mjeanroy.dbunit.integration.spring.junit4.EmbeddedDatabaseRule
-
Create rule.
- EmbeddedDatabaseRunner - Class in com.github.mjeanroy.dbunit.integration.spring
-
A standalone runner that can be used to start/stop embedded database.
- EmbeddedDatabaseRunner() - Constructor for class com.github.mjeanroy.dbunit.integration.spring.EmbeddedDatabaseRunner
-
Create rule with default builder.
- EmbeddedDatabaseRunner(Class) - Constructor for class com.github.mjeanroy.dbunit.integration.spring.EmbeddedDatabaseRunner
-
Create runner.
- EmbeddedDatabaseRunner(EmbeddedDatabase) - Constructor for class com.github.mjeanroy.dbunit.integration.spring.EmbeddedDatabaseRunner
-
Create rule.
- enable(Connection) - Method in class com.github.mjeanroy.dbunit.core.jdbc.InformationSchemaForeignKeyManager
- enable(Connection) - Method in class com.github.mjeanroy.dbunit.core.jdbc.MsSQLForeignKeyManager
- enable(Connection) - Method in class com.github.mjeanroy.dbunit.core.jdbc.MySQLForeignKeyManager
- enable(Connection) - Method in class com.github.mjeanroy.dbunit.core.jdbc.OracleForeignKeyManager
- enable(Connection) - Method in class com.github.mjeanroy.dbunit.core.jdbc.PostgresForeignKeyManager
- enable(Connection) - Method in class com.github.mjeanroy.dbunit.core.jdbc.AutoDetectForeignKeyManager
- enable(Connection) - Method in class com.github.mjeanroy.dbunit.core.jdbc.H2ForeignKeyManager
- enable(Connection) - Method in class com.github.mjeanroy.dbunit.core.jdbc.HsqldbForeignKeyManager
- enable(Connection) - Method in interface com.github.mjeanroy.dbunit.core.jdbc.JdbcForeignKeyManager
-
Enable foreign keys using the SQL `connection` (that have been previously disabled).
- enable(Connection) - Method in class com.github.mjeanroy.dbunit.core.jdbc.MariaDBForeignKeyManager
- ensureRootSeparator(String) - Static method in class com.github.mjeanroy.dbunit.commons.io.Files
-
Ensure that a
pathstarts with folder separator and returns updated path. - ensureTrailingSeparator(String) - Static method in class com.github.mjeanroy.dbunit.commons.io.Files
-
Ensure that a
pathends with folder separator and returns updated path. - equals(Object) - Method in class com.github.mjeanroy.dbunit.core.configuration.DbUnitAllowEmptyFieldsInterceptor
- equals(Object) - Method in class com.github.mjeanroy.dbunit.core.configuration.DbUnitBatchedStatementsInterceptor
- equals(Object) - Method in class com.github.mjeanroy.dbunit.core.configuration.DbUnitBatchSizeInterceptor
- equals(Object) - Method in class com.github.mjeanroy.dbunit.core.configuration.DbUnitCaseSensitiveTableNamesInterceptor
- equals(Object) - Method in class com.github.mjeanroy.dbunit.core.configuration.DbUnitDatatypeWarningInterceptor
- equals(Object) - Method in class com.github.mjeanroy.dbunit.core.configuration.DbUnitFetchSizeInterceptor
- equals(Object) - Method in class com.github.mjeanroy.dbunit.core.configuration.DbUnitMetadataHandlerInterceptor
- equals(Object) - Method in class com.github.mjeanroy.dbunit.core.configuration.DbUnitQualifiedTableNamesInterceptor
- equals(Object) - Method in class com.github.mjeanroy.dbunit.core.configuration.DbUnitDatatypeFactoryInterceptor
- equals(Object) - Method in class com.github.mjeanroy.dbunit.core.dataset.DataSetBuilderRow
- equals(Object) - Method in class com.github.mjeanroy.dbunit.core.dataset.DataSetBuilderRowValue
- equals(Object) - Method in class com.github.mjeanroy.dbunit.core.dataset.DataSetBuilderTable
- equals(Object) - Method in class com.github.mjeanroy.dbunit.core.jdbc.JdbcConfiguration
- equals(Object) - Method in class com.github.mjeanroy.dbunit.core.jdbc.JdbcDataSourceConnectionFactory
- equals(Object) - Method in class com.github.mjeanroy.dbunit.core.jdbc.JdbcDefaultConnectionFactory
- equals(Object) - Method in class com.github.mjeanroy.dbunit.core.replacement.Replacements
- equals(Object) - Method in class com.github.mjeanroy.dbunit.core.sql.SqlScriptParserConfiguration
- error(String) - Method in interface com.github.mjeanroy.dbunit.loggers.Logger
-
Log message with ERROR level.
- error(String, Object) - Method in interface com.github.mjeanroy.dbunit.loggers.Logger
-
Log message with ERROR level.
- error(String, Object...) - Method in interface com.github.mjeanroy.dbunit.loggers.Logger
-
Log message with ERROR level.
- error(String, Object, Object) - Method in interface com.github.mjeanroy.dbunit.loggers.Logger
-
Log message with ERROR level.
- error(String, Throwable) - Method in interface com.github.mjeanroy.dbunit.loggers.Logger
-
Log an exception (throwable) at the ERROR level with an accompanying message.
- Example - Section in com.github.mjeanroy.dbunit.core.dataset.DataSetBuilder.rowFromObject(Object)
- Exceptions - Class in com.github.mjeanroy.dbunit.commons.lang
-
Static Exception Utilities.
- executeQueries(Connection, Collection) - Static method in class com.github.mjeanroy.dbunit.commons.jdbc.JdbcUtils
-
Execute SQL Queries in a batch statement.
- executeQuery(Connection, String) - Static method in class com.github.mjeanroy.dbunit.commons.jdbc.JdbcUtils
-
Execute SQL Query and returns result.
- executeQuery(Connection, String, ResultSetMapFunction) - Static method in class com.github.mjeanroy.dbunit.commons.jdbc.JdbcUtils
-
Execute SQL Query and returns mapped result.
- executeScript(Connection, Resource, SqlScriptParserConfiguration) - Static method in class com.github.mjeanroy.dbunit.core.sql.SqlScriptParser
-
Parse SQL scripts file and execute queries one by one (if a query failed, next queries are not executed).
- executeScript(Connection, InputStream, SqlScriptParserConfiguration) - Static method in class com.github.mjeanroy.dbunit.core.sql.SqlScriptParser
-
Parse SQL scripts and execute queries one by one (if a query failed, next queries are not executed).
- executeScript(Connection, String, SqlScriptParserConfiguration) - Static method in class com.github.mjeanroy.dbunit.core.sql.SqlScriptParser
-
Parse SQL scripts file and execute queries one by one (if a query failed, next queries are not executed).
- exists() - Method in interface com.github.mjeanroy.dbunit.core.resources.Resource
-
Check if this resource actually exists in physical form.
- extractExtension(String) - Static method in class com.github.mjeanroy.dbunit.commons.io.Files
-
Get file extension.
- extractFilename(String) - Static method in class com.github.mjeanroy.dbunit.commons.io.Files
-
Get the filename of a full path.
- extractMembers(Object) - Static method in class com.github.mjeanroy.dbunit.commons.reflection.Reflections
-
Extracts all declared field values from the given object instance, including fields inherited from superclasses (up to but excluding
Object). - extractPaths(String) - Static method in class com.github.mjeanroy.dbunit.commons.io.Files
-
Extract all parts of a given path.
F
- Failure Behavior - Section in class com.github.mjeanroy.dbunit.json.JsonsFactory
- Failure Behavior - Section in class com.github.mjeanroy.dbunit.yaml.YamlsFactory
- fetchSize() - Element in annotation type com.github.mjeanroy.dbunit.core.annotations.DbUnitConfig
-
Integer object giving the statement fetch size for loading data into a result set table.
- FieldAccessException - Exception Class in com.github.mjeanroy.dbunit.exception
-
Exception thrown when a field cannot be accessed.
- FieldAccessException(Exception) - Constructor for exception class com.github.mjeanroy.dbunit.exception.FieldAccessException
-
Create the exception.
- FILE_SYSTEM - Enum constant in enum com.github.mjeanroy.dbunit.core.resources.ResourceLoader
-
Load file from file system.
- Files - Class in com.github.mjeanroy.dbunit.commons.io
-
Static Files Utilities.
- find(String) - Static method in enum com.github.mjeanroy.dbunit.core.resources.ResourceLoader
-
Find loader according to given file pattern.
- findAnnotation(Class, Class) - Static method in class com.github.mjeanroy.dbunit.commons.reflection.Annotations
-
Find expected annotation on class, or a class in the hierarchy.
- findAnnotation(Class, Method, Class) - Static method in class com.github.mjeanroy.dbunit.commons.reflection.Annotations
-
Find expected annotation on: Method if annotation is defined. Class if annotation is defined.
- findAnnotation(Method, Class) - Static method in class com.github.mjeanroy.dbunit.commons.reflection.Annotations
-
Find expected annotation on method, if annotation is defined.
- findAnnotations(Class, Class) - Static method in class com.github.mjeanroy.dbunit.commons.reflection.Annotations
-
Find expected annotation on class, or a class in the hierarchy.
- findAnnotations(Method, Class) - Static method in class com.github.mjeanroy.dbunit.commons.reflection.Annotations
-
Find expected annotation on method.
- firstNonNull(T, T) - Static method in class com.github.mjeanroy.dbunit.commons.lang.Objects
-
Get first non
nullvalue: Ifo1is notnull, it is returned. Otherwise, returno2. - fkManagers() - Element in annotation type com.github.mjeanroy.dbunit.core.annotations.DbUnitConfig
-
List of foreign key manager that can be used to: Disable foreign keys before setup/teardown operations. Re-enable foreign keys after setup/teardown operations.
G
- generateDropForeignKeyQueries(OracleForeignKeyManager.ForeignKey) - Method in class com.github.mjeanroy.dbunit.core.jdbc.OracleForeignKeyManager
- generateUniqueName() - Element in annotation type com.github.mjeanroy.dbunit.integration.spring.EmbeddedDatabaseConfiguration
-
Specify whether a unique identifier should be generated and used as the database name.
- get() - Method in interface com.github.mjeanroy.dbunit.core.dataset.DataSetProvider
-
Returns a DbUnit
IDataSetto be used by the test framework. - getBigDecimal() - Method in class com.github.mjeanroy.dbunit.core.dataset.DataSetBuilderRowValue
-
Get
BigDecimalvalue. - getBigDecimal(String) - Method in class com.github.mjeanroy.dbunit.core.dataset.DataSetBuilderRow
-
Returns the
BigDecimalvalue associated with the specified column. - getBigInteger() - Method in class com.github.mjeanroy.dbunit.core.dataset.DataSetBuilderRowValue
-
Get
BigIntegervalue. - getBigInteger(String) - Method in class com.github.mjeanroy.dbunit.core.dataset.DataSetBuilderRow
-
Returns the
BigIntegervalue associated with the specified column. - getBoolean() - Method in class com.github.mjeanroy.dbunit.core.dataset.DataSetBuilderRowValue
-
Get
Booleanvalue. - getBoolean(String) - Method in class com.github.mjeanroy.dbunit.core.dataset.DataSetBuilderRow
-
Returns the
Booleanvalue associated with the specified column. - getColumnName() - Method in class com.github.mjeanroy.dbunit.core.dataset.DataSetBuilderRowValue
-
Returns the column name.
- getColumnNames() - Method in class com.github.mjeanroy.dbunit.core.dataset.DataSetBuilderRow
-
Get all column names in this row.
- getConnection() - Method in class com.github.mjeanroy.dbunit.core.jdbc.AbstractJdbcConnectionFactory
- getConnection() - Method in interface com.github.mjeanroy.dbunit.core.jdbc.JdbcConnectionFactory
-
Create new instance of
Connection. - getConnection() - Method in class com.github.mjeanroy.dbunit.core.runner.DbUnitRunner
-
Get JDBC Connection to the target database.
- getConnection() - Method in class com.github.mjeanroy.dbunit.integration.spring.junit4.DbUnitEmbeddedDatabaseRule
-
Return new database connection, may return
nullif the database has not been initialized yet. - getDate() - Method in class com.github.mjeanroy.dbunit.core.dataset.DataSetBuilderRowValue
-
Get
Datevalue. - getDate(String) - Method in class com.github.mjeanroy.dbunit.core.dataset.DataSetBuilderRow
-
Returns the
Datevalue associated with the specified column. - getDb() - Method in class com.github.mjeanroy.dbunit.integration.spring.EmbeddedDatabaseRunner
-
Gets currently created database instance.
- getDb() - Method in class com.github.mjeanroy.dbunit.integration.spring.junit4.DbUnitEmbeddedDatabaseRule
-
Get embedded database, may return
nullif the database has not been initialized yet. - getDb() - Method in class com.github.mjeanroy.dbunit.integration.spring.junit4.EmbeddedDatabaseRule
-
Gets currently created database instance.
- getDelimiter() - Method in class com.github.mjeanroy.dbunit.core.sql.SqlScriptParserConfiguration
-
Gets
SqlScriptParserConfiguration.delimiter. - getDouble() - Method in class com.github.mjeanroy.dbunit.core.dataset.DataSetBuilderRowValue
-
Get
Doublevalue. - getDouble(String) - Method in class com.github.mjeanroy.dbunit.core.dataset.DataSetBuilderRow
-
Returns the
Doublevalue associated with the specified column. - getDriver() - Method in class com.github.mjeanroy.dbunit.core.jdbc.JdbcConfiguration
-
Get
JdbcConfiguration.driver - getEndBlockComment() - Method in class com.github.mjeanroy.dbunit.core.sql.SqlScriptParserConfiguration
-
Gets
SqlScriptParserConfiguration.endBlockComment. - getFactory() - Method in class com.github.mjeanroy.dbunit.core.runner.DbUnitRunner
-
Get
DbUnitRunner.factory - getFieldValueSafely(Object, Field) - Static method in class com.github.mjeanroy.dbunit.commons.reflection.Reflections
-
Get value of given instance field, temporarily switching to an accessible field to get the value.
- getFilename() - Method in interface com.github.mjeanroy.dbunit.core.resources.Resource
-
Returns the filename of the resource.
- getFloat() - Method in class com.github.mjeanroy.dbunit.core.dataset.DataSetBuilderRowValue
-
Get
Floatvalue. - getFloat(String) - Method in class com.github.mjeanroy.dbunit.core.dataset.DataSetBuilderRow
-
Returns the
Floatvalue associated with the specified column. - getInteger() - Method in class com.github.mjeanroy.dbunit.core.dataset.DataSetBuilderRowValue
-
Get
Integervalue. - getInteger(String) - Method in class com.github.mjeanroy.dbunit.core.dataset.DataSetBuilderRow
-
Returns the
Integervalue associated with the specified column. - getKlass() - Method in exception class com.github.mjeanroy.dbunit.exception.ClassInstantiationException
-
Class that cannot be instantiated.
- getLineComment() - Method in class com.github.mjeanroy.dbunit.core.sql.SqlScriptParserConfiguration
-
Gets
SqlScriptParserConfiguration.lineComment. - getLocalDate() - Method in class com.github.mjeanroy.dbunit.core.dataset.DataSetBuilderRowValue
-
Get
LocalDatevalue. - getLocalDate(String) - Method in class com.github.mjeanroy.dbunit.core.dataset.DataSetBuilderRow
-
Returns the
LocalDatevalue associated with the specified column. - getLocalDateTime() - Method in class com.github.mjeanroy.dbunit.core.dataset.DataSetBuilderRowValue
-
Get
LocalDateTimevalue. - getLocalDateTime(String) - Method in class com.github.mjeanroy.dbunit.core.dataset.DataSetBuilderRow
-
Returns the
LocalDateTimevalue associated with the specified column. - getLogger(Class) - Method in interface com.github.mjeanroy.dbunit.loggers.LoggerProvider
-
Create the logger.
- getLogger(Class) - Static method in class com.github.mjeanroy.dbunit.loggers.Loggers
-
Create logger.
- getLong() - Method in class com.github.mjeanroy.dbunit.core.dataset.DataSetBuilderRowValue
-
Get
Longvalue. - getLong(String) - Method in class com.github.mjeanroy.dbunit.core.dataset.DataSetBuilderRow
-
Returns the
Longvalue associated with the specified column. - getOffsetDateTime() - Method in class com.github.mjeanroy.dbunit.core.dataset.DataSetBuilderRowValue
-
Get
OffsetDateTimevalue. - getOffsetDateTime(String) - Method in class com.github.mjeanroy.dbunit.core.dataset.DataSetBuilderRow
-
Returns the
OffsetDateTimevalue associated with the specified column. - getOperation() - Method in enum com.github.mjeanroy.dbunit.core.operation.DbUnitOperation
-
Get DBUnit
DatabaseOperationto execute. - getPassword() - Method in class com.github.mjeanroy.dbunit.core.jdbc.JdbcConfiguration
-
Gets
JdbcConfiguration.password. - getPath() - Method in interface com.github.mjeanroy.dbunit.core.resources.Resource
-
Get full path of resource.
- getPath() - Method in exception class com.github.mjeanroy.dbunit.exception.ResourceException
-
The resource path causing exception.
- getReplacements() - Method in class com.github.mjeanroy.dbunit.core.replacement.Replacements
-
Get the list of all replacement objects.
- getResource() - Method in class com.github.mjeanroy.dbunit.core.dataset.JsonDataSet
-
Gets resource.
- getResource() - Method in class com.github.mjeanroy.dbunit.core.dataset.YamlDataSet
-
Gets resource.
- getResource() - Method in class com.github.mjeanroy.dbunit.core.dataset.DirectoryDataSet
-
Get
DirectoryDataSet.resource. - getRow(int) - Method in class com.github.mjeanroy.dbunit.core.dataset.DataSetBuilderTable
-
Returns the row at the specified index.
- getRow(Predicate) - Method in class com.github.mjeanroy.dbunit.core.dataset.DataSetBuilderTable
-
Finds the first row matching the given predicate.
- getRows() - Method in class com.github.mjeanroy.dbunit.core.dataset.DataSetBuilderTable
-
Returns an unmodifiable list of all rows.
- getShort() - Method in class com.github.mjeanroy.dbunit.core.dataset.DataSetBuilderRowValue
-
Get
Shortvalue. - getShort(String) - Method in class com.github.mjeanroy.dbunit.core.dataset.DataSetBuilderRow
-
Returns the
Shortvalue associated with the specified column. - getStartBlockComment() - Method in class com.github.mjeanroy.dbunit.core.sql.SqlScriptParserConfiguration
-
Gets
SqlScriptParserConfiguration.startBlockComment. - getString() - Method in class com.github.mjeanroy.dbunit.core.dataset.DataSetBuilderRowValue
-
Get
Stringvalue. - getString(String) - Method in class com.github.mjeanroy.dbunit.core.dataset.DataSetBuilderRow
-
Returns the
Stringvalue associated with the specified column. - getTable(String) - Method in class com.github.mjeanroy.dbunit.core.dataset.DirectoryDataSet
- getTableMetaData(String) - Method in class com.github.mjeanroy.dbunit.core.dataset.DirectoryDataSet
- getTableName() - Method in class com.github.mjeanroy.dbunit.core.dataset.DataSetBuilderTable
-
Returns the logical table name.
- getTableNames() - Method in class com.github.mjeanroy.dbunit.core.dataset.DirectoryDataSet
- getTables() - Method in class com.github.mjeanroy.dbunit.core.dataset.DirectoryDataSet
- getTestRules(Object) - Method in class com.github.mjeanroy.dbunit.integration.junit4.DbUnitJunitRunner
- getUrl() - Method in class com.github.mjeanroy.dbunit.core.jdbc.JdbcConfiguration
-
Gets
JdbcConfiguration.url. - getUser() - Method in class com.github.mjeanroy.dbunit.core.jdbc.JdbcConfiguration
-
Gets
JdbcConfiguration.user. - getUUID() - Method in class com.github.mjeanroy.dbunit.core.dataset.DataSetBuilderRowValue
-
Get
UUIDvalue. - getUUID(String) - Method in class com.github.mjeanroy.dbunit.core.dataset.DataSetBuilderRow
-
Returns the
UUIDvalue associated with the specified column. - getValue() - Method in class com.github.mjeanroy.dbunit.core.dataset.DataSetBuilderRowValue
-
Returns the stored value for this column.
- getZonedDateTime() - Method in class com.github.mjeanroy.dbunit.core.dataset.DataSetBuilderRowValue
-
Get
ZonedDateTimevalue. - getZonedDateTime(String) - Method in class com.github.mjeanroy.dbunit.core.dataset.DataSetBuilderRow
-
Returns the
ZonedDateTimevalue associated with the specified column.
H
- H2ForeignKeyManager - Class in com.github.mjeanroy.dbunit.core.jdbc
-
Implementation of
JdbcForeignKeyManagerfor H2 DBMS. - H2ForeignKeyManager() - Constructor for class com.github.mjeanroy.dbunit.core.jdbc.H2ForeignKeyManager
-
Create FK Manager.
- hashCode() - Method in class com.github.mjeanroy.dbunit.core.configuration.DbUnitAllowEmptyFieldsInterceptor
- hashCode() - Method in class com.github.mjeanroy.dbunit.core.configuration.DbUnitBatchedStatementsInterceptor
- hashCode() - Method in class com.github.mjeanroy.dbunit.core.configuration.DbUnitBatchSizeInterceptor
- hashCode() - Method in class com.github.mjeanroy.dbunit.core.configuration.DbUnitCaseSensitiveTableNamesInterceptor
- hashCode() - Method in class com.github.mjeanroy.dbunit.core.configuration.DbUnitDatatypeWarningInterceptor
- hashCode() - Method in class com.github.mjeanroy.dbunit.core.configuration.DbUnitFetchSizeInterceptor
- hashCode() - Method in class com.github.mjeanroy.dbunit.core.configuration.DbUnitMetadataHandlerInterceptor
- hashCode() - Method in class com.github.mjeanroy.dbunit.core.configuration.DbUnitQualifiedTableNamesInterceptor
- hashCode() - Method in class com.github.mjeanroy.dbunit.core.configuration.DbUnitDatatypeFactoryInterceptor
- hashCode() - Method in class com.github.mjeanroy.dbunit.core.dataset.DataSetBuilderRow
- hashCode() - Method in class com.github.mjeanroy.dbunit.core.dataset.DataSetBuilderRowValue
- hashCode() - Method in class com.github.mjeanroy.dbunit.core.dataset.DataSetBuilderTable
- hashCode() - Method in class com.github.mjeanroy.dbunit.core.jdbc.JdbcConfiguration
- hashCode() - Method in class com.github.mjeanroy.dbunit.core.jdbc.JdbcDataSourceConnectionFactory
- hashCode() - Method in class com.github.mjeanroy.dbunit.core.jdbc.JdbcDefaultConnectionFactory
- hashCode() - Method in class com.github.mjeanroy.dbunit.core.replacement.Replacements
- hashCode() - Method in class com.github.mjeanroy.dbunit.core.sql.SqlScriptParserConfiguration
- HsqldbForeignKeyManager - Class in com.github.mjeanroy.dbunit.core.jdbc
-
Implementation of
JdbcForeignKeyManagerfor HSQLDB DBMS. - HsqldbForeignKeyManager() - Constructor for class com.github.mjeanroy.dbunit.core.jdbc.HsqldbForeignKeyManager
-
Create FK Manager.
I
- ignoreFailedDrops() - Element in annotation type com.github.mjeanroy.dbunit.integration.spring.EmbeddedDatabaseConfiguration
-
Specify that a failed SQL
DROPstatement within an executed scripts can be ignored. - Important - Section in class com.github.mjeanroy.dbunit.commons.lang.SPI
- info(String) - Method in interface com.github.mjeanroy.dbunit.loggers.Logger
-
Log message with INFO level.
- info(String, Object) - Method in interface com.github.mjeanroy.dbunit.loggers.Logger
-
Log message with INFO level.
- info(String, Object...) - Method in interface com.github.mjeanroy.dbunit.loggers.Logger
-
Log message with INFO level.
- info(String, Object, Object) - Method in interface com.github.mjeanroy.dbunit.loggers.Logger
-
Log message with INFO level.
- InformationSchemaForeignKeyManager - Class in com.github.mjeanroy.dbunit.core.jdbc
-
Implementation of
JdbcForeignKeyManagerfor database implementing the standardINFORMATION_SCHEMAsystem used to introspect database. - InformationSchemaForeignKeyManager() - Constructor for class com.github.mjeanroy.dbunit.core.jdbc.InformationSchemaForeignKeyManager
-
Create FK Manager.
- inherit() - Element in annotation type com.github.mjeanroy.dbunit.core.annotations.DbUnitDataSet
-
Indicates whether datasets defined on parent scopes (package or class) should be merged with those declared on the current element.
- inherit() - Element in annotation type com.github.mjeanroy.dbunit.core.annotations.DbUnitReplacements
-
A flag indicating if given annotation should be merged with "parent" annotations.
- INSERT - Enum constant in enum com.github.mjeanroy.dbunit.core.operation.DbUnitOperation
-
Inserts the dataset contents into the database.
- instantiate(Class, Object...) - Static method in class com.github.mjeanroy.dbunit.commons.reflection.ClassUtils
-
Create new instance of given class using default empty constructor.
- instantiate(String, Object...) - Static method in class com.github.mjeanroy.dbunit.commons.reflection.ClassUtils
-
Instantiate class using full qualified class name.
- instantiationException(Class, Exception) - Static method in exception class com.github.mjeanroy.dbunit.exception.ClassInstantiationException
-
Create exception with given original cause.
- instantiationException(Exception) - Static method in exception class com.github.mjeanroy.dbunit.exception.ClassInstantiationException
-
Create exception with given original cause.
- invalidJarException(String) - Static method in exception class com.github.mjeanroy.dbunit.exception.ResourceNotValidException
-
Create exception for invalid JAR error.
- Io - Class in com.github.mjeanroy.dbunit.commons.io
-
Static IO Utilities.
- isBlank(String) - Static method in class com.github.mjeanroy.dbunit.commons.lang.Strings
-
Check if string is blank (i.e not
null, empty or contains only whitespace characters). - isCaseSensitiveTableNames() - Method in class com.github.mjeanroy.dbunit.core.dataset.DirectoryDataSet
- isDirectory() - Method in interface com.github.mjeanroy.dbunit.core.resources.Resource
-
Check if this resource is a directory.
- isEmpty(String) - Static method in class com.github.mjeanroy.dbunit.commons.lang.Strings
-
Check if string is empty (i.e
nullor an empty string). - isNotEmpty(String) - Static method in class com.github.mjeanroy.dbunit.commons.lang.Strings
-
Check if string is not empty (i.e not
nulland contains characters). - isPresent(String) - Static method in class com.github.mjeanroy.dbunit.commons.reflection.ClassUtils
-
Check if a given class is available on classpath.
- isPresent(String, String, String...) - Static method in class com.github.mjeanroy.dbunit.commons.reflection.ClassUtils
-
Check if given classes are available on classpath.
- isRootPath(String) - Static method in class com.github.mjeanroy.dbunit.commons.io.Files
-
Check if a
pathis exactly the root path. - iterator() - Method in class com.github.mjeanroy.dbunit.core.dataset.DirectoryDataSet
J
- JdbcConfiguration - Class in com.github.mjeanroy.dbunit.core.jdbc
-
JDBC Configuration, defined by: URL Connection. User. Password.
- JdbcConnectionFactory - Interface in com.github.mjeanroy.dbunit.core.jdbc
-
Factory that should create instance of
Connection. - JdbcDataSourceConnectionFactory - Class in com.github.mjeanroy.dbunit.core.jdbc
- JdbcDataSourceConnectionFactory(DataSource) - Constructor for class com.github.mjeanroy.dbunit.core.jdbc.JdbcDataSourceConnectionFactory
-
Create new factory.
- JdbcDefaultConnectionFactory - Class in com.github.mjeanroy.dbunit.core.jdbc
- JdbcDefaultConnectionFactory(JdbcConfiguration) - Constructor for class com.github.mjeanroy.dbunit.core.jdbc.JdbcDefaultConnectionFactory
-
Create new factory.
- JdbcException - Exception Class in com.github.mjeanroy.dbunit.exception
-
Wrap external SQL exception.
- JdbcException(Exception) - Constructor for exception class com.github.mjeanroy.dbunit.exception.JdbcException
-
Wrap exception.
- JdbcException(String) - Constructor for exception class com.github.mjeanroy.dbunit.exception.JdbcException
-
Wrap
SQLException. - JdbcException(String, Exception) - Constructor for exception class com.github.mjeanroy.dbunit.exception.JdbcException
-
Wrap
Exception. - JdbcForeignKeyManager - Interface in com.github.mjeanroy.dbunit.core.jdbc
-
A foreign key manager is a (stateful) manager that can be used to Disable foreign keys. Re-enable foreign keys. Note that disabling/enabling foreign keys should always be executed in the following order: First, foreign key constraints are disabled, ie {
JdbcForeignKeyManager.disable(Connection)is called. First, foreign key constraints are re-enabled, ie {JdbcForeignKeyManager.enable(Connection)is called. Executing `enable` before `disable` (i.e in the wrong order) does not give any guarantee. - JdbcUtils - Class in com.github.mjeanroy.dbunit.commons.jdbc
-
Static JDBC Utilities, should only be used internally.
- jsonColumn(String, Object) - Static method in class com.github.mjeanroy.dbunit.core.dataset.DataSetBuilder
-
Creates a new immutable
DataSetBuilderRowValuerepresenting a single column and its value serialized as JSON. - JsonDataSet - Class in com.github.mjeanroy.dbunit.core.dataset
-
Implementation of
IDataSetwith JSON file as input. - JsonDataSetBuilder - Class in com.github.mjeanroy.dbunit.core.dataset
-
Builder for
JsonDataSetinstances. - JsonDataSetBuilder() - Constructor for class com.github.mjeanroy.dbunit.core.dataset.JsonDataSetBuilder
-
Create builder.
- JsonDataSetBuilder(Resource) - Constructor for class com.github.mjeanroy.dbunit.core.dataset.JsonDataSetBuilder
-
Create builder with JSON resource.
- JsonDatasetParser - Class in com.github.mjeanroy.dbunit.core.parsers
-
DatasetParserimplementation that parses datasets from JSON input. - JsonDatasetParser(JsonParser) - Constructor for class com.github.mjeanroy.dbunit.core.parsers.JsonDatasetParser
-
Create a new JSON dataset parser.
- JsonException - Exception Class in com.github.mjeanroy.dbunit.exception
-
Wrap external JSON parsing exception.
- JsonException(Exception) - Constructor for exception class com.github.mjeanroy.dbunit.exception.JsonException
-
Wrap
Exception. - JsonParser - Interface in com.github.mjeanroy.dbunit.json
-
Parse JSON input and return
Map. - JsonSerializer - Interface in com.github.mjeanroy.dbunit.json
-
Contract for JSON serializers that convert Java objects into their JSON string representation.
- JsonsFactory - Class in com.github.mjeanroy.dbunit.json
-
Factory used to create default
JsonParserandJsonSerializerimplementations.
L
- launderThrowable(Throwable) - Static method in class com.github.mjeanroy.dbunit.commons.lang.Exceptions
-
Coerce an unchecked Throwable to a
RuntimeExceptionIf the Throwable is anError, throw it; if it is aRuntimeExceptionreturn it, otherwise throwIllegalStateException. - LiquibaseUpdater - Class in com.github.mjeanroy.dbunit.integration.liquibase
-
Run liquibase change sets against SQL connection.
- LiquibaseUpdater(String, JdbcConnectionFactory) - Constructor for class com.github.mjeanroy.dbunit.integration.liquibase.LiquibaseUpdater
-
Create updater.
- LiquibaseUpdaterException - Exception Class in com.github.mjeanroy.dbunit.integration.liquibase
-
Exception thrown if an error occurred during the liquibase update operation.
- listResources() - Method in interface com.github.mjeanroy.dbunit.core.resources.Resource
-
Get all sub-resources: if the resource is not a directory, then this method should returns an empty list.
- load(Class) - Static method in class com.github.mjeanroy.dbunit.commons.lang.SPI
-
Load all available implementations of the given service type.
- load(String) - Method in enum com.github.mjeanroy.dbunit.core.resources.ResourceLoader
-
Load given file path.
- load(K) - Method in interface com.github.mjeanroy.dbunit.cache.Cache
-
Get entry in cache.
- load(K) - Method in interface com.github.mjeanroy.dbunit.cache.CacheLoader
-
Compute value to store in a cache.
- loadDriver(String) - Static method in class com.github.mjeanroy.dbunit.commons.jdbc.JdbcUtils
-
Load JDBC Driver.
- loadFirst(Class) - Static method in class com.github.mjeanroy.dbunit.commons.lang.SPI
-
Load the first available implementation of the given service type.
- Logger - Interface in com.github.mjeanroy.dbunit.loggers
-
Logger contract.
- LoggerProvider - Interface in com.github.mjeanroy.dbunit.loggers
-
A logger provider, used to create loggers based on a given logger name.
- Loggers - Class in com.github.mjeanroy.dbunit.loggers
-
Logger factory.
M
- MariaDBForeignKeyManager - Class in com.github.mjeanroy.dbunit.core.jdbc
-
Implementation of
JdbcForeignKeyManagerfor MariaDB DBMS. - MariaDBForeignKeyManager() - Constructor for class com.github.mjeanroy.dbunit.core.jdbc.MariaDBForeignKeyManager
-
Create FK Manager.
- mergeDataSet(IDataSet, IDataSet, IDataSet...) - Static method in class com.github.mjeanroy.dbunit.core.dataset.DataSetFactory
-
Create data set from collection of file path.
- metadataHandler() - Element in annotation type com.github.mjeanroy.dbunit.core.annotations.DbUnitConfig
-
Used to configure the handler used to control database metadata related methods.
- missingConstructor(Class) - Static method in exception class com.github.mjeanroy.dbunit.exception.ClassInstantiationException
-
Create exception with a message saying that the empty public constructor is missing on given class.
- MsSQLForeignKeyManager - Class in com.github.mjeanroy.dbunit.core.jdbc
-
Implementation of
JdbcForeignKeyManagerfor Microsoft SQL DBMS. - MsSQLForeignKeyManager() - Constructor for class com.github.mjeanroy.dbunit.core.jdbc.MsSQLForeignKeyManager
-
Create FK Manager.
- MySqlExtendedDatatypeFactory - Class in com.github.mjeanroy.dbunit.core.ext
-
Extension of
MySqlDataTypeFactorywhereBITMySQL type are handled asDataType.BITinstead ofDataType.TINYINT. - MySqlExtendedDatatypeFactory() - Constructor for class com.github.mjeanroy.dbunit.core.ext.MySqlExtendedDatatypeFactory
-
Create factory.
- MySQLForeignKeyManager - Class in com.github.mjeanroy.dbunit.core.jdbc
-
Implementation of
JdbcForeignKeyManagerfor MySQL DBMS. - MySQLForeignKeyManager() - Constructor for class com.github.mjeanroy.dbunit.core.jdbc.MySQLForeignKeyManager
-
Create FK Manager.
N
- newCache(CacheLoader) - Static method in class com.github.mjeanroy.dbunit.cache.CacheFactory
-
Create new cache.
- newJdbcConfiguration(String, String, String) - Static method in class com.github.mjeanroy.dbunit.core.jdbc.JdbcConfiguration
-
Create JDBC Configuration object.
- newJdbcConfiguration(String, String, String, String) - Static method in class com.github.mjeanroy.dbunit.core.jdbc.JdbcConfiguration
-
Create JDBC Configuration object.
- NONE - Enum constant in enum com.github.mjeanroy.dbunit.core.operation.DbUnitOperation
-
No Op.
- notBlank(char, String, Object...) - Static method in class com.github.mjeanroy.dbunit.commons.lang.PreConditions
-
Ensure that given
valueis not blank. - notBlank(String, String, Object...) - Static method in class com.github.mjeanroy.dbunit.commons.lang.PreConditions
-
Ensure that given
valueis notnull, empty or blank. - notEmpty(String, String, Object...) - Static method in class com.github.mjeanroy.dbunit.commons.lang.PreConditions
-
Ensure that given
valueis notnull, empty. - notNull(T, String, Object...) - Static method in class com.github.mjeanroy.dbunit.commons.lang.PreConditions
-
Ensure that given
valueis notnull. - NowValueReplacementsProvider - Class in com.github.mjeanroy.dbunit.core.replacement
-
A
ReplacementsProviderthat will map following valuesto the current date (i.enew Date()):NOW()now() - NowValueReplacementsProvider() - Constructor for class com.github.mjeanroy.dbunit.core.replacement.NowValueReplacementsProvider
-
Create provider.
- NullValueReplacementsProvider - Class in com.github.mjeanroy.dbunit.core.replacement
- NullValueReplacementsProvider() - Constructor for class com.github.mjeanroy.dbunit.core.replacement.NullValueReplacementsProvider
-
Create provider.
O
- Objects - Class in com.github.mjeanroy.dbunit.commons.lang
-
Static Objects Utilities.
- openStream() - Method in interface com.github.mjeanroy.dbunit.core.resources.Resource
-
Open an
InputStream. - OracleForeignKeyManager - Class in com.github.mjeanroy.dbunit.core.jdbc
-
Implementation of
JdbcForeignKeyManagerfor Oracle DBMS. - OracleForeignKeyManager() - Constructor for class com.github.mjeanroy.dbunit.core.jdbc.OracleForeignKeyManager
-
Create FK Manager.
P
- parse(Resource) - Method in class com.github.mjeanroy.dbunit.core.parsers.JsonDatasetParser
- parse(Resource) - Method in class com.github.mjeanroy.dbunit.core.parsers.YamlDatasetParser
- parse(Resource) - Method in interface com.github.mjeanroy.dbunit.core.parsers.DatasetParser
-
Read File and return representation.
- parseScript(Resource, SqlScriptParserConfiguration) - Static method in class com.github.mjeanroy.dbunit.core.sql.SqlScriptParser
-
Parse SQL scripts file and return list of SQL query.
- parseScript(InputStream, SqlScriptParserConfiguration) - Static method in class com.github.mjeanroy.dbunit.core.sql.SqlScriptParser
-
Parse SQL scripts and return list of SQL query.
- parseScript(String, SqlScriptParserConfiguration) - Static method in class com.github.mjeanroy.dbunit.core.sql.SqlScriptParser
-
Parse SQL scripts and return list of SQL query.
- password() - Element in annotation type com.github.mjeanroy.dbunit.core.annotations.DbUnitConnection
-
Get JDBC password.
- PostgresForeignKeyManager - Class in com.github.mjeanroy.dbunit.core.jdbc
-
Implementation of
JdbcForeignKeyManagerfor Postgres DBMS. - PostgresForeignKeyManager() - Constructor for class com.github.mjeanroy.dbunit.core.jdbc.PostgresForeignKeyManager
-
Create FK Manager.
- PostgresqlExtendedDatatypeFactory - Class in com.github.mjeanroy.dbunit.core.ext
-
Extended
PostgresqlDataTypeFactorythat provides custom handling for PostgreSQL string-like types such asjson,jsonb, andvarchar. - PostgresqlExtendedDatatypeFactory() - Constructor for class com.github.mjeanroy.dbunit.core.ext.PostgresqlExtendedDatatypeFactory
-
Create factory.
- PreConditions - Class in com.github.mjeanroy.dbunit.commons.lang
-
Static PreConditions Utilities.
- prepareTestInstance(TestContext) - Method in class com.github.mjeanroy.dbunit.integration.spring.TransactionalDbUnitTestExecutionListener
- prepareTestInstance(TestContext) - Method in class com.github.mjeanroy.dbunit.integration.spring.DbUnitTestExecutionListener
- providers() - Element in annotation type com.github.mjeanroy.dbunit.core.annotations.DbUnitDataSet
-
Optional programmatic dataset providers.
- providers() - Element in annotation type com.github.mjeanroy.dbunit.core.annotations.DbUnitReplacements
-
The list of providers to use.
- put(String) - Method in class com.github.mjeanroy.dbunit.core.replacement.Replacements.Builder
-
Add new replacement with
nullfor givenkey(alias forReplacements.Builder.addReplacement(String)). - put(String, boolean) - Method in class com.github.mjeanroy.dbunit.core.replacement.Replacements.Builder
-
Add new replacement
valuefor givenkey(alias forReplacements.Builder.addReplacement(String, boolean)). - put(String, byte) - Method in class com.github.mjeanroy.dbunit.core.replacement.Replacements.Builder
-
Add new replacement
valuefor givenkey(alias forReplacements.Builder.addReplacement(String, byte)). - put(String, char) - Method in class com.github.mjeanroy.dbunit.core.replacement.Replacements.Builder
-
Add new replacement
valuefor givenkey(alias forReplacements.Builder.addReplacement(String, char)). - put(String, double) - Method in class com.github.mjeanroy.dbunit.core.replacement.Replacements.Builder
-
Add new replacement
valuefor givenkey(alias forReplacements.Builder.addReplacement(String, double)). - put(String, float) - Method in class com.github.mjeanroy.dbunit.core.replacement.Replacements.Builder
-
Add new replacement
valuefor givenkey(alias forReplacements.Builder.addReplacement(String, float)). - put(String, int) - Method in class com.github.mjeanroy.dbunit.core.replacement.Replacements.Builder
-
Add new replacement
valuefor givenkey(alias forReplacements.Builder.addReplacement(String, int)). - put(String, long) - Method in class com.github.mjeanroy.dbunit.core.replacement.Replacements.Builder
-
Add new replacement
valuefor givenkey(alias forReplacements.Builder.addReplacement(String, long)). - put(String, short) - Method in class com.github.mjeanroy.dbunit.core.replacement.Replacements.Builder
-
Add new replacement
valuefor givenkey(alias forReplacements.Builder.addReplacement(String, short)). - put(String, String) - Method in class com.github.mjeanroy.dbunit.core.replacement.Replacements.Builder
-
Add new replacement
valuefor givenkey(alias forReplacements.Builder.addReplacement(String, String)). - put(String, BigDecimal) - Method in class com.github.mjeanroy.dbunit.core.replacement.Replacements.Builder
-
Add new replacement
valuefor givenkey(alias forReplacements.Builder.addReplacement(String, BigDecimal)). - put(String, BigInteger) - Method in class com.github.mjeanroy.dbunit.core.replacement.Replacements.Builder
-
Add new replacement
valuefor givenkey(alias forReplacements.Builder.addReplacement(String, BigInteger)). - put(String, Date) - Method in class com.github.mjeanroy.dbunit.core.replacement.Replacements.Builder
-
Add new replacement
valuefor givenkey(alias forReplacements.Builder.addReplacement(String, Date)).
Q
- qualifiedTableNames() - Element in annotation type com.github.mjeanroy.dbunit.core.annotations.DbUnitConfig
-
Enable or disable multiple schemas support.
R
- ReaderVisitor - Interface in com.github.mjeanroy.dbunit.commons.io
-
Visitor executed when a stream is read line by line.
- readLines(InputStream, ReaderVisitor) - Static method in class com.github.mjeanroy.dbunit.commons.io.Io
-
Read
readerinstance line by line and executevisitorfor each line. - readObject(Reader) - Method in interface com.github.mjeanroy.dbunit.json.JsonParser
-
Read and deserialize JSON content from the given
Reader. - readObject(Reader) - Method in interface com.github.mjeanroy.dbunit.yaml.YamlParser
-
Read and deserialize YAML content from the given
Reader. - Reflections - Class in com.github.mjeanroy.dbunit.commons.reflection
-
Internal reflection utilities used by the dbUnit extension.
- REFRESH - Enum constant in enum com.github.mjeanroy.dbunit.core.operation.DbUnitOperation
-
This operation literally refreshes dataset contents into the database.
- Replacements - Class in com.github.mjeanroy.dbunit.core.replacement
-
Replacement Objects.
- Replacements.Builder - Class in com.github.mjeanroy.dbunit.core.replacement
-
Builder used to create new replacements objects.
- ReplacementsProvider - Interface in com.github.mjeanroy.dbunit.core.replacement
-
Replacements provider, used to create re-usable replacements objects.
- resolveParameter(ParameterContext, ExtensionContext) - Method in class com.github.mjeanroy.dbunit.integration.jupiter.DbUnitExtension
- resolveParameter(ParameterContext, ExtensionContext) - Method in class com.github.mjeanroy.dbunit.integration.spring.jupiter.DbUnitEmbeddedDatabaseExtension
- resolveParameter(ParameterContext, ExtensionContext) - Method in class com.github.mjeanroy.dbunit.integration.spring.jupiter.EmbeddedDatabaseExtension
- Resource - Interface in com.github.mjeanroy.dbunit.core.resources
- ResourceException - Exception Class in com.github.mjeanroy.dbunit.exception
-
Error thrown when an error occurred when dealing with resources.
- ResourceException(String, Exception) - Constructor for exception class com.github.mjeanroy.dbunit.exception.ResourceException
-
Create exception with original cause.
- ResourceLoader - Enum in com.github.mjeanroy.dbunit.core.resources
-
Implementations of strategies to load resources.
- ResourceNotFoundException - Exception Class in com.github.mjeanroy.dbunit.exception
-
Error thrown when resource is not found.
- ResourceNotFoundException(String) - Constructor for exception class com.github.mjeanroy.dbunit.exception.ResourceNotFoundException
-
Create exception with
path. - ResourceNotValidException - Exception Class in com.github.mjeanroy.dbunit.exception
-
Error thrown when resource is not a valid resource.
- ResultSetMapFunction<T> - Interface in com.github.mjeanroy.dbunit.commons.jdbc
-
Functional interface used to map
ResultSetto another data structure. - reverseIterator() - Method in class com.github.mjeanroy.dbunit.core.dataset.DirectoryDataSet
- row(DataSetBuilderRowValue, DataSetBuilderRowValue...) - Static method in class com.github.mjeanroy.dbunit.core.dataset.DataSetBuilder
-
Creates a new
DataSetBuilderRowfrom a first column value plus optional additional ones. - row(Collection) - Static method in class com.github.mjeanroy.dbunit.core.dataset.DataSetBuilder
-
Creates a new immutable
DataSetBuilderRowfrom a collection of column values. - row(Map) - Static method in class com.github.mjeanroy.dbunit.core.dataset.DataSetBuilder
-
Creates a
DataSetBuilderRowfrom a map of column names to values. - rowCount() - Method in class com.github.mjeanroy.dbunit.core.dataset.DataSetBuilderTable
-
Returns the number of rows in this table.
- rowFromObject(Object) - Static method in class com.github.mjeanroy.dbunit.core.dataset.DataSetBuilder
-
Creates a
DataSetBuilderRowby introspecting the members (public and privates) of a given object.
S
- 1. Service Provider Interface (SPI) - Section in class com.github.mjeanroy.dbunit.json.JsonsFactory
- 1. Service Provider Interface (SPI) - Section in class com.github.mjeanroy.dbunit.yaml.YamlsFactory
- schema() - Element in annotation type com.github.mjeanroy.dbunit.core.annotations.DbUnitConfig
-
Schema to use with DBUnit Connection.
- scripts() - Element in annotation type com.github.mjeanroy.dbunit.integration.spring.EmbeddedDatabaseConfiguration
-
Add SQL scripts to execute to initialize or populate the database.
- setCaseSensitiveTableNames(boolean) - Method in class com.github.mjeanroy.dbunit.core.dataset.JsonDataSetBuilder
-
Override default case sensitivity flag.
- setCaseSensitiveTableNames(boolean) - Method in class com.github.mjeanroy.dbunit.core.dataset.YamlDataSetBuilder
-
Override default case sensitivity flag.
- setCaseSensitiveTableNames(boolean) - Method in class com.github.mjeanroy.dbunit.core.dataset.DirectoryDataSetBuilder
-
Override case insensitive parameter.
- setComparator(Comparator) - Method in class com.github.mjeanroy.dbunit.core.dataset.DirectoryDataSetBuilder
-
Override default comparator.
- setDelimiter(char) - Method in class com.github.mjeanroy.dbunit.core.sql.SqlScriptParserConfiguration.Builder
-
Override default SQL delimiter.
- setDirectory(Resource) - Method in class com.github.mjeanroy.dbunit.core.dataset.DirectoryDataSetBuilder
-
Override directory path.
- setEndBlockComment(String) - Method in class com.github.mjeanroy.dbunit.core.sql.SqlScriptParserConfiguration.Builder
-
Override default pattern to detect end of an SQL block comment.
- setJsonFile(Resource) - Method in class com.github.mjeanroy.dbunit.core.dataset.JsonDataSetBuilder
-
Initialize JSON resource.
- setLineComment(String) - Method in class com.github.mjeanroy.dbunit.core.sql.SqlScriptParserConfiguration.Builder
-
Override default pattern to detect start of an SQL line comment.
- setParser(JsonDatasetParser) - Method in class com.github.mjeanroy.dbunit.core.dataset.JsonDataSetBuilder
-
Override default parser.
- setParser(YamlDatasetParser) - Method in class com.github.mjeanroy.dbunit.core.dataset.YamlDataSetBuilder
-
Override default parser.
- setResource(Resource) - Method in class com.github.mjeanroy.dbunit.core.dataset.JsonDataSetBuilder
-
Initialize resource.
- setResource(Resource) - Method in class com.github.mjeanroy.dbunit.core.dataset.YamlDataSetBuilder
-
Initialize resource.
- setStartBlockComment(String) - Method in class com.github.mjeanroy.dbunit.core.sql.SqlScriptParserConfiguration.Builder
-
Override default pattern to detect start of an SQL block comment.
- setYamlFile(Resource) - Method in class com.github.mjeanroy.dbunit.core.dataset.YamlDataSetBuilder
-
Initialize JSON resource.
- singletonReplacement(String) - Static method in class com.github.mjeanroy.dbunit.core.replacement.Replacements
-
Create single replacement entry.
- singletonReplacement(String, boolean) - Static method in class com.github.mjeanroy.dbunit.core.replacement.Replacements
-
Create single replacement entry.
- singletonReplacement(String, byte) - Static method in class com.github.mjeanroy.dbunit.core.replacement.Replacements
-
Create single replacement entry.
- singletonReplacement(String, char) - Static method in class com.github.mjeanroy.dbunit.core.replacement.Replacements
-
Create single replacement entry.
- singletonReplacement(String, double) - Static method in class com.github.mjeanroy.dbunit.core.replacement.Replacements
-
Create single replacement entry.
- singletonReplacement(String, float) - Static method in class com.github.mjeanroy.dbunit.core.replacement.Replacements
-
Create single replacement entry.
- singletonReplacement(String, int) - Static method in class com.github.mjeanroy.dbunit.core.replacement.Replacements
-
Create single replacement entry.
- singletonReplacement(String, long) - Static method in class com.github.mjeanroy.dbunit.core.replacement.Replacements
-
Create single replacement entry.
- singletonReplacement(String, short) - Static method in class com.github.mjeanroy.dbunit.core.replacement.Replacements
-
Create single replacement entry.
- singletonReplacement(String, String) - Static method in class com.github.mjeanroy.dbunit.core.replacement.Replacements
-
Create single replacement entry.
- singletonReplacement(String, BigDecimal) - Static method in class com.github.mjeanroy.dbunit.core.replacement.Replacements
-
Create single replacement entry.
- singletonReplacement(String, BigInteger) - Static method in class com.github.mjeanroy.dbunit.core.replacement.Replacements
-
Create single replacement entry.
- singletonReplacement(String, Date) - Static method in class com.github.mjeanroy.dbunit.core.replacement.Replacements
-
Create single replacement entry.
- size() - Method in interface com.github.mjeanroy.dbunit.cache.Cache
-
Get the size of the cache.
- SPI - Class in com.github.mjeanroy.dbunit.commons.lang
-
Internal helper utilities around Java's
ServiceLoadermechanism. - sql() - Element in annotation type com.github.mjeanroy.dbunit.core.annotations.DbUnitInit
-
Set of SQL scripts to load
- SqlParserException - Exception Class in com.github.mjeanroy.dbunit.exception
-
Exception thrown if an error occurred during SQL parsing.
- SqlParserException(Exception) - Constructor for exception class com.github.mjeanroy.dbunit.exception.SqlParserException
-
Create exception with original cause.
- SqlParserException(String) - Constructor for exception class com.github.mjeanroy.dbunit.exception.SqlParserException
-
Create exception with custom message.
- SqlScriptParser - Class in com.github.mjeanroy.dbunit.core.sql
-
Run SQL scripts against SQL
Connection. - SqlScriptParserConfiguration - Class in com.github.mjeanroy.dbunit.core.sql
-
Configuration for SQL scripts parser.
- SqlScriptParserConfiguration.Builder - Class in com.github.mjeanroy.dbunit.core.sql
-
Builder for
SqlScriptParserConfiguration. - startsWith(String, String, String, Object...) - Static method in class com.github.mjeanroy.dbunit.commons.lang.PreConditions
-
Ensure that given
valueis notnull, empty or blank and starts with givenprefix. - Strings - Class in com.github.mjeanroy.dbunit.commons.lang
-
Static Strings Utilities.
- substitute(String, String, String, Map) - Static method in class com.github.mjeanroy.dbunit.commons.lang.Strings
-
Substitute given input using given context.
- supportsParameter(ParameterContext, ExtensionContext) - Method in class com.github.mjeanroy.dbunit.integration.jupiter.DbUnitExtension
- supportsParameter(ParameterContext, ExtensionContext) - Method in class com.github.mjeanroy.dbunit.integration.spring.jupiter.DbUnitEmbeddedDatabaseExtension
- supportsParameter(ParameterContext, ExtensionContext) - Method in class com.github.mjeanroy.dbunit.integration.spring.jupiter.EmbeddedDatabaseExtension
T
- table(String, DataSetBuilderRow, DataSetBuilderRow...) - Static method in class com.github.mjeanroy.dbunit.core.dataset.DataSetBuilder
-
Creates a new
DataSetBuilderTablefrom a table name and a first row plus optional additional rows. - table(String, Collection) - Static method in class com.github.mjeanroy.dbunit.core.dataset.DataSetBuilder
-
Creates a new immutable
DataSetBuilderTablefrom a table name and a collection of rows. - Thread-safety - Section in class com.github.mjeanroy.dbunit.core.dataset.DataSetBuilder
- Thread-Safety - Section in class com.github.mjeanroy.dbunit.json.JsonsFactory
- Thread-Safety - Section in class com.github.mjeanroy.dbunit.yaml.YamlsFactory
- toFile() - Method in interface com.github.mjeanroy.dbunit.core.resources.Resource
-
Return a File handle for this resource.
- toLower(String) - Static method in class com.github.mjeanroy.dbunit.commons.lang.Strings
-
Turn given input to its lowercase version.
- toSnakeCase(String) - Static method in class com.github.mjeanroy.dbunit.commons.lang.Strings
-
Converts a string from camel-case or mixed-case style to lower-snake-case.
- toString() - Method in class com.github.mjeanroy.dbunit.core.configuration.DbUnitAllowEmptyFieldsInterceptor
- toString() - Method in class com.github.mjeanroy.dbunit.core.configuration.DbUnitBatchedStatementsInterceptor
- toString() - Method in class com.github.mjeanroy.dbunit.core.configuration.DbUnitBatchSizeInterceptor
- toString() - Method in class com.github.mjeanroy.dbunit.core.configuration.DbUnitCaseSensitiveTableNamesInterceptor
- toString() - Method in class com.github.mjeanroy.dbunit.core.configuration.DbUnitDatatypeWarningInterceptor
- toString() - Method in class com.github.mjeanroy.dbunit.core.configuration.DbUnitFetchSizeInterceptor
- toString() - Method in class com.github.mjeanroy.dbunit.core.configuration.DbUnitMetadataHandlerInterceptor
- toString() - Method in class com.github.mjeanroy.dbunit.core.configuration.DbUnitQualifiedTableNamesInterceptor
- toString() - Method in class com.github.mjeanroy.dbunit.core.configuration.DbUnitDatatypeFactoryInterceptor
- toString() - Method in class com.github.mjeanroy.dbunit.core.dataset.DataSetBuilderRow
- toString() - Method in class com.github.mjeanroy.dbunit.core.dataset.DataSetBuilderRowValue
- toString() - Method in class com.github.mjeanroy.dbunit.core.dataset.DataSetBuilderTable
- toString() - Method in class com.github.mjeanroy.dbunit.core.dataset.DirectoryDataSet
- toString() - Method in class com.github.mjeanroy.dbunit.core.ext.PostgresqlExtendedDatatypeFactory
- toString() - Method in class com.github.mjeanroy.dbunit.core.jdbc.JdbcConfiguration
- toString() - Method in class com.github.mjeanroy.dbunit.core.jdbc.JdbcDataSourceConnectionFactory
- toString() - Method in class com.github.mjeanroy.dbunit.core.jdbc.JdbcDefaultConnectionFactory
- toString() - Method in class com.github.mjeanroy.dbunit.core.replacement.Replacements
- toString() - Method in class com.github.mjeanroy.dbunit.core.sql.SqlScriptParserConfiguration
- toString() - Method in class com.github.mjeanroy.dbunit.integration.spring.EmbeddedDatabaseRunner
- ToStringBuilder - Class in com.github.mjeanroy.dbunit.commons.lang
-
Utility class to implement easily
toStringmethods. - trace(String) - Method in interface com.github.mjeanroy.dbunit.loggers.Logger
-
Log message with TRACE level.
- trace(String, Object) - Method in interface com.github.mjeanroy.dbunit.loggers.Logger
-
Log message with TRACE level.
- trace(String, Object...) - Method in interface com.github.mjeanroy.dbunit.loggers.Logger
-
Log message with TRACE level.
- trace(String, Object, Object) - Method in interface com.github.mjeanroy.dbunit.loggers.Logger
-
Log message with TRACE level.
- TransactionalDbUnitTestExecutionListener - Class in com.github.mjeanroy.dbunit.integration.spring
-
Provide integration between spring
TransactionalTestExecutionListenerand customDbUnitTestExecutionListener:TransactionalTestExecutionListenerwill be executed first.DbUnitTestExecutionListenerwill be executed last. - TransactionalDbUnitTestExecutionListener() - Constructor for class com.github.mjeanroy.dbunit.integration.spring.TransactionalDbUnitTestExecutionListener
-
Create listeners with defaults
TestExecutionListenerlist. - trimToNull(String) - Static method in class com.github.mjeanroy.dbunit.commons.lang.Strings
-
Trim given input and returns
nullif trimmed input is empty. - TRUNCATE_TABLE - Enum constant in enum com.github.mjeanroy.dbunit.core.operation.DbUnitOperation
-
Truncate tables present in the specified dataset.
U
- update() - Method in class com.github.mjeanroy.dbunit.integration.liquibase.LiquibaseUpdater
-
Run liquibase update with
dbunitandtestcontexts. - UPDATE - Enum constant in enum com.github.mjeanroy.dbunit.core.operation.DbUnitOperation
-
Updates the database from the dataset contents.
- url() - Element in annotation type com.github.mjeanroy.dbunit.core.annotations.DbUnitConnection
-
Get JDBC Connection URL.
- URL - Enum constant in enum com.github.mjeanroy.dbunit.core.resources.ResourceLoader
-
Load file from HTTP url.
- user() - Element in annotation type com.github.mjeanroy.dbunit.core.annotations.DbUnitConnection
-
Get JDBC user name.
- useServiceLoader() - Element in annotation type com.github.mjeanroy.dbunit.core.annotations.DbUnitDataSet
-
Enables discovery and loading of
DataSetProviderimplementations through the standard JavaServiceLoadermechanism.
V
- value() - Element in annotation type com.github.mjeanroy.dbunit.core.annotations.DbUnitConfig
-
The interceptor class that will be instantiated and executed before applying DbUnit dataset.
- value() - Element in annotation type com.github.mjeanroy.dbunit.core.annotations.DbUnitDataSet
-
Path(s) to dataset files to load.
- value() - Element in annotation type com.github.mjeanroy.dbunit.core.annotations.DbUnitLiquibase
-
List of liquibase change logs to run (in order).
- value() - Element in annotation type com.github.mjeanroy.dbunit.core.annotations.DbUnitSetup
-
Operation to load before test.
- value() - Element in annotation type com.github.mjeanroy.dbunit.core.annotations.DbUnitTearDown
-
Operation to execute after a test is performed.
- valueOf(String) - Static method in enum com.github.mjeanroy.dbunit.core.operation.DbUnitOperation
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.github.mjeanroy.dbunit.core.resources.ResourceLoader
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum com.github.mjeanroy.dbunit.core.operation.DbUnitOperation
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.github.mjeanroy.dbunit.core.resources.ResourceLoader
-
Returns an array containing the constants of this enum type, in the order they are declared.
- visit(String) - Method in interface com.github.mjeanroy.dbunit.commons.io.ReaderVisitor
-
Handle new line.
W
- warn(String) - Method in interface com.github.mjeanroy.dbunit.loggers.Logger
-
Log message with WARN level.
- warn(String, Object) - Method in interface com.github.mjeanroy.dbunit.loggers.Logger
-
Log message with WARN level.
- warn(String, Object...) - Method in interface com.github.mjeanroy.dbunit.loggers.Logger
-
Log message with WARN level.
- warn(String, Object, Object) - Method in interface com.github.mjeanroy.dbunit.loggers.Logger
-
Log message with WARN level.
- writeToString(Object) - Method in interface com.github.mjeanroy.dbunit.json.JsonSerializer
-
Serialize the given Java object into a JSON string.
Y
- YamlDataSet - Class in com.github.mjeanroy.dbunit.core.dataset
-
Implementation of
IDataSetwith YAML file as input. - YamlDataSetBuilder - Class in com.github.mjeanroy.dbunit.core.dataset
-
Builder for
YamlDataSetinstances. - YamlDataSetBuilder() - Constructor for class com.github.mjeanroy.dbunit.core.dataset.YamlDataSetBuilder
-
Create builder.
- YamlDataSetBuilder(Resource) - Constructor for class com.github.mjeanroy.dbunit.core.dataset.YamlDataSetBuilder
-
Create builder with JSON resource.
- YamlDatasetParser - Class in com.github.mjeanroy.dbunit.core.parsers
-
DatasetParserimplementation that parses datasets from YAML input. - YamlDatasetParser(YamlParser) - Constructor for class com.github.mjeanroy.dbunit.core.parsers.YamlDatasetParser
-
Create a new YAML dataset parser.
- YamlException - Exception Class in com.github.mjeanroy.dbunit.exception
-
Wrap external YAML parsing exception.
- YamlException(Exception) - Constructor for exception class com.github.mjeanroy.dbunit.exception.YamlException
-
Wrap
Exception. - YamlParser - Interface in com.github.mjeanroy.dbunit.yaml
-
Read YAML inputs and return
Mapobject. - YamlsFactory - Class in com.github.mjeanroy.dbunit.yaml
-
Factory used to create the default
YamlParserimplementation.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form