public final class DataSetConnectionFactory extends Object
Constructor and Description |
---|
DataSetConnectionFactory()
Instantiates a new data set connection factory.
|
Modifier and Type | Method and Description |
---|---|
org.dbunit.dataset.IDataSet |
getDataSet(Connection connection)
Gets the data set.
|
org.dbunit.database.QueryDataSet |
getQueryDataset(Connection connection)
Gets the query dataset.
|
public DataSetConnectionFactory()
public org.dbunit.dataset.IDataSet getDataSet(Connection connection) throws DatasetFactoryException
connection
- the connectionDatasetFactoryException
- the dataset factory exceptionpublic org.dbunit.database.QueryDataSet getQueryDataset(Connection connection) throws DatasetFactoryException
connection
- the connectionDatasetFactoryException
- the dataset factory exceptionCopyright © 2010–2017 www.hack23.com. All rights reserved.