org.dbunit.database
Class CachedResultSetTable

java.lang.Object
  extended by org.dbunit.dataset.AbstractTable
      extended by org.dbunit.dataset.DefaultTable
          extended by org.dbunit.dataset.CachedTable
              extended by org.dbunit.database.CachedResultSetTable
All Implemented Interfaces:
IResultSetTable, ITable

public class CachedResultSetTable
extends CachedTable
implements IResultSetTable

Since:
Feb 20, 2002
Version:
$Revision: 671 $
Author:
Manuel Laflamme

Field Summary
 
Fields inherited from interface org.dbunit.dataset.ITable
NO_VALUE
 
Constructor Summary
CachedResultSetTable(IResultSetTable table)
           
CachedResultSetTable(ITableMetaData metaData, IDatabaseConnection connection)
           
CachedResultSetTable(ITableMetaData metaData, java.sql.ResultSet resultSet)
          Deprecated. since 2.3.0 prefer direct usage of ForwardOnlyResultSetTable.ForwardOnlyResultSetTable(ITableMetaData, ResultSet)
 
Method Summary
 void close()
           
 
Methods inherited from class org.dbunit.dataset.DefaultTable
addRow, addRow, addTableRows, getRowCount, getTableMetaData, getValue, setValue, toString
 
Methods inherited from class org.dbunit.dataset.AbstractTable
assertValidColumn, assertValidRowIndex, assertValidRowIndex, getColumnIndex
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.dbunit.dataset.ITable
getRowCount, getTableMetaData, getValue
 

Constructor Detail

CachedResultSetTable

public CachedResultSetTable(ITableMetaData metaData,
                            java.sql.ResultSet resultSet)
                     throws java.sql.SQLException,
                            DataSetException
Deprecated. since 2.3.0 prefer direct usage of ForwardOnlyResultSetTable.ForwardOnlyResultSetTable(ITableMetaData, ResultSet)

Parameters:
metaData -
resultSet -
Throws:
java.sql.SQLException
DataSetException

CachedResultSetTable

public CachedResultSetTable(ITableMetaData metaData,
                            IDatabaseConnection connection)
                     throws java.sql.SQLException,
                            DataSetException
Throws:
java.sql.SQLException
DataSetException

CachedResultSetTable

public CachedResultSetTable(IResultSetTable table)
                     throws DataSetException,
                            java.sql.SQLException
Throws:
DataSetException
java.sql.SQLException
Method Detail

close

public void close()
           throws DataSetException
Specified by:
close in interface IResultSetTable
Throws:
DataSetException


Copyright © 2002-2008. All Rights Reserved.