public interface Statement
Modifier and Type | Method and Description |
---|---|
void |
addBatch(String sql) |
void |
cancel() |
void |
clearBatch() |
void |
clearWarnings() |
void |
close() |
boolean |
execute(String sql) |
int[] |
executeBatch() |
ResultSet |
executeQuery(String sql) |
int |
executeUpdate(String sql) |
Connection |
getConnection() |
int |
getFetchDirection() |
int |
getFetchSize() |
int |
getMaxFieldSize() |
int |
getMaxRows() |
boolean |
getMoreResults() |
int |
getQueryTimeout() |
ResultSet |
getResultSet() |
int |
getResultSetConcurrency() |
int |
getResultSetType() |
int |
getUpdateCount() |
SQLWarning |
getWarnings() |
void |
setCursorName(String name) |
void |
setEscapeProcessing(boolean enable) |
void |
setFetchDirection(int direction) |
void |
setFetchSize(int rows) |
void |
setMaxFieldSize(int max) |
void |
setMaxRows(int max) |
void |
setQueryTimeout(int seconds) |
void addBatch(String sql) throws SQLException
SQLException
void cancel() throws SQLException
SQLException
void clearBatch() throws SQLException
SQLException
void clearWarnings() throws SQLException
SQLException
void close() throws SQLException
SQLException
boolean execute(String sql) throws SQLException
SQLException
int[] executeBatch() throws SQLException
SQLException
ResultSet executeQuery(String sql) throws SQLException
SQLException
int executeUpdate(String sql) throws SQLException
SQLException
Connection getConnection() throws SQLException
SQLException
int getFetchDirection() throws SQLException
SQLException
int getFetchSize() throws SQLException
SQLException
int getMaxFieldSize() throws SQLException
SQLException
int getMaxRows() throws SQLException
SQLException
boolean getMoreResults() throws SQLException
SQLException
int getQueryTimeout() throws SQLException
SQLException
ResultSet getResultSet() throws SQLException
SQLException
int getResultSetConcurrency() throws SQLException
SQLException
int getResultSetType() throws SQLException
SQLException
int getUpdateCount() throws SQLException
SQLException
SQLWarning getWarnings() throws SQLException
SQLException
void setCursorName(String name) throws SQLException
SQLException
void setEscapeProcessing(boolean enable) throws SQLException
SQLException
void setFetchDirection(int direction) throws SQLException
SQLException
void setFetchSize(int rows) throws SQLException
SQLException
void setMaxFieldSize(int max) throws SQLException
SQLException
void setMaxRows(int max) throws SQLException
SQLException
void setQueryTimeout(int seconds) throws SQLException
SQLException