Class DatabaseDataSet

java.lang.Object
org.dbunit.dataset.AbstractDataSet
org.dbunit.database.DatabaseDataSet
All Implemented Interfaces:
IDataSet

public class DatabaseDataSet extends AbstractDataSet
Provides access to a database instance as a IDataSet.
Since:
1.0 (Feb 17, 2002)
Version:
$Revision$ $Date$
Author:
Manuel Laflamme, Last changed by: $Author$
  • Constructor Details

    • DatabaseDataSet

      public DatabaseDataSet(IDatabaseConnection connection, boolean caseSensitiveTableNames) throws SQLException
      Creates a new database data set
      Parameters:
      connection - The database connection
      caseSensitiveTableNames - Whether or not this dataset should use case sensitive table names
      Throws:
      SQLException - if retrieving the database metadata fails.
      Since:
      2.4
    • DatabaseDataSet

      public DatabaseDataSet(IDatabaseConnection connection, boolean caseSensitiveTableNames, ITableFilterSimple tableFilter) throws SQLException
      Creates a new database data set
      Parameters:
      connection - The database connection
      caseSensitiveTableNames - Whether or not this dataset should use case sensitive table names
      tableFilter - Table filter to specify tables to be omitted in this dataset. Can be null.
      Throws:
      SQLException - if retrieving the database metadata fails.
      Since:
      2.4.3
  • Method Details