java.lang.Object
com.aoapps.sql.wrapper.StatementWrapperImpl
com.aoapps.sql.wrapper.PreparedStatementWrapperImpl
com.aoapps.sql.wrapper.CallableStatementWrapperImpl
- All Implemented Interfaces:
CallableStatementWrapper,PreparedStatementWrapper,StatementWrapper,Wrapper,AutoCloseable,CallableStatement,PreparedStatement,Statement,Wrapper
public class CallableStatementWrapperImpl
extends PreparedStatementWrapperImpl
implements CallableStatementWrapper
Wraps a
CallableStatement.- Author:
- AO Industries, Inc.
-
Field Summary
Fields inherited from interface java.sql.Statement
CLOSE_ALL_RESULTS, CLOSE_CURRENT_RESULT, EXECUTE_FAILED, KEEP_CURRENT_RESULT, NO_GENERATED_KEYS, RETURN_GENERATED_KEYS, SUCCESS_NO_INFO -
Constructor Summary
ConstructorsConstructorDescriptionCallableStatementWrapperImpl(ConnectionWrapperImpl connectionWrapper, CallableStatement wrapped) -
Method Summary
Modifier and TypeMethodDescriptiongetArray(int parameterIndex) getBlob(int parameterIndex) getCharacterStream(int parameterIndex) getCharacterStream(String parameterName) getClob(int parameterIndex) getNCharacterStream(int parameterIndex) getNCharacterStream(String parameterName) getNClob(int parameterIndex) getRef(int parameterIndex) getRowId(int parameterIndex) getSQLXML(int parameterIndex) Gets the statement that is wrapped.voidsetAsciiStream(String parameterName, InputStream x) voidsetAsciiStream(String parameterName, InputStream x, int length) voidsetAsciiStream(String parameterName, InputStream x, long length) 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) voidvoidsetCharacterStream(String parameterName, Reader reader) voidsetCharacterStream(String parameterName, Reader reader, int length) voidsetCharacterStream(String parameterName, Reader reader, long length) voidvoidvoidvoidsetNCharacterStream(String parameterName, Reader value) voidsetNCharacterStream(String parameterName, Reader value, long length) voidvoidvoidvoidvoidprotected ArrayWrapperImplWraps anArray, if not already wrapped by this wrapper.protected BlobWrapperImplWraps aBlob, if not already wrapped by this wrapper.protected ClobWrapperImplWraps aClob, if not already wrapped by this wrapper.protected NClobWrapperImplWraps aNClob, if not already wrapped by this wrapper.protected ReaderWrapperwrapReader(Reader in) Wraps aReader, if not already wrapped by this wrapper.protected RefWrapperImplWraps aRef, if not already wrapped by this wrapper.protected RowIdWrapperImplWraps aRowId, if not already wrapped by this wrapper.protected SQLXMLWrapperImplwrapSQLXML(SQLXML sqlXml) Wraps aSQLXML, if not already wrapped by this wrapper.Methods inherited from class com.aoapps.sql.wrapper.PreparedStatementWrapperImpl
executeQuery, getMetaData, getParameterMetaData, setArray, setAsciiStream, setAsciiStream, setAsciiStream, setBinaryStream, setBinaryStream, setBinaryStream, setBlob, setBlob, setBlob, setCharacterStream, setCharacterStream, setCharacterStream, setClob, setClob, setClob, setNCharacterStream, setNCharacterStream, setNClob, setNClob, setNClob, setRef, setRowId, setSQLXML, setUnicodeStream, unwrapArray, unwrapBlob, unwrapClob, unwrapInputStream, unwrapNClob, unwrapReader, unwrapRef, unwrapRowId, unwrapSQLXML, wrapParameterMetaData, wrapResultSetMetaDataMethods inherited from class com.aoapps.sql.wrapper.StatementWrapperImpl
executeQuery, getConnection, getConnectionWrapper, getGeneratedKeys, getResultSet, toString, wrapResultSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.aoapps.sql.wrapper.CallableStatementWrapper
getBigDecimal, getBigDecimal, getBigDecimal, getBoolean, getBoolean, getByte, getByte, getBytes, getBytes, getDate, getDate, getDate, getDate, getDouble, getDouble, getFloat, getFloat, getInt, getInt, getLong, getLong, getNString, getNString, getObject, getObject, getObject, getObject, getObject, getObject, getShort, getShort, getString, getString, getTime, getTime, getTime, getTime, getTimestamp, getTimestamp, getTimestamp, getTimestamp, getURL, getURL, registerOutParameter, registerOutParameter, registerOutParameter, registerOutParameter, registerOutParameter, registerOutParameter, registerOutParameter, registerOutParameter, registerOutParameter, registerOutParameter, registerOutParameter, registerOutParameter, setBigDecimal, setBoolean, setByte, setBytes, setDate, setDate, setDouble, setFloat, setInt, setLong, setNString, setNull, setNull, setObject, setObject, setObject, setObject, setObject, setShort, setString, setTime, setTime, setTimestamp, setTimestamp, setURL, wasNullMethods inherited from interface com.aoapps.sql.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, setURLMethods inherited from interface com.aoapps.sql.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, setQueryTimeoutMethods inherited from interface com.aoapps.sql.wrapper.Wrapper
isWrapperFor, unwrap
-
Constructor Details
-
CallableStatementWrapperImpl
public CallableStatementWrapperImpl(ConnectionWrapperImpl connectionWrapper, CallableStatement wrapped)
-
-
Method Details
-
getWrapped
Description copied from interface:StatementWrapperGets the statement that is wrapped.- Specified by:
getWrappedin interfaceCallableStatementWrapper- Specified by:
getWrappedin interfacePreparedStatementWrapper- Specified by:
getWrappedin interfaceStatementWrapper- Specified by:
getWrappedin interfaceWrapper- Overrides:
getWrappedin classPreparedStatementWrapperImpl
-
wrapArray
Wraps anArray, if not already wrapped by this wrapper.- See Also:
-
wrapBlob
Wraps aBlob, if not already wrapped by this wrapper.- See Also:
-
wrapClob
Wraps aClob, if not already wrapped by this wrapper.- See Also:
-
wrapNClob
Wraps aNClob, if not already wrapped by this wrapper.- See Also:
-
wrapReader
Wraps aReader, if not already wrapped by this wrapper.- See Also:
-
wrapRef
Wraps aRef, if not already wrapped by this wrapper.- See Also:
-
wrapRowId
Wraps aRowId, if not already wrapped by this wrapper.- See Also:
-
wrapSQLXML
Wraps aSQLXML, if not already wrapped by this wrapper.- See Also:
-
getRef
- Specified by:
getRefin interfaceCallableStatement- Specified by:
getRefin interfaceCallableStatementWrapper- Throws:
SQLException- See Also:
-
getBlob
- Specified by:
getBlobin interfaceCallableStatement- Specified by:
getBlobin interfaceCallableStatementWrapper- Throws:
SQLException- See Also:
-
getClob
- Specified by:
getClobin interfaceCallableStatement- Specified by:
getClobin interfaceCallableStatementWrapper- Throws:
SQLException- See Also:
-
getArray
- Specified by:
getArrayin interfaceCallableStatement- Specified by:
getArrayin interfaceCallableStatementWrapper- Throws:
SQLException- See Also:
-
setAsciiStream
- Specified by:
setAsciiStreamin interfaceCallableStatement- Specified by:
setAsciiStreamin interfaceCallableStatementWrapper- Throws:
SQLException- See Also:
-
setBinaryStream
- Specified by:
setBinaryStreamin interfaceCallableStatement- Specified by:
setBinaryStreamin interfaceCallableStatementWrapper- Throws:
SQLException- See Also:
-
setCharacterStream
- Specified by:
setCharacterStreamin interfaceCallableStatement- Specified by:
setCharacterStreamin interfaceCallableStatementWrapper- Throws:
SQLException- See Also:
-
getRef
- Specified by:
getRefin interfaceCallableStatement- Specified by:
getRefin interfaceCallableStatementWrapper- Throws:
SQLException- See Also:
-
getBlob
- Specified by:
getBlobin interfaceCallableStatement- Specified by:
getBlobin interfaceCallableStatementWrapper- Throws:
SQLException- See Also:
-
getClob
- Specified by:
getClobin interfaceCallableStatement- Specified by:
getClobin interfaceCallableStatementWrapper- Throws:
SQLException- See Also:
-
getArray
- Specified by:
getArrayin interfaceCallableStatement- Specified by:
getArrayin interfaceCallableStatementWrapper- Throws:
SQLException- See Also:
-
getRowId
- Specified by:
getRowIdin interfaceCallableStatement- Specified by:
getRowIdin interfaceCallableStatementWrapper- Throws:
SQLException- See Also:
-
getRowId
- Specified by:
getRowIdin interfaceCallableStatement- Specified by:
getRowIdin interfaceCallableStatementWrapper- Throws:
SQLException- See Also:
-
setRowId
- Specified by:
setRowIdin interfaceCallableStatement- Specified by:
setRowIdin interfaceCallableStatementWrapper- Throws:
SQLException- See Also:
-
setNCharacterStream
public void setNCharacterStream(String parameterName, Reader value, long length) throws SQLException - Specified by:
setNCharacterStreamin interfaceCallableStatement- Specified by:
setNCharacterStreamin interfaceCallableStatementWrapper- Throws:
SQLException- See Also:
-
setNClob
- Specified by:
setNClobin interfaceCallableStatement- Specified by:
setNClobin interfaceCallableStatementWrapper- Throws:
SQLException- See Also:
-
setClob
- Specified by:
setClobin interfaceCallableStatement- Specified by:
setClobin interfaceCallableStatementWrapper- Throws:
SQLException- See Also:
-
setBlob
- Specified by:
setBlobin interfaceCallableStatement- Specified by:
setBlobin interfaceCallableStatementWrapper- Throws:
SQLException- See Also:
-
setNClob
- Specified by:
setNClobin interfaceCallableStatement- Specified by:
setNClobin interfaceCallableStatementWrapper- Throws:
SQLException- See Also:
-
getNClob
- Specified by:
getNClobin interfaceCallableStatement- Specified by:
getNClobin interfaceCallableStatementWrapper- Throws:
SQLException- See Also:
-
getNClob
- Specified by:
getNClobin interfaceCallableStatement- Specified by:
getNClobin interfaceCallableStatementWrapper- Throws:
SQLException- See Also:
-
setSQLXML
- Specified by:
setSQLXMLin interfaceCallableStatement- Specified by:
setSQLXMLin interfaceCallableStatementWrapper- Throws:
SQLException- See Also:
-
getSQLXML
- Specified by:
getSQLXMLin interfaceCallableStatement- Specified by:
getSQLXMLin interfaceCallableStatementWrapper- Throws:
SQLException- See Also:
-
getSQLXML
- Specified by:
getSQLXMLin interfaceCallableStatement- Specified by:
getSQLXMLin interfaceCallableStatementWrapper- Throws:
SQLException- See Also:
-
getNCharacterStream
- Specified by:
getNCharacterStreamin interfaceCallableStatement- Specified by:
getNCharacterStreamin interfaceCallableStatementWrapper- Throws:
SQLException- See Also:
-
getNCharacterStream
- Specified by:
getNCharacterStreamin interfaceCallableStatement- Specified by:
getNCharacterStreamin interfaceCallableStatementWrapper- Throws:
SQLException- See Also:
-
getCharacterStream
- Specified by:
getCharacterStreamin interfaceCallableStatement- Specified by:
getCharacterStreamin interfaceCallableStatementWrapper- Throws:
SQLException- See Also:
-
getCharacterStream
- Specified by:
getCharacterStreamin interfaceCallableStatement- Specified by:
getCharacterStreamin interfaceCallableStatementWrapper- Throws:
SQLException- See Also:
-
setBlob
- Specified by:
setBlobin interfaceCallableStatement- Specified by:
setBlobin interfaceCallableStatementWrapper- Throws:
SQLException- See Also:
-
setClob
- Specified by:
setClobin interfaceCallableStatement- Specified by:
setClobin interfaceCallableStatementWrapper- Throws:
SQLException- See Also:
-
setAsciiStream
- Specified by:
setAsciiStreamin interfaceCallableStatement- Specified by:
setAsciiStreamin interfaceCallableStatementWrapper- Throws:
SQLException- See Also:
-
setBinaryStream
- Specified by:
setBinaryStreamin interfaceCallableStatement- Specified by:
setBinaryStreamin interfaceCallableStatementWrapper- Throws:
SQLException- See Also:
-
setCharacterStream
public void setCharacterStream(String parameterName, Reader reader, long length) throws SQLException - Specified by:
setCharacterStreamin interfaceCallableStatement- Specified by:
setCharacterStreamin interfaceCallableStatementWrapper- Throws:
SQLException- See Also:
-
setAsciiStream
- Specified by:
setAsciiStreamin interfaceCallableStatement- Specified by:
setAsciiStreamin interfaceCallableStatementWrapper- Throws:
SQLException- See Also:
-
setBinaryStream
- Specified by:
setBinaryStreamin interfaceCallableStatement- Specified by:
setBinaryStreamin interfaceCallableStatementWrapper- Throws:
SQLException- See Also:
-
setCharacterStream
- Specified by:
setCharacterStreamin interfaceCallableStatement- Specified by:
setCharacterStreamin interfaceCallableStatementWrapper- Throws:
SQLException- See Also:
-
setNCharacterStream
- Specified by:
setNCharacterStreamin interfaceCallableStatement- Specified by:
setNCharacterStreamin interfaceCallableStatementWrapper- Throws:
SQLException- See Also:
-
setClob
- Specified by:
setClobin interfaceCallableStatement- Specified by:
setClobin interfaceCallableStatementWrapper- Throws:
SQLException- See Also:
-
setBlob
- Specified by:
setBlobin interfaceCallableStatement- Specified by:
setBlobin interfaceCallableStatementWrapper- Throws:
SQLException- See Also:
-
setNClob
- Specified by:
setNClobin interfaceCallableStatement- Specified by:
setNClobin interfaceCallableStatementWrapper- Throws:
SQLException- See Also:
-
