org.dbunit.database
Interface IResultSetTableFactory

All Known Implementing Classes:
CachedResultSetTableFactory, ForwardOnlyResultSetTableFactory

public interface IResultSetTableFactory

Since:
Jul 17, 2003
Version:
$Revision: 965 $
Author:
manuel.laflamme

Method Summary
 IResultSetTable createTable(ITableMetaData metaData, IDatabaseConnection connection)
           
 IResultSetTable createTable(String tableName, PreparedStatement preparedStatement, IDatabaseConnection connection)
          Creates a table from a preparedStatement
 IResultSetTable createTable(String tableName, String selectStatement, IDatabaseConnection connection)
           
 

Method Detail

createTable

IResultSetTable createTable(String tableName,
                            String selectStatement,
                            IDatabaseConnection connection)
                            throws SQLException,
                                   DataSetException
Throws:
SQLException
DataSetException

createTable

IResultSetTable createTable(ITableMetaData metaData,
                            IDatabaseConnection connection)
                            throws SQLException,
                                   DataSetException
Throws:
SQLException
DataSetException

createTable

IResultSetTable createTable(String tableName,
                            PreparedStatement preparedStatement,
                            IDatabaseConnection connection)
                            throws SQLException,
                                   DataSetException
Creates a table from a preparedStatement

Parameters:
tableName -
preparedStatement -
connection -
Returns:
The table based on a SQL result set
Throws:
SQLException
DataSetException
Since:
2.4.4


Copyright © 2002-2012. All Rights Reserved.