public class DruidPooledStatement extends PoolableWrapper implements Statement
| 构造器和说明 |
|---|
DruidPooledStatement(DruidPooledConnection conn,
Statement stmt) |
isWrapperForisWrapperForpublic DruidPooledStatement(DruidPooledConnection conn, Statement stmt)
public int getFetchRowPeak()
public DruidPooledConnection getPoolableConnection()
public void setPoolableConnection(DruidPooledConnection conn)
public Statement getStatement()
public void incrementExecuteCount()
public final ResultSet executeQuery(String sql) throws SQLException
executeQuery 在接口中 StatementSQLExceptionpublic final int executeUpdate(String sql) throws SQLException
executeUpdate 在接口中 StatementSQLExceptionpublic final int executeUpdate(String sql, int autoGeneratedKeys) throws SQLException
executeUpdate 在接口中 StatementSQLExceptionpublic final int executeUpdate(String sql, int[] columnIndexes) throws SQLException
executeUpdate 在接口中 StatementSQLExceptionpublic final int executeUpdate(String sql, String[] columnNames) throws SQLException
executeUpdate 在接口中 StatementSQLExceptionpublic final boolean execute(String sql, int autoGeneratedKeys) throws SQLException
execute 在接口中 StatementSQLExceptionpublic final boolean execute(String sql, int[] columnIndexes) throws SQLException
execute 在接口中 StatementSQLExceptionpublic final boolean execute(String sql, String[] columnNames) throws SQLException
execute 在接口中 StatementSQLExceptionpublic int getMaxFieldSize()
throws SQLException
getMaxFieldSize 在接口中 StatementSQLExceptionpublic void close()
throws SQLException
close 在接口中 AutoCloseableclose 在接口中 StatementSQLExceptionpublic void setMaxFieldSize(int max)
throws SQLException
setMaxFieldSize 在接口中 StatementSQLExceptionpublic final int getMaxRows()
throws SQLException
getMaxRows 在接口中 StatementSQLExceptionpublic void setMaxRows(int max)
throws SQLException
setMaxRows 在接口中 StatementSQLExceptionpublic final void setEscapeProcessing(boolean enable)
throws SQLException
setEscapeProcessing 在接口中 StatementSQLExceptionpublic final int getQueryTimeout()
throws SQLException
getQueryTimeout 在接口中 StatementSQLExceptionpublic void setQueryTimeout(int seconds)
throws SQLException
setQueryTimeout 在接口中 StatementSQLExceptionpublic final void cancel()
throws SQLException
cancel 在接口中 StatementSQLExceptionpublic final SQLWarning getWarnings() throws SQLException
getWarnings 在接口中 StatementSQLExceptionpublic final void clearWarnings()
throws SQLException
clearWarnings 在接口中 StatementSQLExceptionpublic final void setCursorName(String name) throws SQLException
setCursorName 在接口中 StatementSQLExceptionpublic final boolean execute(String sql) throws SQLException
execute 在接口中 StatementSQLExceptionpublic final ResultSet getResultSet() throws SQLException
getResultSet 在接口中 StatementSQLExceptionpublic final int getUpdateCount()
throws SQLException
getUpdateCount 在接口中 StatementSQLExceptionpublic final boolean getMoreResults()
throws SQLException
getMoreResults 在接口中 StatementSQLExceptionpublic void setFetchDirection(int direction)
throws SQLException
setFetchDirection 在接口中 StatementSQLExceptionpublic final int getFetchDirection()
throws SQLException
getFetchDirection 在接口中 StatementSQLExceptionpublic void setFetchSize(int rows)
throws SQLException
setFetchSize 在接口中 StatementSQLExceptionpublic final int getFetchSize()
throws SQLException
getFetchSize 在接口中 StatementSQLExceptionpublic final int getResultSetConcurrency()
throws SQLException
getResultSetConcurrency 在接口中 StatementSQLExceptionpublic final int getResultSetType()
throws SQLException
getResultSetType 在接口中 StatementSQLExceptionpublic final void addBatch(String sql) throws SQLException
addBatch 在接口中 StatementSQLExceptionpublic final void clearBatch()
throws SQLException
clearBatch 在接口中 StatementSQLExceptionpublic int[] executeBatch()
throws SQLException
executeBatch 在接口中 StatementSQLExceptionpublic final Connection getConnection() throws SQLException
getConnection 在接口中 StatementSQLExceptionpublic final boolean getMoreResults(int current)
throws SQLException
getMoreResults 在接口中 StatementSQLExceptionpublic final ResultSet getGeneratedKeys() throws SQLException
getGeneratedKeys 在接口中 StatementSQLExceptionpublic final int getResultSetHoldability()
throws SQLException
getResultSetHoldability 在接口中 StatementSQLExceptionpublic final boolean isClosed()
throws SQLException
isClosed 在接口中 StatementSQLExceptionpublic final void setPoolable(boolean poolable)
throws SQLException
setPoolable 在接口中 StatementSQLExceptionpublic final boolean isPoolable()
throws SQLException
isPoolable 在接口中 StatementSQLExceptionpublic void closeOnCompletion()
throws SQLException
closeOnCompletion 在接口中 StatementSQLExceptionpublic boolean isCloseOnCompletion()
throws SQLException
isCloseOnCompletion 在接口中 StatementSQLExceptionpublic <T> T unwrap(Class<T> iface) throws SQLException
unwrap 在接口中 Wrapperunwrap 在类中 PoolableWrapperSQLExceptionCopyright © 2012 Alibaba Group. All Rights Reserved.