public interface SQLStatement extends Statement
CLOSE_ALL_RESULTS, CLOSE_CURRENT_RESULT, EXECUTE_FAILED, KEEP_CURRENT_RESULT, NO_GENERATED_KEYS, RETURN_GENERATED_KEYS, SUCCESS_NO_INFO| Modifier and Type | Method and Description |
|---|---|
default void |
addBatch(String sql) |
default void |
clearBatch() |
default void |
closeOnCompletion() |
default boolean |
execute(String sql,
int autoGeneratedKeys) |
default boolean |
execute(String sql,
int[] columnIndexes) |
default boolean |
execute(String sql,
String[] columnNames) |
default int[] |
executeBatch() |
default int |
executeUpdate(String sql,
int autoGeneratedKeys) |
default int |
executeUpdate(String sql,
int[] columnIndexes) |
default int |
executeUpdate(String sql,
String[] columnNames) |
default ResultSet |
getGeneratedKeys() |
default int |
getMaxFieldSize() |
default int |
getResultSetConcurrency() |
default int |
getResultSetHoldability() |
default void |
setCursorName(String name) |
default void |
setEscapeProcessing(boolean enable) |
default void |
setMaxFieldSize(int max) |
default void |
setPoolable(boolean poolable) |
cancel, clearWarnings, close, execute, executeLargeBatch, executeLargeUpdate, executeLargeUpdate, executeLargeUpdate, executeLargeUpdate, executeQuery, executeUpdate, getConnection, getFetchDirection, getFetchSize, getLargeMaxRows, getLargeUpdateCount, getMaxRows, getMoreResults, getMoreResults, getQueryTimeout, getResultSet, getResultSetType, getUpdateCount, getWarnings, isClosed, isCloseOnCompletion, isPoolable, setFetchDirection, setFetchSize, setLargeMaxRows, setMaxRows, setQueryTimeoutisWrapperFor, unwrapdefault int getMaxFieldSize()
throws SQLException
getMaxFieldSize in interface StatementSQLExceptiondefault void setMaxFieldSize(int max)
throws SQLException
setMaxFieldSize in interface StatementSQLExceptiondefault void setEscapeProcessing(boolean enable)
throws SQLException
setEscapeProcessing in interface StatementSQLExceptiondefault void setCursorName(String name) throws SQLException
setCursorName in interface StatementSQLExceptiondefault int getResultSetConcurrency()
throws SQLException
getResultSetConcurrency in interface StatementSQLExceptiondefault void addBatch(String sql) throws SQLException
addBatch in interface StatementSQLExceptiondefault void clearBatch()
throws SQLException
clearBatch in interface StatementSQLExceptiondefault int[] executeBatch()
throws SQLException
executeBatch in interface StatementSQLExceptiondefault ResultSet getGeneratedKeys() throws SQLException
getGeneratedKeys in interface StatementSQLExceptiondefault int executeUpdate(String sql, int autoGeneratedKeys) throws SQLException
executeUpdate in interface StatementSQLExceptiondefault int executeUpdate(String sql, int[] columnIndexes) throws SQLException
executeUpdate in interface StatementSQLExceptiondefault int executeUpdate(String sql, String[] columnNames) throws SQLException
executeUpdate in interface StatementSQLExceptiondefault boolean execute(String sql, int autoGeneratedKeys) throws SQLException
execute in interface StatementSQLExceptiondefault boolean execute(String sql, int[] columnIndexes) throws SQLException
execute in interface StatementSQLExceptiondefault boolean execute(String sql, String[] columnNames) throws SQLException
execute in interface StatementSQLExceptiondefault int getResultSetHoldability()
throws SQLException
getResultSetHoldability in interface StatementSQLExceptiondefault void setPoolable(boolean poolable)
throws SQLException
setPoolable in interface StatementSQLExceptiondefault void closeOnCompletion()
throws SQLException
closeOnCompletion in interface StatementSQLExceptionCopyright © 2023 The Apache Software Foundation. All rights reserved.