public interface ConfigurableStatementFactory extends StatementFactory
StatementFactory
Modifier and Type | Method and Description |
---|---|
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
|
void |
setQueryTimeout(int queryTimeout)
Indicates the minimum amount of time in seconds before the JDBC driver
attempts to cancel a running statement.
|
create, create
void setMaxRows(int max)
max
- the new max rows limit; zero means there is no limitvoid setFetchSize(int size)
size
- the number of rows to fetchvoid setQueryTimeout(int queryTimeout)
queryTimeout
- number of seconds to wait. Non negative. Zero means no timeout.Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.