public class StatementWrapper extends Object implements Statement
| 限定符和类型 | 字段和说明 |
|---|---|
protected ConnectionWrapper |
wrapperedConn |
protected Statement |
wrapperedStmt |
| 构造器和说明 |
|---|
StatementWrapper(ConnectionWrapper conn,
XgPooledConnection pConn,
Statement stm) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
addBatch(String sql) |
void |
cancel()
(non-Javadoc)
|
protected boolean |
checkClosed() |
void |
clearBatch()
(non-Javadoc)
|
void |
clearWarnings()
(non-Javadoc)
|
void |
close()
(non-Javadoc)
|
void |
closeOnCompletion() |
boolean |
execute(String sql)
(non-Javadoc)
|
boolean |
execute(String sql,
int autoGeneratedKeys)
(non-Javadoc)
|
boolean |
execute(String sql,
int[] columnIndexes)
(non-Javadoc)
|
boolean |
execute(String sql,
String[] columnNames)
(non-Javadoc)
|
int[] |
executeBatch()
(non-Javadoc)
|
long[] |
executeLargeBatch() |
long |
executeLargeUpdate(String arg0) |
long |
executeLargeUpdate(String arg0,
int arg1) |
long |
executeLargeUpdate(String arg0,
int[] arg1) |
long |
executeLargeUpdate(String arg0,
String[] arg1) |
ResultSet |
executeQuery(String sql)
(non-Javadoc)
|
int |
executeUpdate(String sql)
(non-Javadoc)
|
int |
executeUpdate(String sql,
int autoGeneratedKeys)
(non-Javadoc)
|
int |
executeUpdate(String sql,
int[] columnIndexes)
(non-Javadoc)
|
int |
executeUpdate(String sql,
String[] columnNames)
(non-Javadoc)
|
Connection |
getConnection()
(non-Javadoc)
|
int |
getFetchDirection()
(non-Javadoc)
|
int |
getFetchSize()
(non-Javadoc)
|
ResultSet |
getGeneratedKeys()
(non-Javadoc)
|
long |
getLargeMaxRows() |
long |
getLargeUpdateCount() |
int |
getMaxFieldSize()
(non-Javadoc)
|
int |
getMaxRows()
(non-Javadoc)
|
boolean |
getMoreResults()
(non-Javadoc)
|
boolean |
getMoreResults(int current)
(non-Javadoc)
|
int |
getQueryTimeout()
(non-Javadoc)
|
ResultSet |
getResultSet()
(non-Javadoc)
|
int |
getResultSetConcurrency()
(non-Javadoc)
|
int |
getResultSetHoldability()
(non-Javadoc)
|
int |
getResultSetType()
(non-Javadoc)
|
int |
getUpdateCount()
(non-Javadoc)
|
SQLWarning |
getWarnings()
(non-Javadoc)
|
boolean |
isClosed()
(non-Javadoc)
|
boolean |
isCloseOnCompletion() |
boolean |
isPoolable()
(non-Javadoc)
|
boolean |
isWrapperFor(Class iface)
(non-Javadoc)
|
void |
setCursorName(String name)
(non-Javadoc)
|
void |
setEscapeProcessing(boolean enable)
(non-Javadoc)
|
void |
setFetchDirection(int direction)
(non-Javadoc)
|
void |
setFetchSize(int rows)
(non-Javadoc)
|
void |
setLargeMaxRows(long arg0) |
void |
setMaxFieldSize(int max)
(non-Javadoc)
|
void |
setMaxRows(int max)
(non-Javadoc)
|
void |
setPoolable(boolean poolable)
(non-Javadoc)
|
void |
setQueryTimeout(int seconds)
(non-Javadoc)
|
Object |
unwrap(Class arg0) |
protected Statement wrapperedStmt
protected ConnectionWrapper wrapperedConn
public StatementWrapper(ConnectionWrapper conn, XgPooledConnection pConn, Statement stm)
public void addBatch(String sql) throws SQLException
addBatch 在接口中 StatementSQLExceptionpublic void cancel()
throws SQLException
cancel 在接口中 StatementSQLExceptionStatement.cancel()public void clearBatch()
throws SQLException
clearBatch 在接口中 StatementSQLExceptionStatement.clearBatch()public void clearWarnings()
throws SQLException
clearWarnings 在接口中 StatementSQLExceptionStatement.clearWarnings()public void close()
throws SQLException
close 在接口中 AutoCloseableclose 在接口中 StatementSQLExceptionStatement.close()public boolean execute(String sql) throws SQLException
execute 在接口中 StatementSQLExceptionStatement.execute(java.lang.String)public boolean execute(String sql, int autoGeneratedKeys) throws SQLException
execute 在接口中 StatementSQLExceptionStatement.execute(java.lang.String, int)public boolean execute(String sql, int[] columnIndexes) throws SQLException
execute 在接口中 StatementSQLExceptionStatement.execute(java.lang.String, int[])public boolean execute(String sql, String[] columnNames) throws SQLException
execute 在接口中 StatementSQLExceptionStatement.execute(java.lang.String, java.lang.String[])public int[] executeBatch()
throws SQLException
executeBatch 在接口中 StatementSQLExceptionStatement.executeBatch()public ResultSet executeQuery(String sql) throws SQLException
executeQuery 在接口中 StatementSQLExceptionStatement.executeQuery(java.lang.String)public int executeUpdate(String sql) throws SQLException
executeUpdate 在接口中 StatementSQLExceptionStatement.executeUpdate(java.lang.String)public int executeUpdate(String sql, int autoGeneratedKeys) throws SQLException
executeUpdate 在接口中 StatementSQLExceptionStatement.executeUpdate(java.lang.String, int)public int executeUpdate(String sql, int[] columnIndexes) throws SQLException
executeUpdate 在接口中 StatementSQLExceptionStatement.executeUpdate(java.lang.String, int[])public int executeUpdate(String sql, String[] columnNames) throws SQLException
public Connection getConnection() throws SQLException
getConnection 在接口中 StatementSQLExceptionStatement.getConnection()public int getFetchDirection()
throws SQLException
getFetchDirection 在接口中 StatementSQLExceptionStatement.getFetchDirection()public int getFetchSize()
throws SQLException
getFetchSize 在接口中 StatementSQLExceptionStatement.getFetchSize()public ResultSet getGeneratedKeys() throws SQLException
getGeneratedKeys 在接口中 StatementSQLExceptionStatement.getGeneratedKeys()public int getMaxFieldSize()
throws SQLException
getMaxFieldSize 在接口中 StatementSQLExceptionStatement.getMaxFieldSize()public int getMaxRows()
throws SQLException
getMaxRows 在接口中 StatementSQLExceptionStatement.getMaxRows()public boolean getMoreResults()
throws SQLException
getMoreResults 在接口中 StatementSQLExceptionStatement.getMoreResults()public boolean getMoreResults(int current)
throws SQLException
getMoreResults 在接口中 StatementSQLExceptionStatement.getMoreResults(int)public int getQueryTimeout()
throws SQLException
getQueryTimeout 在接口中 StatementSQLExceptionStatement.getQueryTimeout()public ResultSet getResultSet() throws SQLException
getResultSet 在接口中 StatementSQLExceptionStatement.getResultSet()public int getResultSetConcurrency()
throws SQLException
getResultSetConcurrency 在接口中 StatementSQLExceptionStatement.getResultSetConcurrency()public int getResultSetHoldability()
throws SQLException
getResultSetHoldability 在接口中 StatementSQLExceptionStatement.getResultSetHoldability()public int getResultSetType()
throws SQLException
getResultSetType 在接口中 StatementSQLExceptionStatement.getResultSetType()public int getUpdateCount()
throws SQLException
getUpdateCount 在接口中 StatementSQLExceptionStatement.getUpdateCount()public SQLWarning getWarnings() throws SQLException
getWarnings 在接口中 StatementSQLExceptionStatement.getWarnings()public boolean isClosed()
isClosed 在接口中 StatementStatement.isClosed()public boolean isPoolable()
throws SQLException
isPoolable 在接口中 StatementSQLExceptionStatement.isPoolable()public void setCursorName(String name) throws SQLException
setCursorName 在接口中 StatementSQLExceptionStatement.setCursorName(java.lang.String)public void setEscapeProcessing(boolean enable)
throws SQLException
setEscapeProcessing 在接口中 StatementSQLExceptionStatement.setEscapeProcessing(boolean)public void setFetchDirection(int direction)
throws SQLException
setFetchDirection 在接口中 StatementSQLExceptionStatement.setFetchDirection(int)public void setFetchSize(int rows)
throws SQLException
setFetchSize 在接口中 StatementSQLExceptionStatement.setFetchSize(int)public void setMaxFieldSize(int max)
throws SQLException
setMaxFieldSize 在接口中 StatementSQLExceptionStatement.setMaxFieldSize(int)public void setMaxRows(int max)
throws SQLException
setMaxRows 在接口中 StatementSQLExceptionStatement.setMaxRows(int)public void setPoolable(boolean poolable)
throws SQLException
setPoolable 在接口中 StatementSQLExceptionStatement.setPoolable(boolean)public void setQueryTimeout(int seconds)
throws SQLException
setQueryTimeout 在接口中 StatementSQLExceptionStatement.setQueryTimeout(int)public boolean isWrapperFor(Class iface) throws SQLException
isWrapperFor 在接口中 WrapperSQLExceptionWrapper.isWrapperFor(java.lang.Class)protected boolean checkClosed()
public void closeOnCompletion()
throws SQLException
closeOnCompletion 在接口中 StatementSQLExceptionpublic long[] executeLargeBatch()
throws SQLException
executeLargeBatch 在接口中 StatementSQLExceptionpublic long executeLargeUpdate(String arg0) throws SQLException
executeLargeUpdate 在接口中 StatementSQLExceptionpublic long executeLargeUpdate(String arg0, int arg1) throws SQLException
executeLargeUpdate 在接口中 StatementSQLExceptionpublic long executeLargeUpdate(String arg0, int[] arg1) throws SQLException
executeLargeUpdate 在接口中 StatementSQLExceptionpublic long executeLargeUpdate(String arg0, String[] arg1) throws SQLException
executeLargeUpdate 在接口中 StatementSQLExceptionpublic long getLargeMaxRows()
throws SQLException
getLargeMaxRows 在接口中 StatementSQLExceptionpublic long getLargeUpdateCount()
throws SQLException
getLargeUpdateCount 在接口中 StatementSQLExceptionpublic boolean isCloseOnCompletion()
throws SQLException
isCloseOnCompletion 在接口中 StatementSQLExceptionpublic void setLargeMaxRows(long arg0)
throws SQLException
setLargeMaxRows 在接口中 StatementSQLExceptionpublic Object unwrap(Class arg0) throws SQLException
unwrap 在接口中 WrapperSQLExceptionCopyright © 2025. All rights reserved.