Uses of Interface
org.dbunit.database.IDatabaseConnection

Packages that use IDatabaseConnection
org.dbunit   
org.dbunit.ant   
org.dbunit.assertion   
org.dbunit.database   
org.dbunit.database.search   
org.dbunit.database.statement   
org.dbunit.dataset   
org.dbunit.ext.db2   
org.dbunit.ext.h2   
org.dbunit.ext.hsqldb   
org.dbunit.ext.mckoi   
org.dbunit.ext.mssql   
org.dbunit.ext.mysql   
org.dbunit.ext.oracle   
org.dbunit.operation   
 

Uses of IDatabaseConnection in org.dbunit
 

Methods in org.dbunit that return IDatabaseConnection
 IDatabaseConnection JndiDatabaseTester.getConnection()
           
 IDatabaseConnection JdbcDatabaseTester.getConnection()
           
 IDatabaseConnection IDatabaseTester.getConnection()
          Returns the test database connection.
 IDatabaseConnection DefaultDatabaseTester.getConnection()
           
protected  IDatabaseConnection DBTestCase.getConnection()
           
 IDatabaseConnection DataSourceDatabaseTester.getConnection()
           
protected abstract  IDatabaseConnection DatabaseTestCase.getConnection()
          Returns the test database connection.
 

Methods in org.dbunit with parameters of type IDatabaseConnection
static void Assertion.assertEqualsByQuery(IDataSet expectedDataset, IDatabaseConnection connection, String sqlQuery, String tableName, String[] ignoreCols)
           
static void Assertion.assertEqualsByQuery(ITable expectedTable, IDatabaseConnection connection, String tableName, String sqlQuery, String[] ignoreCols)
           
 void IDatabaseTester.closeConnection(IDatabaseConnection connection)
          Deprecated. since 2.4.4 define a user defined IDatabaseTester.setOperationListener(IOperationListener) in advance
protected  void DatabaseTestCase.closeConnection(IDatabaseConnection connection)
          Deprecated. since 2.4.4 define a user defined DatabaseTestCase.getOperationListener() in advance
 void AbstractDatabaseTester.closeConnection(IDatabaseConnection connection)
           
 void IOperationListener.connectionRetrieved(IDatabaseConnection connection)
          Is invoked immediately after a connection was newly created or an existing connection is retrieved to do some work on it.
 void DefaultOperationListener.connectionRetrieved(IDatabaseConnection connection)
           
 void IOperationListener.operationSetUpFinished(IDatabaseConnection connection)
          Notification of the completion of the IDatabaseTester.onSetup() method.
 void DefaultOperationListener.operationSetUpFinished(IDatabaseConnection connection)
           
 void IOperationListener.operationTearDownFinished(IDatabaseConnection connection)
          Notification of the completion of the IDatabaseTester.onTearDown() method Should close the given connection if desired.
 void DefaultOperationListener.operationTearDownFinished(IDatabaseConnection connection)
           
 

Constructors in org.dbunit with parameters of type IDatabaseConnection
DefaultDatabaseTester(IDatabaseConnection connection)
          Creates a new DefaultDatabaseTester with the supplied connection.
 

Uses of IDatabaseConnection in org.dbunit.ant
 

Methods in org.dbunit.ant that return IDatabaseConnection
protected  IDatabaseConnection DbUnitTask.createConnection()
           
protected  IDatabaseConnection DbUnitTask.createDatabaseConnection(Connection jdbcConnection, String dbSchema)
          Creates the dbunit connection using the two given arguments.
 

Methods in org.dbunit.ant with parameters of type IDatabaseConnection
 void Operation.execute(IDatabaseConnection connection)
           
 void Export.execute(IDatabaseConnection connection)
           
 void DbUnitTaskStep.execute(IDatabaseConnection connection)
           
 void Compare.execute(IDatabaseConnection connection)
           
protected  IDataSet AbstractStep.getDatabaseDataSet(IDatabaseConnection connection, List tables, boolean forwardonly)
           
protected  IDataSet Export.getExportDataSet(IDatabaseConnection connection)
          Creates the dataset that is finally used for the export
 QueryDataSet QuerySet.getQueryDataSet(IDatabaseConnection connection)
           
 

Uses of IDatabaseConnection in org.dbunit.assertion
 

Methods in org.dbunit.assertion with parameters of type IDatabaseConnection
 void DbUnitAssert.assertEqualsByQuery(IDataSet expectedDataset, IDatabaseConnection connection, String sqlQuery, String tableName, String[] ignoreCols)
          Compare a table from a dataset with a table generated from an sql query.
 void DbUnitAssert.assertEqualsByQuery(ITable expectedTable, IDatabaseConnection connection, String tableName, String sqlQuery, String[] ignoreCols)
          Compare a table with a table generated from an sql query.
 

Uses of IDatabaseConnection in org.dbunit.database
 

Classes in org.dbunit.database that implement IDatabaseConnection
 class AbstractDatabaseConnection
           
 class DatabaseConnection
          This class adapts a JDBC Connection to a IDatabaseConnection.
 class DatabaseDataSourceConnection
          This class adapts a JDBC DataSource to a IDatabaseConnection.
 

Methods in org.dbunit.database with parameters of type IDatabaseConnection
static ITableMetaData DatabaseTableMetaData.createMetaData(String tableName, ResultSet resultSet, IDatabaseConnection connection)
          Deprecated. since 2.3.0. use ResultSetTableMetaData.ResultSetTableMetaData(String, ResultSet, IDatabaseConnection, boolean)
 IResultSetTable IResultSetTableFactory.createTable(ITableMetaData metaData, IDatabaseConnection connection)
           
 IResultSetTable ForwardOnlyResultSetTableFactory.createTable(ITableMetaData metaData, IDatabaseConnection connection)
           
 IResultSetTable CachedResultSetTableFactory.createTable(ITableMetaData metaData, IDatabaseConnection connection)
           
 IResultSetTable IResultSetTableFactory.createTable(String tableName, PreparedStatement preparedStatement, IDatabaseConnection connection)
          Creates a table from a preparedStatement
 IResultSetTable ForwardOnlyResultSetTableFactory.createTable(String tableName, PreparedStatement preparedStatement, IDatabaseConnection connection)
           
 IResultSetTable CachedResultSetTableFactory.createTable(String tableName, PreparedStatement preparedStatement, IDatabaseConnection connection)
           
 IResultSetTable IResultSetTableFactory.createTable(String tableName, String selectStatement, IDatabaseConnection connection)
           
 IResultSetTable ForwardOnlyResultSetTableFactory.createTable(String tableName, String selectStatement, IDatabaseConnection connection)
           
 IResultSetTable CachedResultSetTableFactory.createTable(String tableName, String selectStatement, IDatabaseConnection connection)
           
 

Constructors in org.dbunit.database with parameters of type IDatabaseConnection
AbstractResultSetTable(ITableMetaData metaData, IDatabaseConnection connection)
           
AbstractResultSetTable(String tableName, String selectStatement, IDatabaseConnection connection)
           
AbstractResultSetTable(String tableName, String selectStatement, IDatabaseConnection connection, boolean caseSensitiveTableNames)
           
CachedResultSetTable(ITableMetaData metaData, IDatabaseConnection connection)
          Deprecated. since 2.4.4 prefer direct usage of ForwardOnlyResultSetTable.ForwardOnlyResultSetTable(ITableMetaData, IDatabaseConnection) and then invoke CachedResultSetTable.CachedResultSetTable(IResultSetTable)
DatabaseDataSet(IDatabaseConnection connection, boolean caseSensitiveTableNames)
          Creates a new database data set
DatabaseDataSet(IDatabaseConnection connection, boolean caseSensitiveTableNames, ITableFilterSimple tableFilter)
          Creates a new database data set
DatabaseSequenceFilter(IDatabaseConnection connection)
          Create a DatabaseSequenceFilter that exposes all the database tables.
DatabaseSequenceFilter(IDatabaseConnection connection, String[] tableNames)
          Create a DatabaseSequenceFilter that only exposes specified table names.
ForwardOnlyResultSetTable(ITableMetaData metaData, IDatabaseConnection connection)
           
ForwardOnlyResultSetTable(String tableName, String selectStatement, IDatabaseConnection connection)
           
PrimaryKeyFilter(IDatabaseConnection connection, PrimaryKeyFilter.PkTableMap allowedPKs, boolean reverseDependency)
          Default constructor, it takes as input a map with desired rows in a final dataset; the filter will ensure that the rows necessary by these initial rows are also allowed (and so on...).
QueryDataSet(IDatabaseConnection connection)
          Create a QueryDataSet by passing in the connection to the database to use.
QueryDataSet(IDatabaseConnection connection, boolean caseSensitiveTableNames)
          Create a QueryDataSet by passing in the connection to the database to use.
QueryTableIterator(List tableEntries, IDatabaseConnection connection)
           
ResultSetTableMetaData(String tableName, ResultSet resultSet, IDatabaseConnection connection, boolean caseSensitiveMetaData)
           
ScrollableResultSetTable(ITableMetaData metaData, IDatabaseConnection connection)
           
ScrollableResultSetTable(String tableName, String selectStatement, IDatabaseConnection connection)
           
 

Uses of IDatabaseConnection in org.dbunit.database.search
 

Methods in org.dbunit.database.search that return IDatabaseConnection
 IDatabaseConnection AbstractMetaDataBasedSearchCallback.getConnection()
          Get the connection where the edges will be calculated from.
 

Methods in org.dbunit.database.search with parameters of type IDatabaseConnection
static IDataSet TablesDependencyHelper.getAllDataset(IDatabaseConnection connection, PrimaryKeyFilter.PkTableMap rootTables)
           
static IDataSet TablesDependencyHelper.getAllDataset(IDatabaseConnection connection, String rootTable, Set allowedPKs)
           
static String[] TablesDependencyHelper.getAllDependentTables(IDatabaseConnection connection, String rootTable)
          Get the name of all tables that depend on a root table ( i.e, all tables whose PK is a FK for the root table) and also the tables the root table depends on (i.e., all tables which have a FK for the root table's PK).
static String[] TablesDependencyHelper.getAllDependentTables(IDatabaseConnection connection, String[] rootTables)
          Get the name of all tables that depend on the root tables ( i.e, all tables whose PK is a FK for any of the root tables) and also the tables the root tables depends on (i.e., all tables which have a FK for any of the root table's PK).
static IDataSet TablesDependencyHelper.getDataset(IDatabaseConnection connection, PrimaryKeyFilter.PkTableMap rootTables)
           
static IDataSet TablesDependencyHelper.getDataset(IDatabaseConnection connection, String rootTable, Set allowedIds)
           
static String[] TablesDependencyHelper.getDependentTables(IDatabaseConnection connection, String rootTable)
          Get the name of all tables that depend on the root tables (i.e, all tables that have FKs pointing to the PK of the root table).
static String[] TablesDependencyHelper.getDependentTables(IDatabaseConnection connection, String[] rootTables)
          Get the name of all tables that depend on the root tables (i.e, all tables that have FKs pointing to the PK of one of the root tables).
static String[] TablesDependencyHelper.getDependsOnTables(IDatabaseConnection connection, String rootTable)
          Get the name of all tables that the given rootTable depends on (i.e, all tables whose PK is a FK for the root table).
static Set TablesDependencyHelper.getDirectDependentTables(IDatabaseConnection connection, String tableName)
          Returns a set of tables which directly depend on the given table.
static Set TablesDependencyHelper.getDirectDependsOnTables(IDatabaseConnection connection, String tableName)
          Returns a set of tables on which the given table directly depends on.
 

Constructors in org.dbunit.database.search with parameters of type IDatabaseConnection
AbstractMetaDataBasedSearchCallback(IDatabaseConnection connection)
          Default constructor.
ExportedKeysSearchCallback(IDatabaseConnection connection)
           
ImportedAndExportedKeysSearchCallback(IDatabaseConnection connection)
           
ImportedAndExportedKeysSearchCallbackFilteredByPKs(IDatabaseConnection connection, PrimaryKeyFilter.PkTableMap allowedPKs)
          Default constructor.
ImportedKeysSearchCallback(IDatabaseConnection connection)
           
ImportedKeysSearchCallbackFilteredByPKs(IDatabaseConnection connection, PrimaryKeyFilter.PkTableMap allowedPKs)
          Default constructor.
 

Uses of IDatabaseConnection in org.dbunit.database.statement
 

Methods in org.dbunit.database.statement with parameters of type IDatabaseConnection
 IBatchStatement StatementFactory.createBatchStatement(IDatabaseConnection connection)
           
 IBatchStatement PreparedStatementFactory.createBatchStatement(IDatabaseConnection connection)
           
 IBatchStatement IStatementFactory.createBatchStatement(IDatabaseConnection connection)
           
 IPreparedBatchStatement StatementFactory.createPreparedBatchStatement(String sql, IDatabaseConnection connection)
           
 IPreparedBatchStatement PreparedStatementFactory.createPreparedBatchStatement(String sql, IDatabaseConnection connection)
           
 IPreparedBatchStatement IStatementFactory.createPreparedBatchStatement(String sql, IDatabaseConnection connection)
           
protected  boolean AbstractStatementFactory.supportBatchStatement(IDatabaseConnection connection)
          Returns true if target database supports batch statement.
 

Uses of IDatabaseConnection in org.dbunit.dataset
 

Methods in org.dbunit.dataset with parameters of type IDatabaseConnection
 IDataTypeFactory AbstractTableMetaData.getDataTypeFactory(IDatabaseConnection connection)
          Validates and returns the datatype factory of the given connection
 

Uses of IDatabaseConnection in org.dbunit.ext.db2
 

Classes in org.dbunit.ext.db2 that implement IDatabaseConnection
 class Db2Connection
          Database connection for DB2 that pre-configures all properties required to successfully use dbunit with DB2.
 

Uses of IDatabaseConnection in org.dbunit.ext.h2
 

Classes in org.dbunit.ext.h2 that implement IDatabaseConnection
 class H2Connection
           
 

Uses of IDatabaseConnection in org.dbunit.ext.hsqldb
 

Classes in org.dbunit.ext.hsqldb that implement IDatabaseConnection
 class HsqldbConnection
           
 

Uses of IDatabaseConnection in org.dbunit.ext.mckoi
 

Classes in org.dbunit.ext.mckoi that implement IDatabaseConnection
 class MckoiConnection
          Database connection for Mckoi that pre-configures all properties required to successfully use dbunit with Mckoi.
 

Uses of IDatabaseConnection in org.dbunit.ext.mssql
 

Classes in org.dbunit.ext.mssql that implement IDatabaseConnection
 class MsSqlConnection
           
 

Methods in org.dbunit.ext.mssql with parameters of type IDatabaseConnection
 void InsertIdentityOperation.execute(IDatabaseConnection connection, IDataSet dataSet)
           
 

Uses of IDatabaseConnection in org.dbunit.ext.mysql
 

Classes in org.dbunit.ext.mysql that implement IDatabaseConnection
 class MySqlConnection
           
 

Uses of IDatabaseConnection in org.dbunit.ext.oracle
 

Classes in org.dbunit.ext.oracle that implement IDatabaseConnection
 class OracleConnection
           
 

Uses of IDatabaseConnection in org.dbunit.operation
 

Methods in org.dbunit.operation with parameters of type IDatabaseConnection
 void TruncateTableOperation.execute(IDatabaseConnection connection, IDataSet dataSet)
           
 void TransactionOperation.execute(IDatabaseConnection connection, IDataSet dataSet)
           
 void RefreshOperation.execute(IDatabaseConnection connection, IDataSet dataSet)
           
 void DeleteAllOperation.execute(IDatabaseConnection connection, IDataSet dataSet)
           
abstract  void DatabaseOperation.execute(IDatabaseConnection connection, IDataSet dataSet)
          Executes this operation on the specified database using the specified dataset contents.
 void CompositeOperation.execute(IDatabaseConnection connection, IDataSet dataSet)
           
 void CloseConnectionOperation.execute(IDatabaseConnection connection, IDataSet dataSet)
           
 void AbstractBatchOperation.execute(IDatabaseConnection connection, IDataSet dataSet)
           
 OperationData UpdateOperation.getOperationData(ITableMetaData metaData, BitSet ignoreMapping, IDatabaseConnection connection)
           
 OperationData InsertOperation.getOperationData(ITableMetaData metaData, BitSet ignoreMapping, IDatabaseConnection connection)
           
 OperationData DeleteOperation.getOperationData(ITableMetaData metaData, BitSet ignoreMapping, IDatabaseConnection connection)
           
protected  String AbstractOperation.getQualifiedName(String prefix, String name, IDatabaseConnection connection)
           
 



Copyright © 2002–2014. All rights reserved.