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, setFetchDirectionisWrapperFor, recordMethodInvocation, replayMethodsInvocation, throwSQLExceptionIfNecessary, unwrapclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitexecute, execute, execute, execute, executeLargeBatch, executeLargeUpdate, executeLargeUpdate, executeLargeUpdate, executeLargeUpdate, executeQuery, executeUpdate, executeUpdate, executeUpdate, executeUpdate, getConnection, getGeneratedKeys, getLargeMaxRows, getLargeUpdateCount, getResultSet, getResultSetConcurrency, getResultSetHoldability, getResultSetType, setLargeMaxRowsisWrapperFor, unwrappublic final void close()
throws SQLException
SQLExceptionpublic final boolean isClosed()
public final boolean isPoolable()
public final void setPoolable(boolean poolable)
throws SQLException
SQLExceptionpublic final int getFetchSize()
public final void setFetchSize(int rows)
throws SQLException
SQLExceptionpublic final void setEscapeProcessing(boolean enable)
throws SQLException
SQLExceptionpublic final void cancel()
throws SQLException
SQLExceptionpublic final int getUpdateCount()
throws SQLException
SQLExceptionpublic SQLWarning getWarnings()
public void clearWarnings()
public final boolean getMoreResults()
public final boolean getMoreResults(int current)
public final int getMaxFieldSize()
throws SQLException
SQLExceptionpublic final void setMaxFieldSize(int max)
throws SQLException
SQLExceptionpublic final int getMaxRows()
throws SQLException
SQLExceptionpublic final void setMaxRows(int max)
throws SQLException
SQLExceptionpublic final int getQueryTimeout()
throws SQLException
SQLExceptionpublic final void setQueryTimeout(int seconds)
throws SQLException
SQLExceptionprotected abstract Collection<? extends Statement> getRoutedStatements()
Copyright © 2018. All rights reserved.