类 PreparedStatementWrapper
java.lang.Object
cool.scx.dao.spy.wrapper.StatementWrapper
cool.scx.dao.spy.wrapper.PreparedStatementWrapper
- 所有已实现的接口:
AutoCloseable,PreparedStatement,Statement,Wrapper
- 直接已知子类:
CallableStatementWrapper
-
字段概要
从类继承的字段 cool.scx.dao.spy.wrapper.StatementWrapper
eventListener -
构造器概要
构造器限定符构造器说明protectedPreparedStatementWrapper(PreparedStatement preparedStatement, SpyEventListener eventListener) -
方法概要
修饰符和类型方法说明voidaddBatch()voidbooleanexecute()longintbooleanisWrapperFor(Class<?> iface) voidvoidsetAsciiStream(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) voidsetFloat(int parameterIndex, float x) voidsetInt(int parameterIndex, int x) voidsetLong(int parameterIndex, long x) voidsetNCharacterStream(int parameterIndex, Reader value) voidsetNCharacterStream(int parameterIndex, Reader value, long length) voidvoidvoidvoidsetNString(int parameterIndex, String value) voidsetNull(int parameterIndex, int sqlType) voidvoidvoidvoidvoidvoidvoidvoidvoidsetShort(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从类继承的方法 cool.scx.dao.spy.wrapper.StatementWrapper
addBatch, cancel, clearBatch, clearWarnings, close, closeOnCompletion, enquoteIdentifier, enquoteLiteral, enquoteNCharLiteral, execute, execute, execute, execute, executeBatch, 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, setFetchDirection, setFetchSize, setLargeMaxRows, setMaxFieldSize, setMaxRows, setPoolable, setQueryTimeout从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait从接口继承的方法 java.sql.Statement
addBatch, cancel, clearBatch, clearWarnings, close, closeOnCompletion, enquoteIdentifier, enquoteLiteral, enquoteNCharLiteral, execute, execute, execute, execute, executeBatch, 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, setFetchDirection, setFetchSize, setLargeMaxRows, setMaxFieldSize, setMaxRows, setPoolable, setQueryTimeout从接口继承的方法 java.sql.Wrapper
isWrapperFor, unwrap
-
构造器详细资料
-
PreparedStatementWrapper
protected PreparedStatementWrapper(PreparedStatement preparedStatement, SpyEventListener eventListener)
-
-
方法详细资料
-
executeQuery
- 指定者:
executeQuery在接口中PreparedStatement- 抛出:
SQLException
-
executeUpdate
- 指定者:
executeUpdate在接口中PreparedStatement- 抛出:
SQLException
-
executeLargeUpdate
- 指定者:
executeLargeUpdate在接口中PreparedStatement- 抛出:
SQLException
-
execute
- 指定者:
execute在接口中PreparedStatement- 抛出:
SQLException
-
addBatch
- 指定者:
addBatch在接口中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(since="1.2") 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
-
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
-
setObject
public void setObject(int parameterIndex, Object x, SQLType targetSqlType, int scaleOrLength) throws SQLException - 指定者:
setObject在接口中PreparedStatement- 抛出:
SQLException
-
setObject
- 指定者:
setObject在接口中PreparedStatement- 抛出:
SQLException
-
unwrap
- 指定者:
unwrap在接口中Wrapper- 抛出:
SQLException
-
isWrapperFor
- 指定者:
isWrapperFor在接口中Wrapper- 抛出:
SQLException
-