Uses of Interface
org.dbunit.database.IDatabaseConnection

Packages that use IDatabaseConnection
org.dbunit   
org.dbunit.ant   
org.dbunit.database   
org.dbunit.database.search   
org.dbunit.database.statement   
org.dbunit.ext.db2   
org.dbunit.ext.h2   
org.dbunit.ext.hsqldb   
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
protected  IDatabaseConnection DBTestCase.getConnection()
           
 IDatabaseConnection JndiDatabaseTester.getConnection()
           
 IDatabaseConnection DefaultDatabaseTester.getConnection()
           
 IDatabaseConnection JdbcDatabaseTester.getConnection()
           
protected abstract  IDatabaseConnection DatabaseTestCase.getConnection()
          Returns the test database connection.
 IDatabaseConnection DataSourceDatabaseTester.getConnection()
           
 IDatabaseConnection IDatabaseTester.getConnection()
          Returns the test database connection.
 

Methods in org.dbunit with parameters of type IDatabaseConnection
static void Assertion.assertEqualsByQuery(IDataSet expectedDataset, IDatabaseConnection connection, java.lang.String sqlQuery, java.lang.String tableName, java.lang.String[] ignoreCols)
          Compare a table from a dataset with a table generated from an sql query.
static void Assertion.assertEqualsByQuery(ITable expectedTable, IDatabaseConnection connection, java.lang.String tableName, java.lang.String sqlQuery, java.lang.String[] ignoreCols)
          Compare a table with a table generated from an sql query.
protected  void DatabaseTestCase.closeConnection(IDatabaseConnection connection)
          Close the specified connection.
 void IDatabaseTester.closeConnection(IDatabaseConnection connection)
          Close the specified connection.
 void AbstractDatabaseTester.closeConnection(IDatabaseConnection connection)
           
 

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

Uses of IDatabaseConnection in org.dbunit.ant
 

Methods in org.dbunit.ant with parameters of type IDatabaseConnection
 void Export.execute(IDatabaseConnection connection)
           
 void Compare.execute(IDatabaseConnection connection)
           
 void Operation.execute(IDatabaseConnection connection)
           
 void DbUnitTaskStep.execute(IDatabaseConnection connection)
           
protected  IDataSet AbstractStep.getDatabaseDataSet(IDatabaseConnection connection, java.util.List tables, boolean forwardonly)
           
 

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(java.lang.String tableName, java.sql.ResultSet resultSet, IDatabaseConnection connection)
           
 IResultSetTable ForwardOnlyResultSetTableFactory.createTable(ITableMetaData metaData, IDatabaseConnection connection)
           
 IResultSetTable IResultSetTableFactory.createTable(ITableMetaData metaData, IDatabaseConnection connection)
           
 IResultSetTable CachedResultSetTableFactory.createTable(ITableMetaData metaData, IDatabaseConnection connection)
           
 IResultSetTable ForwardOnlyResultSetTableFactory.createTable(java.lang.String tableName, java.lang.String selectStatement, IDatabaseConnection connection)
           
 IResultSetTable IResultSetTableFactory.createTable(java.lang.String tableName, java.lang.String selectStatement, IDatabaseConnection connection)
           
 IResultSetTable CachedResultSetTableFactory.createTable(java.lang.String tableName, java.lang.String selectStatement, IDatabaseConnection connection)
           
 

Constructors in org.dbunit.database with parameters of type IDatabaseConnection
AbstractResultSetTable(ITableMetaData metaData, IDatabaseConnection connection)
           
AbstractResultSetTable(java.lang.String tableName, java.lang.String selectStatement, IDatabaseConnection connection)
           
CachedResultSetTable(ITableMetaData metaData, IDatabaseConnection connection)
           
DatabaseSequenceFilter(IDatabaseConnection connection)
          Create a DatabaseSequenceFilter that exposes all the database tables.
DatabaseSequenceFilter(IDatabaseConnection connection, java.lang.String[] tableNames)
          Create a DatabaseSequenceFilter that only exposes specified table names.
ForwardOnlyResultSetTable(ITableMetaData metaData, IDatabaseConnection connection)
           
ForwardOnlyResultSetTable(java.lang.String tableName, java.lang.String selectStatement, IDatabaseConnection connection)
           
PrimaryKeyFilter(IDatabaseConnection connection, java.util.Map 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.
QueryTableIterator(java.util.List tableEntries, IDatabaseConnection connection)
           
ScrollableResultSetTable(ITableMetaData metaData, IDatabaseConnection connection)
           
ScrollableResultSetTable(java.lang.String tableName, java.lang.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, java.util.Map rootTables)
           
static IDataSet TablesDependencyHelper.getAllDataset(IDatabaseConnection connection, java.lang.String rootTable, java.util.Set allowedPKs)
           
static java.lang.String[] TablesDependencyHelper.getAllDependentTables(IDatabaseConnection connection, java.lang.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 java.lang.String[] TablesDependencyHelper.getAllDependentTables(IDatabaseConnection connection, java.lang.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, java.util.Map rootTables)
           
static IDataSet TablesDependencyHelper.getDataset(IDatabaseConnection connection, java.lang.String rootTable, java.util.Set allowedIds)
           
static java.lang.String[] TablesDependencyHelper.getDependentTables(IDatabaseConnection connection, java.lang.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).
static java.lang.String[] TablesDependencyHelper.getDependentTables(IDatabaseConnection connection, java.lang.String[] rootTables)
          Get the name of all tables that depend on the root tables (i.e, all tables whose PK is a FK for one of root tables).
 

Constructors in org.dbunit.database.search with parameters of type IDatabaseConnection
AbstractMetaDataBasedSearchCallback(IDatabaseConnection connection)
          Defautl constructor.
ImportedAndExportedKeysSearchCallback(IDatabaseConnection connection)
           
ImportedAndExportedKeysSearchCallbackFilteredByPKs(IDatabaseConnection connection, java.util.Map allowedPKs)
          Default constructor.
ImportedKeysSearchCallback(IDatabaseConnection connection)
           
ImportedKeysSearchCallbackFilteredByPKs(IDatabaseConnection connection, java.util.Map allowedPKs)
          Default constructor.
 

Uses of IDatabaseConnection in org.dbunit.database.statement
 

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

Uses of IDatabaseConnection in org.dbunit.ext.db2
 

Classes in org.dbunit.ext.db2 that implement IDatabaseConnection
 class Db2Connection
           
 

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.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 AbstractBatchOperation.execute(IDatabaseConnection connection, IDataSet dataSet)
           
 void CloseConnectionOperation.execute(IDatabaseConnection connection, IDataSet dataSet)
           
 void RefreshOperation.execute(IDatabaseConnection connection, IDataSet dataSet)
           
 void TransactionOperation.execute(IDatabaseConnection connection, IDataSet dataSet)
           
 void DeleteAllOperation.execute(IDatabaseConnection connection, IDataSet dataSet)
           
 void CompositeOperation.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.
 OperationData InsertOperation.getOperationData(ITableMetaData metaData, java.util.BitSet ignoreMapping, IDatabaseConnection connection)
           
 OperationData UpdateOperation.getOperationData(ITableMetaData metaData, java.util.BitSet ignoreMapping, IDatabaseConnection connection)
           
 OperationData DeleteOperation.getOperationData(ITableMetaData metaData, java.util.BitSet ignoreMapping, IDatabaseConnection connection)
           
protected  java.lang.String AbstractOperation.getQualifiedName(java.lang.String prefix, java.lang.String name, IDatabaseConnection connection)
           
 



Copyright © 2002-2008. All Rights Reserved.