Package org.dbunit.database
package org.dbunit.database
-
ClassDescriptionBase implementation of
IDatabaseConnectionthat lazily creates and caches the connection's whole-databaseIDataSetand owns itsDatabaseConfig.This exception is thrown byIDataSetwhen multiple tables having the same name are accessible.IResultSetTablethat eagerly loads and caches an entireResultSetin memory.IResultSetTableFactorythat creates fully cached, disconnectedIResultSetTableinstances.Caches a singleIDatabaseConnectionso that it - and the table metadata it accumulates - can be reused across many test methods instead of being rebuilt on every call.Signals that a set of tables has a foreign-key dependency cycle that cannot be resolved into a linear ordering.Configuration used by theDatabaseConnection.Descriptor for a single named, typed, nullableDatabaseConfigproperty.Sets parameters stored in theDatabaseConfigon specific java objects likeStatement.Property values, given as strings, to apply toDatabaseConfiginstances for the length of one test, and the means to put back what they replaced.Supplies a shared set ofDatabaseConfigproperties forDbUnitConfig.propertiesProvider().This class adapts a JDBCConnectionto aIDatabaseConnection.Provides access to a database instance as aIDataSet.This class adapts a JDBCDataSourceto aIDatabaseConnection.This filter orders tables using dependency information provided byDatabaseMetaData.getExportedKeys(java.lang.String, java.lang.String, java.lang.String).ITableIteratorover the tables of a live database connection.Container for the metadata for one database table.Default implementation ofIMetadataHandlerwhich works for the most databases.IResultSetTableimplementation backed by a forward-only, non-cachedResultSet.IResultSetTableFactorythat creates forward-only, non-cachedIResultSetTableinstances.This interface represents a connection to a specific database.Handler to specify the behavior for a lookup of column metadata using database metadata.An in-memoryResultSet, backed by rows copied out of one or more source result sets ahead of time.Tests whether a source result set's current row, as positioned by a precedingResultSet.next(), should be kept.AnITablebacked by a JDBC result set that must be closed after use.Factory that createsIResultSetTableinstances for a given query.Filter a table given a map of the allowed rows based on primary key values.
It uses a depth-first algorithm (although not recursive - it might be refactored in the future) to define which rows are allowed, as well which rows are necessary (and hence allowed) because of dependencies with the allowed rows.
NOTE: multi-column primary keys are not supported at the moment.Map that associates a table with a set of primary key objects.This class is a wrapper for another table with the condition that only a subset of the original table will be available - the subset is defined by the set of primary keys that are allowed in the new table.Holds collection of tables resulting from database query.Iterator used to iterate over a list of tables using a specific query for retrieving data for every table.ResultSetbasedITableMetaDataimplementation.IResultSetTableimplementation backed by a scrollableResultSetcursor.