1 21 package org.dbunit.database; 22 23 import org.dbunit.dataset.DataSetException; 24 import org.dbunit.dataset.ITableMetaData; 25 26 import java.sql.SQLException ; 27 28 34 public class ForwardOnlyResultSetTableFactory implements IResultSetTableFactory 35 { 36 public IResultSetTable createTable(String tableName, String selectStatement, 37 IDatabaseConnection connection) throws SQLException , DataSetException 38 { 39 return new ForwardOnlyResultSetTable(tableName, selectStatement, connection); 40 } 41 42 public IResultSetTable createTable(ITableMetaData metaData, 43 IDatabaseConnection connection) throws SQLException , DataSetException 44 { 45 return new ForwardOnlyResultSetTable(metaData, connection); 46 } 47 } 48 | Popular Tags |