public abstract class AbstractStatementAdapter extends AbstractUnsupportedOperationStatement
Statement
.CLOSE_ALL_RESULTS, CLOSE_CURRENT_RESULT, EXECUTE_FAILED, KEEP_CURRENT_RESULT, NO_GENERATED_KEYS, RETURN_GENERATED_KEYS, SUCCESS_NO_INFO
Constructor and Description |
---|
AbstractStatementAdapter() |
Modifier and Type | Method and Description |
---|---|
void |
cancel() |
void |
clearWarnings() |
void |
close() |
int |
getFetchSize() |
int |
getMaxFieldSize() |
int |
getMaxRows() |
boolean |
getMoreResults() |
boolean |
getMoreResults(int current) |
int |
getQueryTimeout() |
protected abstract Collection<? extends Statement> |
getRoutedStatements() |
int |
getUpdateCount() |
SQLWarning |
getWarnings() |
boolean |
isClosed() |
boolean |
isPoolable() |
void |
setEscapeProcessing(boolean enable) |
void |
setFetchSize(int rows) |
void |
setMaxFieldSize(int max) |
void |
setMaxRows(int max) |
void |
setPoolable(boolean poolable) |
void |
setQueryTimeout(int seconds) |
addBatch, clearBatch, closeOnCompletion, executeBatch, getFetchDirection, isCloseOnCompletion, setCursorName, setFetchDirection
isWrapperFor, recordMethodInvocation, replayMethodsInvocation, throwSQLExceptionIfNecessary, unwrap
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
execute, execute, execute, execute, executeLargeBatch, executeLargeUpdate, executeLargeUpdate, executeLargeUpdate, executeLargeUpdate, executeQuery, executeUpdate, executeUpdate, executeUpdate, executeUpdate, getConnection, getGeneratedKeys, getLargeMaxRows, getLargeUpdateCount, getResultSet, getResultSetConcurrency, getResultSetHoldability, getResultSetType, setLargeMaxRows
isWrapperFor, unwrap
public final void close() throws SQLException
SQLException
public final boolean isClosed()
public final boolean isPoolable()
public final void setPoolable(boolean poolable) throws SQLException
SQLException
public final int getFetchSize()
public final void setFetchSize(int rows) throws SQLException
SQLException
public final void setEscapeProcessing(boolean enable) throws SQLException
SQLException
public final void cancel() throws SQLException
SQLException
public final int getUpdateCount() throws SQLException
SQLException
public SQLWarning getWarnings()
public void clearWarnings()
public final boolean getMoreResults()
public final boolean getMoreResults(int current)
public final int getMaxFieldSize() throws SQLException
SQLException
public final void setMaxFieldSize(int max) throws SQLException
SQLException
public final int getMaxRows() throws SQLException
SQLException
public final void setMaxRows(int max) throws SQLException
SQLException
public final int getQueryTimeout() throws SQLException
SQLException
public final void setQueryTimeout(int seconds) throws SQLException
SQLException
protected abstract Collection<? extends Statement> getRoutedStatements()
Copyright © 2018. All rights reserved.