Package org.dbunit.database
Interface IResultSetTableFactory
- All Known Implementing Classes:
CachedResultSetTableFactory,ForwardOnlyResultSetTableFactory
public interface IResultSetTableFactory
- Since:
- Jul 17, 2003
- Version:
- $Revision$
- Author:
- manuel.laflamme
-
Method Summary
Modifier and TypeMethodDescriptioncreateTable(String tableName, String selectStatement, IDatabaseConnection connection) createTable(String tableName, PreparedStatement preparedStatement, IDatabaseConnection connection) Creates a table from a preparedStatementcreateTable(ITableMetaData metaData, IDatabaseConnection connection)
-
Method Details
-
createTable
IResultSetTable createTable(String tableName, String selectStatement, IDatabaseConnection connection) throws SQLException, DataSetException - Throws:
SQLExceptionDataSetException
-
createTable
IResultSetTable createTable(ITableMetaData metaData, IDatabaseConnection connection) throws SQLException, DataSetException - Throws:
SQLExceptionDataSetException
-
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:
SQLExceptionDataSetException- Since:
- 2.4.4
-