类 CallableStatementWrapper
java.lang.Object
cool.scx.dao.spy.wrapper.StatementWrapper
cool.scx.dao.spy.wrapper.PreparedStatementWrapper
cool.scx.dao.spy.wrapper.CallableStatementWrapper
- 所有已实现的接口:
AutoCloseable,CallableStatement,PreparedStatement,Statement,Wrapper
-
字段概要
从类继承的字段 cool.scx.dao.spy.wrapper.StatementWrapper
eventListener -
构造器概要
构造器限定符构造器说明protectedCallableStatementWrapper(CallableStatement callableStatement, SpyEventListener eventListener) -
方法概要
修饰符和类型方法说明getArray(int parameterIndex) getBigDecimal(int parameterIndex) getBigDecimal(int parameterIndex, int scale) 已过时。getBigDecimal(String parameterName) getBlob(int parameterIndex) booleangetBoolean(int parameterIndex) booleangetBoolean(String parameterName) bytegetByte(int parameterIndex) bytebyte[]getBytes(int parameterIndex) byte[]getCharacterStream(int parameterIndex) getCharacterStream(String parameterName) getClob(int parameterIndex) getDate(int parameterIndex) doublegetDouble(int parameterIndex) doublefloatgetFloat(int parameterIndex) floatintgetInt(int parameterIndex) intlonggetLong(int parameterIndex) longgetNCharacterStream(int parameterIndex) getNCharacterStream(String parameterName) getNClob(int parameterIndex) getNString(int parameterIndex) getNString(String parameterName) getObject(int parameterIndex) <T> T<T> TgetRef(int parameterIndex) getRowId(int parameterIndex) shortgetShort(int parameterIndex) shortgetSQLXML(int parameterIndex) getString(int parameterIndex) getTime(int parameterIndex) getTimestamp(int parameterIndex) getTimestamp(int parameterIndex, Calendar cal) getTimestamp(String parameterName) getTimestamp(String parameterName, Calendar cal) getURL(int parameterIndex) booleanisWrapperFor(Class<?> iface) voidregisterOutParameter(int parameterIndex, int sqlType) voidregisterOutParameter(int parameterIndex, int sqlType, int scale) voidregisterOutParameter(int parameterIndex, int sqlType, String typeName) voidregisterOutParameter(int parameterIndex, SQLType sqlType) voidregisterOutParameter(int parameterIndex, SQLType sqlType, int scale) voidregisterOutParameter(int parameterIndex, SQLType sqlType, String typeName) voidregisterOutParameter(String parameterName, int sqlType) voidregisterOutParameter(String parameterName, int sqlType, int scale) voidregisterOutParameter(String parameterName, int sqlType, String typeName) voidregisterOutParameter(String parameterName, SQLType sqlType) voidregisterOutParameter(String parameterName, SQLType sqlType, int scale) voidregisterOutParameter(String parameterName, SQLType sqlType, String typeName) voidsetAsciiStream(String parameterName, InputStream x) voidsetAsciiStream(String parameterName, InputStream x, int length) voidsetAsciiStream(String parameterName, InputStream x, long length) voidsetBigDecimal(String parameterName, BigDecimal x) voidsetBinaryStream(String parameterName, InputStream x) voidsetBinaryStream(String parameterName, InputStream x, int length) voidsetBinaryStream(String parameterName, InputStream x, long length) voidsetBlob(String parameterName, InputStream inputStream) voidsetBlob(String parameterName, InputStream inputStream, long length) voidvoidsetBoolean(String parameterName, boolean x) voidvoidvoidsetCharacterStream(String parameterName, Reader reader) voidsetCharacterStream(String parameterName, Reader reader, int length) voidsetCharacterStream(String parameterName, Reader reader, long length) voidvoidvoidvoidvoidvoidvoidvoidvoidvoidsetNCharacterStream(String parameterName, Reader value) voidsetNCharacterStream(String parameterName, Reader value, long length) voidvoidvoidvoidsetNString(String parameterName, String value) voidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidsetTimestamp(String parameterName, Timestamp x) voidsetTimestamp(String parameterName, Timestamp x, Calendar cal) void<T> TbooleanwasNull()从类继承的方法 cool.scx.dao.spy.wrapper.PreparedStatementWrapper
addBatch, clearParameters, execute, executeLargeUpdate, executeQuery, executeUpdate, getMetaData, getParameterMetaData, setArray, setAsciiStream, setAsciiStream, setAsciiStream, setBigDecimal, setBinaryStream, setBinaryStream, setBinaryStream, setBlob, setBlob, setBlob, setBoolean, setByte, setBytes, setCharacterStream, setCharacterStream, setCharacterStream, setClob, setClob, setClob, setDate, setDate, setDouble, setFloat, setInt, setLong, setNCharacterStream, setNCharacterStream, setNClob, setNClob, setNClob, setNString, setNull, setNull, setObject, setObject, setObject, setObject, setObject, setRef, setRowId, setShort, setSQLXML, setString, setTime, setTime, setTimestamp, setTimestamp, setUnicodeStream, setURL从类继承的方法 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.PreparedStatement
addBatch, clearParameters, execute, executeLargeUpdate, executeQuery, executeUpdate, getMetaData, getParameterMetaData, setArray, setAsciiStream, setAsciiStream, setAsciiStream, setBigDecimal, setBinaryStream, setBinaryStream, setBinaryStream, setBlob, setBlob, setBlob, setBoolean, setByte, setBytes, setCharacterStream, setCharacterStream, setCharacterStream, setClob, setClob, setClob, setDate, setDate, setDouble, setFloat, setInt, setLong, setNCharacterStream, setNCharacterStream, setNClob, setNClob, setNClob, setNString, setNull, setNull, setObject, setObject, setObject, setObject, setObject, setRef, setRowId, setShort, setSQLXML, setString, setTime, setTime, setTimestamp, setTimestamp, setUnicodeStream, setURL从接口继承的方法 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
-
构造器详细资料
-
CallableStatementWrapper
protected CallableStatementWrapper(CallableStatement callableStatement, SpyEventListener eventListener)
-
-
方法详细资料
-
registerOutParameter
- 指定者:
registerOutParameter在接口中CallableStatement- 抛出:
SQLException
-
registerOutParameter
- 指定者:
registerOutParameter在接口中CallableStatement- 抛出:
SQLException
-
wasNull
- 指定者:
wasNull在接口中CallableStatement- 抛出:
SQLException
-
getString
- 指定者:
getString在接口中CallableStatement- 抛出:
SQLException
-
getBoolean
- 指定者:
getBoolean在接口中CallableStatement- 抛出:
SQLException
-
getByte
- 指定者:
getByte在接口中CallableStatement- 抛出:
SQLException
-
getShort
- 指定者:
getShort在接口中CallableStatement- 抛出:
SQLException
-
getInt
- 指定者:
getInt在接口中CallableStatement- 抛出:
SQLException
-
getLong
- 指定者:
getLong在接口中CallableStatement- 抛出:
SQLException
-
getFloat
- 指定者:
getFloat在接口中CallableStatement- 抛出:
SQLException
-
getDouble
- 指定者:
getDouble在接口中CallableStatement- 抛出:
SQLException
-
getBigDecimal
@Deprecated(since="1.2") public BigDecimal getBigDecimal(int parameterIndex, int scale) throws SQLException 已过时。- 指定者:
getBigDecimal在接口中CallableStatement- 抛出:
SQLException
-
getBytes
- 指定者:
getBytes在接口中CallableStatement- 抛出:
SQLException
-
getDate
- 指定者:
getDate在接口中CallableStatement- 抛出:
SQLException
-
getTime
- 指定者:
getTime在接口中CallableStatement- 抛出:
SQLException
-
getTimestamp
- 指定者:
getTimestamp在接口中CallableStatement- 抛出:
SQLException
-
getObject
- 指定者:
getObject在接口中CallableStatement- 抛出:
SQLException
-
getBigDecimal
- 指定者:
getBigDecimal在接口中CallableStatement- 抛出:
SQLException
-
getObject
- 指定者:
getObject在接口中CallableStatement- 抛出:
SQLException
-
getRef
- 指定者:
getRef在接口中CallableStatement- 抛出:
SQLException
-
getBlob
- 指定者:
getBlob在接口中CallableStatement- 抛出:
SQLException
-
getClob
- 指定者:
getClob在接口中CallableStatement- 抛出:
SQLException
-
getArray
- 指定者:
getArray在接口中CallableStatement- 抛出:
SQLException
-
getDate
- 指定者:
getDate在接口中CallableStatement- 抛出:
SQLException
-
getTime
- 指定者:
getTime在接口中CallableStatement- 抛出:
SQLException
-
getTimestamp
- 指定者:
getTimestamp在接口中CallableStatement- 抛出:
SQLException
-
registerOutParameter
public void registerOutParameter(int parameterIndex, int sqlType, String typeName) throws SQLException - 指定者:
registerOutParameter在接口中CallableStatement- 抛出:
SQLException
-
registerOutParameter
- 指定者:
registerOutParameter在接口中CallableStatement- 抛出:
SQLException
-
registerOutParameter
- 指定者:
registerOutParameter在接口中CallableStatement- 抛出:
SQLException
-
registerOutParameter
public void registerOutParameter(String parameterName, int sqlType, String typeName) throws SQLException - 指定者:
registerOutParameter在接口中CallableStatement- 抛出:
SQLException
-
getURL
- 指定者:
getURL在接口中CallableStatement- 抛出:
SQLException
-
setURL
- 指定者:
setURL在接口中CallableStatement- 抛出:
SQLException
-
setNull
- 指定者:
setNull在接口中CallableStatement- 抛出:
SQLException
-
setBoolean
- 指定者:
setBoolean在接口中CallableStatement- 抛出:
SQLException
-
setByte
- 指定者:
setByte在接口中CallableStatement- 抛出:
SQLException
-
setShort
- 指定者:
setShort在接口中CallableStatement- 抛出:
SQLException
-
setInt
- 指定者:
setInt在接口中CallableStatement- 抛出:
SQLException
-
setLong
- 指定者:
setLong在接口中CallableStatement- 抛出:
SQLException
-
setFloat
- 指定者:
setFloat在接口中CallableStatement- 抛出:
SQLException
-
setDouble
- 指定者:
setDouble在接口中CallableStatement- 抛出:
SQLException
-
setBigDecimal
- 指定者:
setBigDecimal在接口中CallableStatement- 抛出:
SQLException
-
setString
- 指定者:
setString在接口中CallableStatement- 抛出:
SQLException
-
setBytes
- 指定者:
setBytes在接口中CallableStatement- 抛出:
SQLException
-
setDate
- 指定者:
setDate在接口中CallableStatement- 抛出:
SQLException
-
setTime
- 指定者:
setTime在接口中CallableStatement- 抛出:
SQLException
-
setTimestamp
- 指定者:
setTimestamp在接口中CallableStatement- 抛出:
SQLException
-
setAsciiStream
- 指定者:
setAsciiStream在接口中CallableStatement- 抛出:
SQLException
-
setBinaryStream
- 指定者:
setBinaryStream在接口中CallableStatement- 抛出:
SQLException
-
setObject
public void setObject(String parameterName, Object x, int targetSqlType, int scale) throws SQLException - 指定者:
setObject在接口中CallableStatement- 抛出:
SQLException
-
setObject
- 指定者:
setObject在接口中CallableStatement- 抛出:
SQLException
-
setObject
- 指定者:
setObject在接口中CallableStatement- 抛出:
SQLException
-
setCharacterStream
- 指定者:
setCharacterStream在接口中CallableStatement- 抛出:
SQLException
-
setDate
- 指定者:
setDate在接口中CallableStatement- 抛出:
SQLException
-
setTime
- 指定者:
setTime在接口中CallableStatement- 抛出:
SQLException
-
setTimestamp
- 指定者:
setTimestamp在接口中CallableStatement- 抛出:
SQLException
-
setNull
- 指定者:
setNull在接口中CallableStatement- 抛出:
SQLException
-
getString
- 指定者:
getString在接口中CallableStatement- 抛出:
SQLException
-
getBoolean
- 指定者:
getBoolean在接口中CallableStatement- 抛出:
SQLException
-
getByte
- 指定者:
getByte在接口中CallableStatement- 抛出:
SQLException
-
getShort
- 指定者:
getShort在接口中CallableStatement- 抛出:
SQLException
-
getInt
- 指定者:
getInt在接口中CallableStatement- 抛出:
SQLException
-
getLong
- 指定者:
getLong在接口中CallableStatement- 抛出:
SQLException
-
getFloat
- 指定者:
getFloat在接口中CallableStatement- 抛出:
SQLException
-
getDouble
- 指定者:
getDouble在接口中CallableStatement- 抛出:
SQLException
-
getBytes
- 指定者:
getBytes在接口中CallableStatement- 抛出:
SQLException
-
getDate
- 指定者:
getDate在接口中CallableStatement- 抛出:
SQLException
-
getTime
- 指定者:
getTime在接口中CallableStatement- 抛出:
SQLException
-
getTimestamp
- 指定者:
getTimestamp在接口中CallableStatement- 抛出:
SQLException
-
getObject
- 指定者:
getObject在接口中CallableStatement- 抛出:
SQLException
-
getBigDecimal
- 指定者:
getBigDecimal在接口中CallableStatement- 抛出:
SQLException
-
getObject
- 指定者:
getObject在接口中CallableStatement- 抛出:
SQLException
-
getRef
- 指定者:
getRef在接口中CallableStatement- 抛出:
SQLException
-
getBlob
- 指定者:
getBlob在接口中CallableStatement- 抛出:
SQLException
-
getClob
- 指定者:
getClob在接口中CallableStatement- 抛出:
SQLException
-
getArray
- 指定者:
getArray在接口中CallableStatement- 抛出:
SQLException
-
getDate
- 指定者:
getDate在接口中CallableStatement- 抛出:
SQLException
-
getTime
- 指定者:
getTime在接口中CallableStatement- 抛出:
SQLException
-
getTimestamp
- 指定者:
getTimestamp在接口中CallableStatement- 抛出:
SQLException
-
getURL
- 指定者:
getURL在接口中CallableStatement- 抛出:
SQLException
-
getRowId
- 指定者:
getRowId在接口中CallableStatement- 抛出:
SQLException
-
getRowId
- 指定者:
getRowId在接口中CallableStatement- 抛出:
SQLException
-
setRowId
- 指定者:
setRowId在接口中CallableStatement- 抛出:
SQLException
-
setNString
- 指定者:
setNString在接口中CallableStatement- 抛出:
SQLException
-
setNCharacterStream
public void setNCharacterStream(String parameterName, Reader value, long length) throws SQLException - 指定者:
setNCharacterStream在接口中CallableStatement- 抛出:
SQLException
-
setNClob
- 指定者:
setNClob在接口中CallableStatement- 抛出:
SQLException
-
setClob
- 指定者:
setClob在接口中CallableStatement- 抛出:
SQLException
-
setBlob
- 指定者:
setBlob在接口中CallableStatement- 抛出:
SQLException
-
setNClob
- 指定者:
setNClob在接口中CallableStatement- 抛出:
SQLException
-
getNClob
- 指定者:
getNClob在接口中CallableStatement- 抛出:
SQLException
-
getNClob
- 指定者:
getNClob在接口中CallableStatement- 抛出:
SQLException
-
setSQLXML
- 指定者:
setSQLXML在接口中CallableStatement- 抛出:
SQLException
-
getSQLXML
- 指定者:
getSQLXML在接口中CallableStatement- 抛出:
SQLException
-
getSQLXML
- 指定者:
getSQLXML在接口中CallableStatement- 抛出:
SQLException
-
getNString
- 指定者:
getNString在接口中CallableStatement- 抛出:
SQLException
-
getNString
- 指定者:
getNString在接口中CallableStatement- 抛出:
SQLException
-
getNCharacterStream
- 指定者:
getNCharacterStream在接口中CallableStatement- 抛出:
SQLException
-
getNCharacterStream
- 指定者:
getNCharacterStream在接口中CallableStatement- 抛出:
SQLException
-
getCharacterStream
- 指定者:
getCharacterStream在接口中CallableStatement- 抛出:
SQLException
-
getCharacterStream
- 指定者:
getCharacterStream在接口中CallableStatement- 抛出:
SQLException
-
setBlob
- 指定者:
setBlob在接口中CallableStatement- 抛出:
SQLException
-
setClob
- 指定者:
setClob在接口中CallableStatement- 抛出:
SQLException
-
setAsciiStream
- 指定者:
setAsciiStream在接口中CallableStatement- 抛出:
SQLException
-
setBinaryStream
- 指定者:
setBinaryStream在接口中CallableStatement- 抛出:
SQLException
-
setCharacterStream
public void setCharacterStream(String parameterName, Reader reader, long length) throws SQLException - 指定者:
setCharacterStream在接口中CallableStatement- 抛出:
SQLException
-
setAsciiStream
- 指定者:
setAsciiStream在接口中CallableStatement- 抛出:
SQLException
-
setBinaryStream
- 指定者:
setBinaryStream在接口中CallableStatement- 抛出:
SQLException
-
setCharacterStream
- 指定者:
setCharacterStream在接口中CallableStatement- 抛出:
SQLException
-
setNCharacterStream
- 指定者:
setNCharacterStream在接口中CallableStatement- 抛出:
SQLException
-
setClob
- 指定者:
setClob在接口中CallableStatement- 抛出:
SQLException
-
setBlob
- 指定者:
setBlob在接口中CallableStatement- 抛出:
SQLException
-
setNClob
- 指定者:
setNClob在接口中CallableStatement- 抛出:
SQLException
-
getObject
- 指定者:
getObject在接口中CallableStatement- 抛出:
SQLException
-
getObject
- 指定者:
getObject在接口中CallableStatement- 抛出:
SQLException
-
setObject
public void setObject(String parameterName, Object x, SQLType targetSqlType, int scaleOrLength) throws SQLException - 指定者:
setObject在接口中CallableStatement- 抛出:
SQLException
-
setObject
- 指定者:
setObject在接口中CallableStatement- 抛出:
SQLException
-
registerOutParameter
- 指定者:
registerOutParameter在接口中CallableStatement- 抛出:
SQLException
-
registerOutParameter
public void registerOutParameter(int parameterIndex, SQLType sqlType, int scale) throws SQLException - 指定者:
registerOutParameter在接口中CallableStatement- 抛出:
SQLException
-
registerOutParameter
public void registerOutParameter(int parameterIndex, SQLType sqlType, String typeName) throws SQLException - 指定者:
registerOutParameter在接口中CallableStatement- 抛出:
SQLException
-
registerOutParameter
- 指定者:
registerOutParameter在接口中CallableStatement- 抛出:
SQLException
-
registerOutParameter
public void registerOutParameter(String parameterName, SQLType sqlType, int scale) throws SQLException - 指定者:
registerOutParameter在接口中CallableStatement- 抛出:
SQLException
-
registerOutParameter
public void registerOutParameter(String parameterName, SQLType sqlType, String typeName) throws SQLException - 指定者:
registerOutParameter在接口中CallableStatement- 抛出:
SQLException
-
unwrap
- 指定者:
unwrap在接口中Wrapper- 抛出:
SQLException
-
isWrapperFor
- 指定者:
isWrapperFor在接口中Wrapper- 抛出:
SQLException
-