org.dbunit.database
Class DatabaseSequenceFilter

java.lang.Object
  extended byorg.dbunit.dataset.filter.SequenceTableFilter
      extended byorg.dbunit.database.DatabaseSequenceFilter
All Implemented Interfaces:
ITableFilter

public class DatabaseSequenceFilter
extends SequenceTableFilter

This filter orders tables using dependency information provided by DatabaseMetaData.getExportedKeys(java.lang.String, java.lang.String, java.lang.String).

Since:
Mar 23, 2003
Version:
$Revision: 1.9 $
Author:
Manuel Laflamme, Erik Price

Constructor Summary
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.
 
Methods inherited from class org.dbunit.dataset.filter.SequenceTableFilter
accept, getTableNames, iterator
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DatabaseSequenceFilter

public DatabaseSequenceFilter(IDatabaseConnection connection,
                              java.lang.String[] tableNames)
                       throws DataSetException,
                              java.sql.SQLException
Create a DatabaseSequenceFilter that only exposes specified table names.


DatabaseSequenceFilter

public DatabaseSequenceFilter(IDatabaseConnection connection)
                       throws DataSetException,
                              java.sql.SQLException
Create a DatabaseSequenceFilter that exposes all the database tables.



Copyright © 2002-2004 DbUnit.org. All Rights Reserved.