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