Package org.dbunit.database
Class ForwardOnlyResultSetTableFactory
java.lang.Object
org.dbunit.database.ForwardOnlyResultSetTableFactory
- All Implemented Interfaces:
IResultSetTableFactory
- Since:
- 2.0 (Jul 31, 2003)
- Version:
- $Revision$ $Date$
- Author:
- manuel.laflamme, Last changed by: $Author$
-
Constructor Summary
Constructors -
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)
-
Constructor Details
-
ForwardOnlyResultSetTableFactory
public ForwardOnlyResultSetTableFactory()
-
-
Method Details
-
createTable
public IResultSetTable createTable(String tableName, String selectStatement, IDatabaseConnection connection) throws SQLException, DataSetException - Specified by:
createTablein interfaceIResultSetTableFactory- Throws:
SQLExceptionDataSetException
-
createTable
public IResultSetTable createTable(ITableMetaData metaData, IDatabaseConnection connection) throws SQLException, DataSetException - Specified by:
createTablein interfaceIResultSetTableFactory- Throws:
SQLExceptionDataSetException
-
createTable
public IResultSetTable createTable(String tableName, PreparedStatement preparedStatement, IDatabaseConnection connection) throws SQLException, DataSetException Description copied from interface:IResultSetTableFactoryCreates a table from a preparedStatement- Specified by:
createTablein interfaceIResultSetTableFactory- Parameters:
tableName-preparedStatement-connection-- Returns:
- The table based on a SQL result set
- Throws:
SQLExceptionDataSetException
-