org.dbunit.database
Class ForwardOnlyResultSetTableFactory

java.lang.Object
  extended by org.dbunit.database.ForwardOnlyResultSetTableFactory
All Implemented Interfaces:
IResultSetTableFactory

public class ForwardOnlyResultSetTableFactory
extends java.lang.Object
implements IResultSetTableFactory

Since:
2.0 (Jul 31, 2003)
Version:
$Revision: 965 $ $Date: 2009-02-22 21:19:26 +0100 (dom, 22 feb 2009) $
Author:
manuel.laflamme, Last changed by: $Author: gommma $

Constructor Summary
ForwardOnlyResultSetTableFactory()
           
 
Method Summary
 IResultSetTable createTable(ITableMetaData metaData, IDatabaseConnection connection)
           
 IResultSetTable createTable(java.lang.String tableName, java.sql.PreparedStatement preparedStatement, IDatabaseConnection connection)
          Creates a table from a preparedStatement
 IResultSetTable createTable(java.lang.String tableName, java.lang.String selectStatement, IDatabaseConnection connection)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ForwardOnlyResultSetTableFactory

public ForwardOnlyResultSetTableFactory()
Method Detail

createTable

public IResultSetTable createTable(java.lang.String tableName,
                                   java.lang.String selectStatement,
                                   IDatabaseConnection connection)
                            throws java.sql.SQLException,
                                   DataSetException
Specified by:
createTable in interface IResultSetTableFactory
Throws:
java.sql.SQLException
DataSetException

createTable

public IResultSetTable createTable(ITableMetaData metaData,
                                   IDatabaseConnection connection)
                            throws java.sql.SQLException,
                                   DataSetException
Specified by:
createTable in interface IResultSetTableFactory
Throws:
java.sql.SQLException
DataSetException

createTable

public IResultSetTable createTable(java.lang.String tableName,
                                   java.sql.PreparedStatement preparedStatement,
                                   IDatabaseConnection connection)
                            throws java.sql.SQLException,
                                   DataSetException
Description copied from interface: IResultSetTableFactory
Creates a table from a preparedStatement

Specified by:
createTable in interface IResultSetTableFactory
Returns:
The table based on a SQL result set
Throws:
java.sql.SQLException
DataSetException


Copyright © 2002-2009. All Rights Reserved.