@Deprecated public class ThinStatement extends Object implements Statement
CLOSE_ALL_RESULTS, CLOSE_CURRENT_RESULT, EXECUTE_FAILED, KEEP_CURRENT_RESULT, NO_GENERATED_KEYS, RETURN_GENERATED_KEYS, SUCCESS_NO_INFO| Constructor and Description |
|---|
ThinStatement(ThinConnection connection)
Deprecated.
|
ThinStatement(ThinConnection connection,
int resultSetType,
int resultSetConcurrency)
Deprecated.
|
ThinStatement(ThinConnection connection,
int rsType,
int rsConcurrency,
int rsHoldability)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addBatch(String arg0)
Deprecated.
|
void |
cancel()
Deprecated.
|
void |
clearBatch()
Deprecated.
|
void |
clearWarnings()
Deprecated.
|
void |
close()
Deprecated.
|
void |
closeOnCompletion()
Deprecated.
|
boolean |
execute(String sql)
Deprecated.
|
boolean |
execute(String sql,
int autoGeneratedKeys)
Deprecated.
|
boolean |
execute(String sql,
int[] arg1)
Deprecated.
|
boolean |
execute(String sql,
String[] arg1)
Deprecated.
|
int[] |
executeBatch()
Deprecated.
|
ResultSet |
executeQuery(String sql)
Deprecated.
|
int |
executeUpdate(String sql)
Deprecated.
|
int |
executeUpdate(String sql,
int arg1)
Deprecated.
|
int |
executeUpdate(String sql,
int[] arg1)
Deprecated.
|
int |
executeUpdate(String sql,
String[] arg1)
Deprecated.
|
Connection |
getConnection()
Deprecated.
|
int |
getFetchDirection()
Deprecated.
|
int |
getFetchSize()
Deprecated.
|
ResultSet |
getGeneratedKeys()
Deprecated.
|
int |
getMaxFieldSize()
Deprecated.
|
int |
getMaxRows()
Deprecated.
|
boolean |
getMoreResults()
Deprecated.
|
boolean |
getMoreResults(int current)
Deprecated.
|
int |
getQueryTimeout()
Deprecated.
|
ResultSet |
getResultSet()
Deprecated.
|
int |
getResultSetConcurrency()
Deprecated.
|
int |
getResultSetHoldability()
Deprecated.
|
int |
getResultSetType()
Deprecated.
|
int |
getUpdateCount()
Deprecated.
|
SQLWarning |
getWarnings()
Deprecated.
|
boolean |
isClosed()
Deprecated.
|
boolean |
isCloseOnCompletion()
Deprecated.
|
boolean |
isPoolable()
Deprecated.
|
boolean |
isWrapperFor(Class<?> iface)
Deprecated.
|
void |
setCursorName(String arg0)
Deprecated.
|
void |
setEscapeProcessing(boolean arg0)
Deprecated.
|
void |
setFetchDirection(int arg0)
Deprecated.
|
void |
setFetchSize(int arg0)
Deprecated.
|
void |
setMaxFieldSize(int arg0)
Deprecated.
|
void |
setMaxRows(int maxRows)
Deprecated.
|
void |
setPoolable(boolean arg0)
Deprecated.
|
void |
setQueryTimeout(int arg0)
Deprecated.
|
<T> T |
unwrap(Class<T> iface)
Deprecated.
|
public ThinStatement(ThinConnection connection, int resultSetType, int resultSetConcurrency)
public ThinStatement(ThinConnection connection, int rsType, int rsConcurrency, int rsHoldability)
public ThinStatement(ThinConnection connection)
public boolean isWrapperFor(Class<?> iface) throws SQLException
isWrapperFor in interface WrapperSQLExceptionpublic <T> T unwrap(Class<T> iface) throws SQLException
unwrap in interface WrapperSQLExceptionpublic void addBatch(String arg0) throws SQLException
addBatch in interface StatementSQLExceptionpublic void cancel()
throws SQLException
cancel in interface StatementSQLExceptionpublic void clearBatch()
throws SQLException
clearBatch in interface StatementSQLExceptionpublic void clearWarnings()
throws SQLException
clearWarnings in interface StatementSQLExceptionpublic void close()
throws SQLException
close in interface AutoCloseableclose in interface StatementSQLExceptionpublic boolean execute(String sql) throws SQLException
execute in interface StatementSQLExceptionpublic boolean execute(String sql, int autoGeneratedKeys) throws SQLException
execute in interface StatementSQLExceptionpublic boolean execute(String sql, int[] arg1) throws SQLException
execute in interface StatementSQLExceptionpublic boolean execute(String sql, String[] arg1) throws SQLException
execute in interface StatementSQLExceptionpublic int[] executeBatch()
throws SQLException
executeBatch in interface StatementSQLExceptionpublic ResultSet executeQuery(String sql) throws SQLException
executeQuery in interface StatementSQLExceptionpublic int executeUpdate(String sql) throws SQLException
executeUpdate in interface StatementSQLExceptionpublic int executeUpdate(String sql, int arg1) throws SQLException
executeUpdate in interface StatementSQLExceptionpublic int executeUpdate(String sql, int[] arg1) throws SQLException
executeUpdate in interface StatementSQLExceptionpublic int executeUpdate(String sql, String[] arg1) throws SQLException
executeUpdate in interface StatementSQLExceptionpublic Connection getConnection() throws SQLException
getConnection in interface StatementSQLExceptionpublic int getFetchDirection()
throws SQLException
getFetchDirection in interface StatementSQLExceptionpublic int getFetchSize()
throws SQLException
getFetchSize in interface StatementSQLExceptionpublic ResultSet getGeneratedKeys() throws SQLException
getGeneratedKeys in interface StatementSQLExceptionpublic int getMaxFieldSize()
throws SQLException
getMaxFieldSize in interface StatementSQLExceptionpublic boolean getMoreResults()
throws SQLException
getMoreResults in interface StatementSQLExceptionpublic boolean getMoreResults(int current)
throws SQLException
getMoreResults in interface StatementSQLExceptionpublic int getQueryTimeout()
throws SQLException
getQueryTimeout in interface StatementSQLExceptionpublic ResultSet getResultSet() throws SQLException
getResultSet in interface StatementSQLExceptionpublic int getResultSetConcurrency()
throws SQLException
getResultSetConcurrency in interface StatementSQLExceptionpublic int getResultSetHoldability()
throws SQLException
getResultSetHoldability in interface StatementSQLExceptionpublic int getResultSetType()
throws SQLException
getResultSetType in interface StatementSQLExceptionpublic int getUpdateCount()
throws SQLException
getUpdateCount in interface StatementSQLExceptionpublic SQLWarning getWarnings() throws SQLException
getWarnings in interface StatementSQLExceptionpublic boolean isClosed()
throws SQLException
isClosed in interface StatementSQLExceptionpublic boolean isPoolable()
throws SQLException
isPoolable in interface StatementSQLExceptionpublic void setCursorName(String arg0) throws SQLException
setCursorName in interface StatementSQLExceptionpublic void setEscapeProcessing(boolean arg0)
throws SQLException
setEscapeProcessing in interface StatementSQLExceptionpublic void setFetchDirection(int arg0)
throws SQLException
setFetchDirection in interface StatementSQLExceptionpublic void setFetchSize(int arg0)
throws SQLException
setFetchSize in interface StatementSQLExceptionpublic void setMaxFieldSize(int arg0)
throws SQLException
setMaxFieldSize in interface StatementSQLExceptionpublic void setPoolable(boolean arg0)
throws SQLException
setPoolable in interface StatementSQLExceptionpublic void setQueryTimeout(int arg0)
throws SQLException
setQueryTimeout in interface StatementSQLExceptionpublic int getMaxRows()
getMaxRows in interface Statementpublic void setMaxRows(int maxRows)
setMaxRows in interface StatementmaxRows - the maxRows to setpublic void closeOnCompletion()
throws SQLException
closeOnCompletion in interface StatementSQLExceptionpublic boolean isCloseOnCompletion()
throws SQLException
isCloseOnCompletion in interface StatementSQLException