类 DruidPooledPreparedStatement
java.lang.Object
com.alibaba.druid.pool.PoolableWrapper
com.alibaba.druid.pool.DruidPooledStatement
com.alibaba.druid.pool.DruidPooledPreparedStatement
- 所有已实现的接口:
AutoCloseable,PreparedStatement,Statement,Wrapper
- 直接已知子类:
DruidPooledCallableStatement
- 作者:
- wenshao [szujobs@hotmail.com]
-
嵌套类概要
嵌套类 -
字段概要
字段修饰符和类型字段说明protected final PreparedStatementHolderprotected booleanprotected final PreparedStatement从类继承的字段 com.alibaba.druid.pool.DruidPooledStatement
closed, conn, exceptionCount, fetchRowPeak, resultSetTrace -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明voidaddBatch()voidvoidclose()booleanexecute()int[]intintgetKey()getSql()booleanisPooled()booleanisWrapperFor(Class<?> iface) protected voidvoidvoidsetAsciiStream(int parameterIndex, InputStream x) voidsetAsciiStream(int parameterIndex, InputStream x, int length) voidsetAsciiStream(int parameterIndex, InputStream x, long length) voidsetBigDecimal(int parameterIndex, BigDecimal x) voidsetBinaryStream(int parameterIndex, InputStream x) voidsetBinaryStream(int parameterIndex, InputStream x, int length) voidsetBinaryStream(int parameterIndex, InputStream x, long length) voidsetBlob(int parameterIndex, InputStream inputStream) voidsetBlob(int parameterIndex, InputStream inputStream, long length) voidvoidsetBoolean(int parameterIndex, boolean x) voidsetByte(int parameterIndex, byte x) voidsetBytes(int parameterIndex, byte[] x) voidsetCharacterStream(int parameterIndex, Reader reader) voidsetCharacterStream(int parameterIndex, Reader reader, int length) voidsetCharacterStream(int parameterIndex, Reader reader, long length) voidvoidvoidvoidvoidvoidsetDouble(int parameterIndex, double x) voidsetFetchDirection(int direction) voidsetFetchSize(int rows) voidsetFloat(int parameterIndex, float x) voidsetInt(int parameterIndex, int x) voidsetLong(int parameterIndex, long x) voidsetMaxFieldSize(int max) voidsetMaxRows(int max) voidsetNCharacterStream(int parameterIndex, Reader value) voidsetNCharacterStream(int parameterIndex, Reader value, long length) voidvoidvoidvoidsetNString(int parameterIndex, String value) voidsetNull(int parameterIndex, int sqlType) voidvoidvoidvoidvoidsetQueryTimeout(int seconds) voidvoidvoidsetShort(int parameterIndex, short x) voidvoidvoidvoidvoidsetTimestamp(int parameterIndex, Timestamp x) voidsetTimestamp(int parameterIndex, Timestamp x, Calendar cal) voidsetUnicodeStream(int parameterIndex, InputStream x, int length) 已过时。void<T> T从类继承的方法 com.alibaba.druid.pool.DruidPooledStatement
addBatch, addResultSetTrace, cancel, checkException, checkException, checkOpen, clearBatch, clearResultSet, clearWarnings, closeOnCompletion, errorCheck, execute, execute, execute, execute, executeQuery, executeUpdate, executeUpdate, executeUpdate, executeUpdate, getConnection, getFetchDirection, getFetchRowPeak, getFetchSize, getGeneratedKeys, getMaxFieldSize, getMaxRows, getMoreResults, getMoreResults, getPoolableConnection, getQueryTimeout, getResultSet, getResultSetConcurrency, getResultSetHoldability, getResultSetType, getStatement, getUpdateCount, getWarnings, handleSocketTimeout, incrementExecuteBatchCount, incrementExecuteCount, incrementExecuteQueryCount, incrementExecuteUpdateCount, isClosed, isCloseOnCompletion, isPoolable, recordFetchRowCount, setCursorName, setEscapeProcessing, setPoolable, toString, transactionRecord从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait从接口继承的方法 java.sql.PreparedStatement
executeLargeUpdate, setObject, setObject从接口继承的方法 java.sql.Statement
addBatch, cancel, clearBatch, clearWarnings, closeOnCompletion, enquoteIdentifier, enquoteLiteral, enquoteNCharLiteral, execute, execute, execute, execute, executeLargeBatch, executeLargeUpdate, executeLargeUpdate, executeLargeUpdate, executeLargeUpdate, executeQuery, executeUpdate, executeUpdate, executeUpdate, executeUpdate, getConnection, getFetchDirection, getFetchSize, getGeneratedKeys, getLargeMaxRows, getLargeUpdateCount, getMaxFieldSize, getMaxRows, getMoreResults, getMoreResults, getQueryTimeout, getResultSet, getResultSetConcurrency, getResultSetHoldability, getResultSetType, getUpdateCount, getWarnings, isClosed, isCloseOnCompletion, isPoolable, isSimpleIdentifier, setCursorName, setEscapeProcessing, setLargeMaxRows, setPoolable
-
字段详细资料
-
holder
-
stmt
-
pooled
protected boolean pooled
-
-
构造器详细资料
-
DruidPooledPreparedStatement
public DruidPooledPreparedStatement(DruidPooledConnection conn, PreparedStatementHolder holder) throws SQLException - 抛出:
SQLException
-
-
方法详细资料
-
getPreparedStatementHolder
-
getHitCount
public int getHitCount() -
setFetchSize
- 指定者:
setFetchSize在接口中Statement- 覆盖:
setFetchSize在类中DruidPooledStatement- 抛出:
SQLException
-
setFetchDirection
- 指定者:
setFetchDirection在接口中Statement- 覆盖:
setFetchDirection在类中DruidPooledStatement- 抛出:
SQLException
-
setMaxFieldSize
- 指定者:
setMaxFieldSize在接口中Statement- 覆盖:
setMaxFieldSize在类中DruidPooledStatement- 抛出:
SQLException
-
setMaxRows
- 指定者:
setMaxRows在接口中Statement- 覆盖:
setMaxRows在类中DruidPooledStatement- 抛出:
SQLException
-
setQueryTimeout
- 指定者:
setQueryTimeout在接口中Statement- 覆盖:
setQueryTimeout在类中DruidPooledStatement- 抛出:
SQLException
-
getSql
-
getKey
-
getRawPreparedStatement
-
getRawStatement
-
close
- 指定者:
close在接口中AutoCloseable- 指定者:
close在接口中Statement- 覆盖:
close在类中DruidPooledStatement- 抛出:
SQLException
-
isPooled
public boolean isPooled() -
executeQuery
- 指定者:
executeQuery在接口中PreparedStatement- 抛出:
SQLException
-
executeUpdate
- 指定者:
executeUpdate在接口中PreparedStatement- 抛出:
SQLException
-
setNull
- 指定者:
setNull在接口中PreparedStatement- 抛出:
SQLException
-
setBoolean
- 指定者:
setBoolean在接口中PreparedStatement- 抛出:
SQLException
-
setByte
- 指定者:
setByte在接口中PreparedStatement- 抛出:
SQLException
-
setShort
- 指定者:
setShort在接口中PreparedStatement- 抛出:
SQLException
-
setInt
- 指定者:
setInt在接口中PreparedStatement- 抛出:
SQLException
-
setLong
- 指定者:
setLong在接口中PreparedStatement- 抛出:
SQLException
-
setFloat
- 指定者:
setFloat在接口中PreparedStatement- 抛出:
SQLException
-
setDouble
- 指定者:
setDouble在接口中PreparedStatement- 抛出:
SQLException
-
setBigDecimal
- 指定者:
setBigDecimal在接口中PreparedStatement- 抛出:
SQLException
-
setString
- 指定者:
setString在接口中PreparedStatement- 抛出:
SQLException
-
setBytes
- 指定者:
setBytes在接口中PreparedStatement- 抛出:
SQLException
-
setDate
- 指定者:
setDate在接口中PreparedStatement- 抛出:
SQLException
-
setTime
- 指定者:
setTime在接口中PreparedStatement- 抛出:
SQLException
-
setTimestamp
- 指定者:
setTimestamp在接口中PreparedStatement- 抛出:
SQLException
-
setAsciiStream
- 指定者:
setAsciiStream在接口中PreparedStatement- 抛出:
SQLException
-
setUnicodeStream
@Deprecated public void setUnicodeStream(int parameterIndex, InputStream x, int length) throws SQLException 已过时。- 指定者:
setUnicodeStream在接口中PreparedStatement- 抛出:
SQLException
-
setBinaryStream
- 指定者:
setBinaryStream在接口中PreparedStatement- 抛出:
SQLException
-
clearParameters
- 指定者:
clearParameters在接口中PreparedStatement- 抛出:
SQLException
-
setObject
- 指定者:
setObject在接口中PreparedStatement- 抛出:
SQLException
-
setObject
- 指定者:
setObject在接口中PreparedStatement- 抛出:
SQLException
-
execute
- 指定者:
execute在接口中PreparedStatement- 抛出:
SQLException
-
oracleSetRowPrefetch
- 抛出:
SQLException
-
addBatch
- 指定者:
addBatch在接口中PreparedStatement- 抛出:
SQLException
-
executeBatch
- 指定者:
executeBatch在接口中Statement- 覆盖:
executeBatch在类中DruidPooledStatement- 抛出:
SQLException
-
setCharacterStream
- 指定者:
setCharacterStream在接口中PreparedStatement- 抛出:
SQLException
-
setRef
- 指定者:
setRef在接口中PreparedStatement- 抛出:
SQLException
-
setBlob
- 指定者:
setBlob在接口中PreparedStatement- 抛出:
SQLException
-
setClob
- 指定者:
setClob在接口中PreparedStatement- 抛出:
SQLException
-
setArray
- 指定者:
setArray在接口中PreparedStatement- 抛出:
SQLException
-
getMetaData
- 指定者:
getMetaData在接口中PreparedStatement- 抛出:
SQLException
-
setDate
- 指定者:
setDate在接口中PreparedStatement- 抛出:
SQLException
-
setTime
- 指定者:
setTime在接口中PreparedStatement- 抛出:
SQLException
-
setTimestamp
- 指定者:
setTimestamp在接口中PreparedStatement- 抛出:
SQLException
-
setNull
- 指定者:
setNull在接口中PreparedStatement- 抛出:
SQLException
-
setURL
- 指定者:
setURL在接口中PreparedStatement- 抛出:
SQLException
-
getParameterMetaData
- 指定者:
getParameterMetaData在接口中PreparedStatement- 抛出:
SQLException
-
setRowId
- 指定者:
setRowId在接口中PreparedStatement- 抛出:
SQLException
-
setNString
- 指定者:
setNString在接口中PreparedStatement- 抛出:
SQLException
-
setNCharacterStream
- 指定者:
setNCharacterStream在接口中PreparedStatement- 抛出:
SQLException
-
setNClob
- 指定者:
setNClob在接口中PreparedStatement- 抛出:
SQLException
-
setClob
- 指定者:
setClob在接口中PreparedStatement- 抛出:
SQLException
-
setBlob
- 指定者:
setBlob在接口中PreparedStatement- 抛出:
SQLException
-
setNClob
- 指定者:
setNClob在接口中PreparedStatement- 抛出:
SQLException
-
setSQLXML
- 指定者:
setSQLXML在接口中PreparedStatement- 抛出:
SQLException
-
setObject
public void setObject(int parameterIndex, Object x, int targetSqlType, int scaleOrLength) throws SQLException - 指定者:
setObject在接口中PreparedStatement- 抛出:
SQLException
-
setAsciiStream
- 指定者:
setAsciiStream在接口中PreparedStatement- 抛出:
SQLException
-
setBinaryStream
- 指定者:
setBinaryStream在接口中PreparedStatement- 抛出:
SQLException
-
setCharacterStream
- 指定者:
setCharacterStream在接口中PreparedStatement- 抛出:
SQLException
-
setAsciiStream
- 指定者:
setAsciiStream在接口中PreparedStatement- 抛出:
SQLException
-
setBinaryStream
- 指定者:
setBinaryStream在接口中PreparedStatement- 抛出:
SQLException
-
setCharacterStream
- 指定者:
setCharacterStream在接口中PreparedStatement- 抛出:
SQLException
-
setNCharacterStream
- 指定者:
setNCharacterStream在接口中PreparedStatement- 抛出:
SQLException
-
setClob
- 指定者:
setClob在接口中PreparedStatement- 抛出:
SQLException
-
setBlob
- 指定者:
setBlob在接口中PreparedStatement- 抛出:
SQLException
-
setNClob
- 指定者:
setNClob在接口中PreparedStatement- 抛出:
SQLException
-
isWrapperFor
- 指定者:
isWrapperFor在接口中Wrapper- 覆盖:
isWrapperFor在类中PoolableWrapper- 抛出:
SQLException
-
unwrap
- 指定者:
unwrap在接口中Wrapper- 覆盖:
unwrap在类中PoolableWrapper- 抛出:
SQLException
-