org.mule.module.db.internal.domain.statement
Interface ConfigurableStatementFactory

All Superinterfaces:
StatementFactory
All Known Implementing Classes:
QueryStatementFactory

public interface ConfigurableStatementFactory
extends StatementFactory

Provides extra customization to a StatementFactory


Method Summary
 void setFetchSize(int size)
          Indicates how many rows should fetched from the database any time more rows are requested on any resultSet returned by a statement created by this factory
 void setMaxRows(int max)
          Sets the maximum numbers of rows that will be returned by any resultSet returned by a statement created by this factory
 
Methods inherited from interface org.mule.module.db.internal.domain.statement.StatementFactory
create, create
 

Method Detail

setMaxRows

void setMaxRows(int max)
Sets the maximum numbers of rows that will be returned by any resultSet returned by a statement created by this factory

Parameters:
max - the new max rows limit; zero means there is no limit

setFetchSize

void setFetchSize(int size)
Indicates how many rows should fetched from the database any time more rows are requested on any resultSet returned by a statement created by this factory

Parameters:
size - the number of rows to fetch


Copyright © 2003–2014 MuleSoft, Inc.. All rights reserved.