Package org.apache.openjpa.lib.jdbc
Class DelegatingCallableStatement
- java.lang.Object
-
- org.apache.openjpa.lib.jdbc.DelegatingCallableStatement
-
- All Implemented Interfaces:
AutoCloseable,CallableStatement,PreparedStatement,Statement,Wrapper,Closeable
- Direct Known Subclasses:
LoggingConnectionDecorator.LoggingConnection.LoggingCallableStatement
public class DelegatingCallableStatement extends Object implements CallableStatement, Closeable
CallableStatementthat delegates to an internal statement.- Author:
- Abe White
-
-
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
Constructors Constructor Description DelegatingCallableStatement(CallableStatement stmnt, Connection conn)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidaddBatch()voidaddBatch(String str)protected voidappendInfo(StringBuffer buf)voidcancel()voidclearBatch()voidclearParameters()voidclearWarnings()voidclose()voidcloseOnCompletion()booleanequals(Object other)booleanexecute()booleanexecute(String str)booleanexecute(String s, int i)booleanexecute(String s, int[] ia)booleanexecute(String s, String[] sa)int[]executeBatch()ResultSetexecuteQuery()protected ResultSetexecuteQuery(boolean wrap)Execute the query, with the option of not wrapping it in aDelegatingResultSet, which is the default.ResultSetexecuteQuery(String str)protected ResultSetexecuteQuery(String sql, boolean wrap)Execute the query, with the option of not wrapping it in aDelegatingResultSet, which is the default.intexecuteUpdate()intexecuteUpdate(String str)intexecuteUpdate(String s, int i)intexecuteUpdate(String s, int[] ia)intexecuteUpdate(String s, String[] sa)ArraygetArray(int i)ArraygetArray(String a)BigDecimalgetBigDecimal(int i)BigDecimalgetBigDecimal(int a, int b)Deprecated.usegetBigDecimal(int parameterIndex)orgetBigDecimal(String parameterName)BigDecimalgetBigDecimal(String a)BlobgetBlob(int i)BlobgetBlob(String a)booleangetBoolean(int i)booleangetBoolean(String a)bytegetByte(int i)bytegetByte(String a)byte[]getBytes(int i)byte[]getBytes(String a)ReadergetCharacterStream(int parameterIndex)ReadergetCharacterStream(String parameterName)ClobgetClob(int i)ClobgetClob(String a)ConnectiongetConnection()DategetDate(int i)DategetDate(int i, Calendar c)DategetDate(String a)DategetDate(String a, Calendar b)CallableStatementgetDelegate()Return the wrapped statement.doublegetDouble(int i)doublegetDouble(String a)intgetFetchDirection()intgetFetchSize()floatgetFloat(int i)floatgetFloat(String a)ResultSetgetGeneratedKeys()CallableStatementgetInnermostDelegate()Return the base underlying data store statement.intgetInt(int i)intgetInt(String a)longgetLong(int i)longgetLong(String a)intgetMaxFieldSize()intgetMaxRows()ResultSetMetaDatagetMetaData()booleangetMoreResults()booleangetMoreResults(int i)ReadergetNCharacterStream(int parameterIndex)ReadergetNCharacterStream(String parameterName)NClobgetNClob(int parameterIndex)NClobgetNClob(String parameterName)StringgetNString(int parameterIndex)StringgetNString(String parameterName)ObjectgetObject(int i)<T> TgetObject(int columnIndex, Class<T> type)ObjectgetObject(int i, Map<String,Class<?>> m)ObjectgetObject(String a)<T> TgetObject(String columnLabel, Class<T> type)ObjectgetObject(String a, Map<String,Class<?>> b)ParameterMetaDatagetParameterMetaData()intgetQueryTimeout()RefgetRef(int i)RefgetRef(String a)ResultSetgetResultSet()protected ResultSetgetResultSet(boolean wrap)Get the last result set, with the option of not wrapping it in aDelegatingResultSet, which is the default.intgetResultSetConcurrency()intgetResultSetHoldability()intgetResultSetType()RowIdgetRowId(int parameterIndex)RowIdgetRowId(String parameterName)shortgetShort(int i)shortgetShort(String a)SQLXMLgetSQLXML(int parameterIndex)SQLXMLgetSQLXML(String parameterName)StringgetString(int i)StringgetString(String a)TimegetTime(int i)TimegetTime(int i, Calendar c)TimegetTime(String a)TimegetTime(String a, Calendar b)TimestampgetTimestamp(int i)TimestampgetTimestamp(int i, Calendar c)TimestampgetTimestamp(String a)TimestampgetTimestamp(String a, Calendar b)intgetUpdateCount()URLgetURL(int i)URLgetURL(String a)SQLWarninggetWarnings()inthashCode()booleanisClosed()booleanisCloseOnCompletion()booleanisPoolable()booleanisWrapperFor(Class<?> iface)voidregisterOutParameter(int i1, int i2)voidregisterOutParameter(int i1, int i2, int i3)voidregisterOutParameter(int i1, int i2, String s)voidregisterOutParameter(String s, int i)voidregisterOutParameter(String s, int i1, int i2)voidregisterOutParameter(String s1, int i, String s2)voidsetArray(int i, Array a)voidsetAsciiStream(int parameterIndex, InputStream x)voidsetAsciiStream(int i1, InputStream is, int i2)voidsetAsciiStream(int parameterIndex, InputStream x, long length)voidsetAsciiStream(String parameterName, InputStream x)voidsetAsciiStream(String a, InputStream b, int c)voidsetAsciiStream(String parameterName, InputStream x, long length)voidsetBigDecimal(int i, BigDecimal bd)voidsetBigDecimal(String a, BigDecimal b)voidsetBinaryStream(int parameterIndex, InputStream x)voidsetBinaryStream(int i1, InputStream is, int i2)voidsetBinaryStream(int parameterIndex, InputStream x, long length)voidsetBinaryStream(String parameterName, InputStream x)voidsetBinaryStream(String a, InputStream b, int c)voidsetBinaryStream(String parameterName, InputStream x, long length)voidsetBlob(int parameterIndex, InputStream inputStream)voidsetBlob(int parameterIndex, InputStream inputStream, long length)voidsetBlob(int i, Blob b)voidsetBlob(String parameterName, InputStream inputStream)voidsetBlob(String parameterName, InputStream inputStream, long length)voidsetBlob(String parameterName, Blob x)voidsetBoolean(int i, boolean b)voidsetBoolean(String a, boolean b)voidsetByte(int i, byte b)voidsetByte(String a, byte b)voidsetBytes(int i, byte[] b)voidsetBytes(String a, byte[] b)voidsetCharacterStream(int parameterIndex, Reader reader)voidsetCharacterStream(int i1, Reader r, int i2)voidsetCharacterStream(int parameterIndex, Reader reader, long length)voidsetCharacterStream(String parameterName, Reader reader)voidsetCharacterStream(String a, Reader b, int c)voidsetCharacterStream(String parameterName, Reader reader, long length)voidsetClob(int parameterIndex, Reader reader)voidsetClob(int parameterIndex, Reader reader, long length)voidsetClob(int i, Clob c)voidsetClob(String parameterName, Reader reader)voidsetClob(String parameterName, Reader reader, long length)voidsetClob(String parameterName, Clob x)voidsetCursorName(String str)voidsetDate(int i, Date d)voidsetDate(int i, Date d, Calendar c)voidsetDate(String a, Date b)voidsetDate(String a, Date b, Calendar c)voidsetDouble(int i, double d)voidsetDouble(String a, double b)voidsetEscapeProcessing(boolean bool)voidsetFetchDirection(int i)voidsetFetchSize(int i)voidsetFloat(int i, float f)voidsetFloat(String a, float b)voidsetInt(int i1, int i2)voidsetInt(String a, int b)voidsetLong(int i, long l)voidsetLong(String a, long b)voidsetMaxFieldSize(int i)voidsetMaxRows(int i)voidsetNCharacterStream(int parameterIndex, Reader value)voidsetNCharacterStream(int parameterIndex, Reader value, long length)voidsetNCharacterStream(String parameterName, Reader value)voidsetNCharacterStream(String parameterName, Reader value, long length)voidsetNClob(int parameterIndex, Reader reader)voidsetNClob(int parameterIndex, Reader reader, long length)voidsetNClob(int parameterIndex, NClob value)voidsetNClob(String parameterName, Reader reader)voidsetNClob(String parameterName, Reader reader, long length)voidsetNClob(String parameterName, NClob value)voidsetNString(int parameterIndex, String value)voidsetNString(String parameterName, String value)voidsetNull(int i1, int i2)voidsetNull(int i1, int i2, String s)voidsetNull(String a, int b)voidsetNull(String a, int b, String c)voidsetObject(int i, Object o)voidsetObject(int i1, Object o, int i2)voidsetObject(int i1, Object o, int i2, int i3)voidsetObject(String a, Object b)voidsetObject(String a, Object b, int c)voidsetObject(String a, Object b, int c, int d)voidsetPoolable(boolean poolable)voidsetQueryTimeout(int i)voidsetRef(int i, Ref r)voidsetRowId(int parameterIndex, RowId x)voidsetRowId(String parameterName, RowId x)voidsetShort(int i, short s)voidsetShort(String a, short b)voidsetSQLXML(int parameterIndex, SQLXML xmlObject)voidsetSQLXML(String parameterName, SQLXML xmlObject)voidsetString(int i, String s)voidsetString(String a, String b)voidsetTime(int i, Time t)voidsetTime(int i, Time t, Calendar c)voidsetTime(String a, Time b)voidsetTime(String a, Time b, Calendar c)voidsetTimestamp(int i, Timestamp t)voidsetTimestamp(int i, Timestamp t, Calendar c)voidsetTimestamp(String a, Timestamp b)voidsetTimestamp(String a, Timestamp b, Calendar c)voidsetUnicodeStream(int i1, InputStream is, int i2)Deprecated.voidsetURL(int i, URL url)voidsetURL(String a, URL b)StringtoString()<T> Tunwrap(Class<T> iface)booleanwasNull()protected ResultSetwrapResult(boolean wrap, ResultSet rs)-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.sql.CallableStatement
registerOutParameter, registerOutParameter, registerOutParameter, registerOutParameter, registerOutParameter, registerOutParameter, setObject, setObject
-
Methods inherited from interface java.sql.PreparedStatement
executeLargeUpdate, setObject, setObject
-
Methods inherited from interface java.sql.Statement
enquoteIdentifier, enquoteLiteral, enquoteNCharLiteral, executeLargeBatch, executeLargeUpdate, executeLargeUpdate, executeLargeUpdate, executeLargeUpdate, getLargeMaxRows, getLargeUpdateCount, isSimpleIdentifier, setLargeMaxRows
-
-
-
-
Constructor Detail
-
DelegatingCallableStatement
public DelegatingCallableStatement(CallableStatement stmnt, Connection conn)
-
-
Method Detail
-
getDelegate
public CallableStatement getDelegate()
Return the wrapped statement.
-
getInnermostDelegate
public CallableStatement getInnermostDelegate()
Return the base underlying data store statement.
-
appendInfo
protected void appendInfo(StringBuffer buf)
-
executeQuery
public ResultSet executeQuery(String str) throws SQLException
- Specified by:
executeQueryin interfaceStatement- Throws:
SQLException
-
executeQuery
protected ResultSet executeQuery(String sql, boolean wrap) throws SQLException
Execute the query, with the option of not wrapping it in aDelegatingResultSet, which is the default.- Throws:
SQLException
-
executeUpdate
public int executeUpdate(String str) throws SQLException
- Specified by:
executeUpdatein interfaceStatement- Throws:
SQLException
-
execute
public boolean execute(String str) throws SQLException
- Specified by:
executein interfaceStatement- Throws:
SQLException
-
close
public void close() throws SQLException- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Specified by:
closein interfaceStatement- Throws:
SQLException
-
getMaxFieldSize
public int getMaxFieldSize() throws SQLException- Specified by:
getMaxFieldSizein interfaceStatement- Throws:
SQLException
-
setMaxFieldSize
public void setMaxFieldSize(int i) throws SQLException- Specified by:
setMaxFieldSizein interfaceStatement- Throws:
SQLException
-
getMaxRows
public int getMaxRows() throws SQLException- Specified by:
getMaxRowsin interfaceStatement- Throws:
SQLException
-
setMaxRows
public void setMaxRows(int i) throws SQLException- Specified by:
setMaxRowsin interfaceStatement- Throws:
SQLException
-
setEscapeProcessing
public void setEscapeProcessing(boolean bool) throws SQLException- Specified by:
setEscapeProcessingin interfaceStatement- Throws:
SQLException
-
getQueryTimeout
public int getQueryTimeout() throws SQLException- Specified by:
getQueryTimeoutin interfaceStatement- Throws:
SQLException
-
setQueryTimeout
public void setQueryTimeout(int i) throws SQLException- Specified by:
setQueryTimeoutin interfaceStatement- Throws:
SQLException
-
cancel
public void cancel() throws SQLException- Specified by:
cancelin interfaceStatement- Throws:
SQLException
-
getWarnings
public SQLWarning getWarnings() throws SQLException
- Specified by:
getWarningsin interfaceStatement- Throws:
SQLException
-
clearWarnings
public void clearWarnings() throws SQLException- Specified by:
clearWarningsin interfaceStatement- Throws:
SQLException
-
setCursorName
public void setCursorName(String str) throws SQLException
- Specified by:
setCursorNamein interfaceStatement- Throws:
SQLException
-
getResultSet
public ResultSet getResultSet() throws SQLException
- Specified by:
getResultSetin interfaceStatement- Throws:
SQLException
-
getResultSet
protected ResultSet getResultSet(boolean wrap) throws SQLException
Get the last result set, with the option of not wrapping it in aDelegatingResultSet, which is the default.- Throws:
SQLException
-
getUpdateCount
public int getUpdateCount() throws SQLException- Specified by:
getUpdateCountin interfaceStatement- Throws:
SQLException
-
getMoreResults
public boolean getMoreResults() throws SQLException- Specified by:
getMoreResultsin interfaceStatement- Throws:
SQLException
-
setFetchDirection
public void setFetchDirection(int i) throws SQLException- Specified by:
setFetchDirectionin interfaceStatement- Throws:
SQLException
-
getFetchDirection
public int getFetchDirection() throws SQLException- Specified by:
getFetchDirectionin interfaceStatement- Throws:
SQLException
-
setFetchSize
public void setFetchSize(int i) throws SQLException- Specified by:
setFetchSizein interfaceStatement- Throws:
SQLException
-
getFetchSize
public int getFetchSize() throws SQLException- Specified by:
getFetchSizein interfaceStatement- Throws:
SQLException
-
getResultSetConcurrency
public int getResultSetConcurrency() throws SQLException- Specified by:
getResultSetConcurrencyin interfaceStatement- Throws:
SQLException
-
getResultSetType
public int getResultSetType() throws SQLException- Specified by:
getResultSetTypein interfaceStatement- Throws:
SQLException
-
addBatch
public void addBatch(String str) throws SQLException
- Specified by:
addBatchin interfaceStatement- Throws:
SQLException
-
clearBatch
public void clearBatch() throws SQLException- Specified by:
clearBatchin interfaceStatement- Throws:
SQLException
-
executeBatch
public int[] executeBatch() throws SQLException- Specified by:
executeBatchin interfaceStatement- Throws:
SQLException
-
getConnection
public Connection getConnection() throws SQLException
- Specified by:
getConnectionin interfaceStatement- Throws:
SQLException
-
executeQuery
public ResultSet executeQuery() throws SQLException
- Specified by:
executeQueryin interfacePreparedStatement- Throws:
SQLException
-
executeQuery
protected ResultSet executeQuery(boolean wrap) throws SQLException
Execute the query, with the option of not wrapping it in aDelegatingResultSet, which is the default.- Throws:
SQLException
-
executeUpdate
public int executeUpdate() throws SQLException- Specified by:
executeUpdatein interfacePreparedStatement- Throws:
SQLException
-
setNull
public void setNull(int i1, int i2) throws SQLException- Specified by:
setNullin interfacePreparedStatement- Throws:
SQLException
-
setBoolean
public void setBoolean(int i, boolean b) throws SQLException- Specified by:
setBooleanin interfacePreparedStatement- Throws:
SQLException
-
setByte
public void setByte(int i, byte b) throws SQLException- Specified by:
setBytein interfacePreparedStatement- Throws:
SQLException
-
setShort
public void setShort(int i, short s) throws SQLException- Specified by:
setShortin interfacePreparedStatement- Throws:
SQLException
-
setInt
public void setInt(int i1, int i2) throws SQLException- Specified by:
setIntin interfacePreparedStatement- Throws:
SQLException
-
setLong
public void setLong(int i, long l) throws SQLException- Specified by:
setLongin interfacePreparedStatement- Throws:
SQLException
-
setFloat
public void setFloat(int i, float f) throws SQLException- Specified by:
setFloatin interfacePreparedStatement- Throws:
SQLException
-
setDouble
public void setDouble(int i, double d) throws SQLException- Specified by:
setDoublein interfacePreparedStatement- Throws:
SQLException
-
setBigDecimal
public void setBigDecimal(int i, BigDecimal bd) throws SQLException- Specified by:
setBigDecimalin interfacePreparedStatement- Throws:
SQLException
-
setString
public void setString(int i, String s) throws SQLException- Specified by:
setStringin interfacePreparedStatement- Throws:
SQLException
-
setBytes
public void setBytes(int i, byte[] b) throws SQLException- Specified by:
setBytesin interfacePreparedStatement- Throws:
SQLException
-
setDate
public void setDate(int i, Date d) throws SQLException- Specified by:
setDatein interfacePreparedStatement- Throws:
SQLException
-
setTime
public void setTime(int i, Time t) throws SQLException- Specified by:
setTimein interfacePreparedStatement- Throws:
SQLException
-
setTimestamp
public void setTimestamp(int i, Timestamp t) throws SQLException- Specified by:
setTimestampin interfacePreparedStatement- Throws:
SQLException
-
setAsciiStream
public void setAsciiStream(int i1, InputStream is, int i2) throws SQLException- Specified by:
setAsciiStreamin interfacePreparedStatement- Throws:
SQLException
-
setUnicodeStream
@Deprecated public void setUnicodeStream(int i1, InputStream is, int i2) throws SQLException
Deprecated.- Specified by:
setUnicodeStreamin interfacePreparedStatement- Throws:
SQLException
-
setBinaryStream
public void setBinaryStream(int i1, InputStream is, int i2) throws SQLException- Specified by:
setBinaryStreamin interfacePreparedStatement- Throws:
SQLException
-
clearParameters
public void clearParameters() throws SQLException- Specified by:
clearParametersin interfacePreparedStatement- Throws:
SQLException
-
setObject
public void setObject(int i1, Object o, int i2, int i3) throws SQLException- Specified by:
setObjectin interfacePreparedStatement- Throws:
SQLException
-
setObject
public void setObject(int i1, Object o, int i2) throws SQLException- Specified by:
setObjectin interfacePreparedStatement- Throws:
SQLException
-
setObject
public void setObject(int i, Object o) throws SQLException- Specified by:
setObjectin interfacePreparedStatement- Throws:
SQLException
-
execute
public boolean execute() throws SQLException- Specified by:
executein interfacePreparedStatement- Throws:
SQLException
-
addBatch
public void addBatch() throws SQLException- Specified by:
addBatchin interfacePreparedStatement- Throws:
SQLException
-
setCharacterStream
public void setCharacterStream(int i1, Reader r, int i2) throws SQLException- Specified by:
setCharacterStreamin interfacePreparedStatement- Throws:
SQLException
-
setRef
public void setRef(int i, Ref r) throws SQLException- Specified by:
setRefin interfacePreparedStatement- Throws:
SQLException
-
setBlob
public void setBlob(int i, Blob b) throws SQLException- Specified by:
setBlobin interfacePreparedStatement- Throws:
SQLException
-
setClob
public void setClob(int i, Clob c) throws SQLException- Specified by:
setClobin interfacePreparedStatement- Throws:
SQLException
-
setArray
public void setArray(int i, Array a) throws SQLException- Specified by:
setArrayin interfacePreparedStatement- Throws:
SQLException
-
getMetaData
public ResultSetMetaData getMetaData() throws SQLException
- Specified by:
getMetaDatain interfacePreparedStatement- Throws:
SQLException
-
setDate
public void setDate(int i, Date d, Calendar c) throws SQLException- Specified by:
setDatein interfacePreparedStatement- Throws:
SQLException
-
setTime
public void setTime(int i, Time t, Calendar c) throws SQLException- Specified by:
setTimein interfacePreparedStatement- Throws:
SQLException
-
setTimestamp
public void setTimestamp(int i, Timestamp t, Calendar c) throws SQLException- Specified by:
setTimestampin interfacePreparedStatement- Throws:
SQLException
-
setNull
public void setNull(int i1, int i2, String s) throws SQLException- Specified by:
setNullin interfacePreparedStatement- Throws:
SQLException
-
getMoreResults
public boolean getMoreResults(int i) throws SQLException- Specified by:
getMoreResultsin interfaceStatement- Throws:
SQLException
-
getGeneratedKeys
public ResultSet getGeneratedKeys() throws SQLException
- Specified by:
getGeneratedKeysin interfaceStatement- Throws:
SQLException
-
executeUpdate
public int executeUpdate(String s, int i) throws SQLException
- Specified by:
executeUpdatein interfaceStatement- Throws:
SQLException
-
executeUpdate
public int executeUpdate(String s, int[] ia) throws SQLException
- Specified by:
executeUpdatein interfaceStatement- Throws:
SQLException
-
executeUpdate
public int executeUpdate(String s, String[] sa) throws SQLException
- Specified by:
executeUpdatein interfaceStatement- Throws:
SQLException
-
execute
public boolean execute(String s, int i) throws SQLException
- Specified by:
executein interfaceStatement- Throws:
SQLException
-
execute
public boolean execute(String s, int[] ia) throws SQLException
- Specified by:
executein interfaceStatement- Throws:
SQLException
-
execute
public boolean execute(String s, String[] sa) throws SQLException
- Specified by:
executein interfaceStatement- Throws:
SQLException
-
getResultSetHoldability
public int getResultSetHoldability() throws SQLException- Specified by:
getResultSetHoldabilityin interfaceStatement- Throws:
SQLException
-
setURL
public void setURL(int i, URL url) throws SQLException- Specified by:
setURLin interfacePreparedStatement- Throws:
SQLException
-
getParameterMetaData
public ParameterMetaData getParameterMetaData() throws SQLException
- Specified by:
getParameterMetaDatain interfacePreparedStatement- Throws:
SQLException
-
registerOutParameter
public void registerOutParameter(int i1, int i2) throws SQLException- Specified by:
registerOutParameterin interfaceCallableStatement- Throws:
SQLException
-
registerOutParameter
public void registerOutParameter(int i1, int i2, int i3) throws SQLException- Specified by:
registerOutParameterin interfaceCallableStatement- Throws:
SQLException
-
wasNull
public boolean wasNull() throws SQLException- Specified by:
wasNullin interfaceCallableStatement- Throws:
SQLException
-
getString
public String getString(int i) throws SQLException
- Specified by:
getStringin interfaceCallableStatement- Throws:
SQLException
-
getBoolean
public boolean getBoolean(int i) throws SQLException- Specified by:
getBooleanin interfaceCallableStatement- Throws:
SQLException
-
getByte
public byte getByte(int i) throws SQLException- Specified by:
getBytein interfaceCallableStatement- Throws:
SQLException
-
getShort
public short getShort(int i) throws SQLException- Specified by:
getShortin interfaceCallableStatement- Throws:
SQLException
-
getInt
public int getInt(int i) throws SQLException- Specified by:
getIntin interfaceCallableStatement- Throws:
SQLException
-
getLong
public long getLong(int i) throws SQLException- Specified by:
getLongin interfaceCallableStatement- Throws:
SQLException
-
getFloat
public float getFloat(int i) throws SQLException- Specified by:
getFloatin interfaceCallableStatement- Throws:
SQLException
-
getDouble
public double getDouble(int i) throws SQLException- Specified by:
getDoublein interfaceCallableStatement- Throws:
SQLException
-
getBigDecimal
@Deprecated public BigDecimal getBigDecimal(int a, int b) throws SQLException
Deprecated.usegetBigDecimal(int parameterIndex)orgetBigDecimal(String parameterName)- Specified by:
getBigDecimalin interfaceCallableStatement- Throws:
SQLException
-
getBytes
public byte[] getBytes(int i) throws SQLException- Specified by:
getBytesin interfaceCallableStatement- Throws:
SQLException
-
getDate
public Date getDate(int i) throws SQLException
- Specified by:
getDatein interfaceCallableStatement- Throws:
SQLException
-
getTime
public Time getTime(int i) throws SQLException
- Specified by:
getTimein interfaceCallableStatement- Throws:
SQLException
-
getTimestamp
public Timestamp getTimestamp(int i) throws SQLException
- Specified by:
getTimestampin interfaceCallableStatement- Throws:
SQLException
-
getObject
public Object getObject(int i) throws SQLException
- Specified by:
getObjectin interfaceCallableStatement- Throws:
SQLException
-
getBigDecimal
public BigDecimal getBigDecimal(int i) throws SQLException
- Specified by:
getBigDecimalin interfaceCallableStatement- Throws:
SQLException
-
getObject
public Object getObject(int i, Map<String,Class<?>> m) throws SQLException
- Specified by:
getObjectin interfaceCallableStatement- Throws:
SQLException
-
getRef
public Ref getRef(int i) throws SQLException
- Specified by:
getRefin interfaceCallableStatement- Throws:
SQLException
-
getBlob
public Blob getBlob(int i) throws SQLException
- Specified by:
getBlobin interfaceCallableStatement- Throws:
SQLException
-
getClob
public Clob getClob(int i) throws SQLException
- Specified by:
getClobin interfaceCallableStatement- Throws:
SQLException
-
getArray
public Array getArray(int i) throws SQLException
- Specified by:
getArrayin interfaceCallableStatement- Throws:
SQLException
-
getDate
public Date getDate(int i, Calendar c) throws SQLException
- Specified by:
getDatein interfaceCallableStatement- Throws:
SQLException
-
getTime
public Time getTime(int i, Calendar c) throws SQLException
- Specified by:
getTimein interfaceCallableStatement- Throws:
SQLException
-
getTimestamp
public Timestamp getTimestamp(int i, Calendar c) throws SQLException
- Specified by:
getTimestampin interfaceCallableStatement- Throws:
SQLException
-
registerOutParameter
public void registerOutParameter(int i1, int i2, String s) throws SQLException- Specified by:
registerOutParameterin interfaceCallableStatement- Throws:
SQLException
-
registerOutParameter
public void registerOutParameter(String s, int i) throws SQLException
- Specified by:
registerOutParameterin interfaceCallableStatement- Throws:
SQLException
-
registerOutParameter
public void registerOutParameter(String s, int i1, int i2) throws SQLException
- Specified by:
registerOutParameterin interfaceCallableStatement- Throws:
SQLException
-
registerOutParameter
public void registerOutParameter(String s1, int i, String s2) throws SQLException
- Specified by:
registerOutParameterin interfaceCallableStatement- Throws:
SQLException
-
getURL
public URL getURL(int i) throws SQLException
- Specified by:
getURLin interfaceCallableStatement- Throws:
SQLException
-
setURL
public void setURL(String a, URL b) throws SQLException
- Specified by:
setURLin interfaceCallableStatement- Throws:
SQLException
-
getURL
public URL getURL(String a) throws SQLException
- Specified by:
getURLin interfaceCallableStatement- Throws:
SQLException
-
setNull
public void setNull(String a, int b) throws SQLException
- Specified by:
setNullin interfaceCallableStatement- Throws:
SQLException
-
setBoolean
public void setBoolean(String a, boolean b) throws SQLException
- Specified by:
setBooleanin interfaceCallableStatement- Throws:
SQLException
-
setByte
public void setByte(String a, byte b) throws SQLException
- Specified by:
setBytein interfaceCallableStatement- Throws:
SQLException
-
setShort
public void setShort(String a, short b) throws SQLException
- Specified by:
setShortin interfaceCallableStatement- Throws:
SQLException
-
setInt
public void setInt(String a, int b) throws SQLException
- Specified by:
setIntin interfaceCallableStatement- Throws:
SQLException
-
setLong
public void setLong(String a, long b) throws SQLException
- Specified by:
setLongin interfaceCallableStatement- Throws:
SQLException
-
setFloat
public void setFloat(String a, float b) throws SQLException
- Specified by:
setFloatin interfaceCallableStatement- Throws:
SQLException
-
setDouble
public void setDouble(String a, double b) throws SQLException
- Specified by:
setDoublein interfaceCallableStatement- Throws:
SQLException
-
setBigDecimal
public void setBigDecimal(String a, BigDecimal b) throws SQLException
- Specified by:
setBigDecimalin interfaceCallableStatement- Throws:
SQLException
-
setString
public void setString(String a, String b) throws SQLException
- Specified by:
setStringin interfaceCallableStatement- Throws:
SQLException
-
setBytes
public void setBytes(String a, byte[] b) throws SQLException
- Specified by:
setBytesin interfaceCallableStatement- Throws:
SQLException
-
setDate
public void setDate(String a, Date b) throws SQLException
- Specified by:
setDatein interfaceCallableStatement- Throws:
SQLException
-
setTime
public void setTime(String a, Time b) throws SQLException
- Specified by:
setTimein interfaceCallableStatement- Throws:
SQLException
-
setTimestamp
public void setTimestamp(String a, Timestamp b) throws SQLException
- Specified by:
setTimestampin interfaceCallableStatement- Throws:
SQLException
-
setAsciiStream
public void setAsciiStream(String a, InputStream b, int c) throws SQLException
- Specified by:
setAsciiStreamin interfaceCallableStatement- Throws:
SQLException
-
setBinaryStream
public void setBinaryStream(String a, InputStream b, int c) throws SQLException
- Specified by:
setBinaryStreamin interfaceCallableStatement- Throws:
SQLException
-
setObject
public void setObject(String a, Object b, int c, int d) throws SQLException
- Specified by:
setObjectin interfaceCallableStatement- Throws:
SQLException
-
setObject
public void setObject(String a, Object b, int c) throws SQLException
- Specified by:
setObjectin interfaceCallableStatement- Throws:
SQLException
-
setObject
public void setObject(String a, Object b) throws SQLException
- Specified by:
setObjectin interfaceCallableStatement- Throws:
SQLException
-
setCharacterStream
public void setCharacterStream(String a, Reader b, int c) throws SQLException
- Specified by:
setCharacterStreamin interfaceCallableStatement- Throws:
SQLException
-
setDate
public void setDate(String a, Date b, Calendar c) throws SQLException
- Specified by:
setDatein interfaceCallableStatement- Throws:
SQLException
-
setTime
public void setTime(String a, Time b, Calendar c) throws SQLException
- Specified by:
setTimein interfaceCallableStatement- Throws:
SQLException
-
setTimestamp
public void setTimestamp(String a, Timestamp b, Calendar c) throws SQLException
- Specified by:
setTimestampin interfaceCallableStatement- Throws:
SQLException
-
setNull
public void setNull(String a, int b, String c) throws SQLException
- Specified by:
setNullin interfaceCallableStatement- Throws:
SQLException
-
getString
public String getString(String a) throws SQLException
- Specified by:
getStringin interfaceCallableStatement- Throws:
SQLException
-
getBoolean
public boolean getBoolean(String a) throws SQLException
- Specified by:
getBooleanin interfaceCallableStatement- Throws:
SQLException
-
getByte
public byte getByte(String a) throws SQLException
- Specified by:
getBytein interfaceCallableStatement- Throws:
SQLException
-
getShort
public short getShort(String a) throws SQLException
- Specified by:
getShortin interfaceCallableStatement- Throws:
SQLException
-
getInt
public int getInt(String a) throws SQLException
- Specified by:
getIntin interfaceCallableStatement- Throws:
SQLException
-
getLong
public long getLong(String a) throws SQLException
- Specified by:
getLongin interfaceCallableStatement- Throws:
SQLException
-
getFloat
public float getFloat(String a) throws SQLException
- Specified by:
getFloatin interfaceCallableStatement- Throws:
SQLException
-
getDouble
public double getDouble(String a) throws SQLException
- Specified by:
getDoublein interfaceCallableStatement- Throws:
SQLException
-
getBytes
public byte[] getBytes(String a) throws SQLException
- Specified by:
getBytesin interfaceCallableStatement- Throws:
SQLException
-
getDate
public Date getDate(String a) throws SQLException
- Specified by:
getDatein interfaceCallableStatement- Throws:
SQLException
-
getTime
public Time getTime(String a) throws SQLException
- Specified by:
getTimein interfaceCallableStatement- Throws:
SQLException
-
getTimestamp
public Timestamp getTimestamp(String a) throws SQLException
- Specified by:
getTimestampin interfaceCallableStatement- Throws:
SQLException
-
getObject
public Object getObject(String a) throws SQLException
- Specified by:
getObjectin interfaceCallableStatement- Throws:
SQLException
-
getBigDecimal
public BigDecimal getBigDecimal(String a) throws SQLException
- Specified by:
getBigDecimalin interfaceCallableStatement- Throws:
SQLException
-
getObject
public Object getObject(String a, Map<String,Class<?>> b) throws SQLException
- Specified by:
getObjectin interfaceCallableStatement- Throws:
SQLException
-
getRef
public Ref getRef(String a) throws SQLException
- Specified by:
getRefin interfaceCallableStatement- Throws:
SQLException
-
getBlob
public Blob getBlob(String a) throws SQLException
- Specified by:
getBlobin interfaceCallableStatement- Throws:
SQLException
-
getClob
public Clob getClob(String a) throws SQLException
- Specified by:
getClobin interfaceCallableStatement- Throws:
SQLException
-
getArray
public Array getArray(String a) throws SQLException
- Specified by:
getArrayin interfaceCallableStatement- Throws:
SQLException
-
getDate
public Date getDate(String a, Calendar b) throws SQLException
- Specified by:
getDatein interfaceCallableStatement- Throws:
SQLException
-
getTime
public Time getTime(String a, Calendar b) throws SQLException
- Specified by:
getTimein interfaceCallableStatement- Throws:
SQLException
-
getTimestamp
public Timestamp getTimestamp(String a, Calendar b) throws SQLException
- Specified by:
getTimestampin interfaceCallableStatement- Throws:
SQLException
-
isWrapperFor
public boolean isWrapperFor(Class<?> iface) throws SQLException
- Specified by:
isWrapperForin interfaceWrapper- Throws:
SQLException
-
unwrap
public <T> T unwrap(Class<T> iface) throws SQLException
- Specified by:
unwrapin interfaceWrapper- Throws:
SQLException
-
getCharacterStream
public Reader getCharacterStream(int parameterIndex) throws SQLException
- Specified by:
getCharacterStreamin interfaceCallableStatement- Throws:
SQLException
-
getCharacterStream
public Reader getCharacterStream(String parameterName) throws SQLException
- Specified by:
getCharacterStreamin interfaceCallableStatement- Throws:
SQLException
-
getNCharacterStream
public Reader getNCharacterStream(int parameterIndex) throws SQLException
- Specified by:
getNCharacterStreamin interfaceCallableStatement- Throws:
SQLException
-
getNCharacterStream
public Reader getNCharacterStream(String parameterName) throws SQLException
- Specified by:
getNCharacterStreamin interfaceCallableStatement- Throws:
SQLException
-
getNClob
public NClob getNClob(int parameterIndex) throws SQLException
- Specified by:
getNClobin interfaceCallableStatement- Throws:
SQLException
-
getNClob
public NClob getNClob(String parameterName) throws SQLException
- Specified by:
getNClobin interfaceCallableStatement- Throws:
SQLException
-
getNString
public String getNString(int parameterIndex) throws SQLException
- Specified by:
getNStringin interfaceCallableStatement- Throws:
SQLException
-
getNString
public String getNString(String parameterName) throws SQLException
- Specified by:
getNStringin interfaceCallableStatement- Throws:
SQLException
-
getRowId
public RowId getRowId(int parameterIndex) throws SQLException
- Specified by:
getRowIdin interfaceCallableStatement- Throws:
SQLException
-
getRowId
public RowId getRowId(String parameterName) throws SQLException
- Specified by:
getRowIdin interfaceCallableStatement- Throws:
SQLException
-
getSQLXML
public SQLXML getSQLXML(int parameterIndex) throws SQLException
- Specified by:
getSQLXMLin interfaceCallableStatement- Throws:
SQLException
-
getSQLXML
public SQLXML getSQLXML(String parameterName) throws SQLException
- Specified by:
getSQLXMLin interfaceCallableStatement- Throws:
SQLException
-
setAsciiStream
public void setAsciiStream(String parameterName, InputStream x, long length) throws SQLException
- Specified by:
setAsciiStreamin interfaceCallableStatement- Throws:
SQLException
-
setAsciiStream
public void setAsciiStream(String parameterName, InputStream x) throws SQLException
- Specified by:
setAsciiStreamin interfaceCallableStatement- Throws:
SQLException
-
setBinaryStream
public void setBinaryStream(String parameterName, InputStream x, long length) throws SQLException
- Specified by:
setBinaryStreamin interfaceCallableStatement- Throws:
SQLException
-
setBinaryStream
public void setBinaryStream(String parameterName, InputStream x) throws SQLException
- Specified by:
setBinaryStreamin interfaceCallableStatement- Throws:
SQLException
-
setBlob
public void setBlob(String parameterName, Blob x) throws SQLException
- Specified by:
setBlobin interfaceCallableStatement- Throws:
SQLException
-
setBlob
public void setBlob(String parameterName, InputStream inputStream, long length) throws SQLException
- Specified by:
setBlobin interfaceCallableStatement- Throws:
SQLException
-
setBlob
public void setBlob(String parameterName, InputStream inputStream) throws SQLException
- Specified by:
setBlobin interfaceCallableStatement- Throws:
SQLException
-
setCharacterStream
public void setCharacterStream(String parameterName, Reader reader, long length) throws SQLException
- Specified by:
setCharacterStreamin interfaceCallableStatement- Throws:
SQLException
-
setCharacterStream
public void setCharacterStream(String parameterName, Reader reader) throws SQLException
- Specified by:
setCharacterStreamin interfaceCallableStatement- Throws:
SQLException
-
setClob
public void setClob(String parameterName, Clob x) throws SQLException
- Specified by:
setClobin interfaceCallableStatement- Throws:
SQLException
-
setClob
public void setClob(String parameterName, Reader reader, long length) throws SQLException
- Specified by:
setClobin interfaceCallableStatement- Throws:
SQLException
-
setClob
public void setClob(String parameterName, Reader reader) throws SQLException
- Specified by:
setClobin interfaceCallableStatement- Throws:
SQLException
-
setNCharacterStream
public void setNCharacterStream(String parameterName, Reader value, long length) throws SQLException
- Specified by:
setNCharacterStreamin interfaceCallableStatement- Throws:
SQLException
-
setNCharacterStream
public void setNCharacterStream(String parameterName, Reader value) throws SQLException
- Specified by:
setNCharacterStreamin interfaceCallableStatement- Throws:
SQLException
-
setNClob
public void setNClob(String parameterName, NClob value) throws SQLException
- Specified by:
setNClobin interfaceCallableStatement- Throws:
SQLException
-
setNClob
public void setNClob(String parameterName, Reader reader, long length) throws SQLException
- Specified by:
setNClobin interfaceCallableStatement- Throws:
SQLException
-
setNClob
public void setNClob(String parameterName, Reader reader) throws SQLException
- Specified by:
setNClobin interfaceCallableStatement- Throws:
SQLException
-
setNString
public void setNString(String parameterName, String value) throws SQLException
- Specified by:
setNStringin interfaceCallableStatement- Throws:
SQLException
-
setRowId
public void setRowId(String parameterName, RowId x) throws SQLException
- Specified by:
setRowIdin interfaceCallableStatement- Throws:
SQLException
-
setSQLXML
public void setSQLXML(String parameterName, SQLXML xmlObject) throws SQLException
- Specified by:
setSQLXMLin interfaceCallableStatement- Throws:
SQLException
-
setAsciiStream
public void setAsciiStream(int parameterIndex, InputStream x, long length) throws SQLException- Specified by:
setAsciiStreamin interfacePreparedStatement- Throws:
SQLException
-
setAsciiStream
public void setAsciiStream(int parameterIndex, InputStream x) throws SQLException- Specified by:
setAsciiStreamin interfacePreparedStatement- Throws:
SQLException
-
setBinaryStream
public void setBinaryStream(int parameterIndex, InputStream x, long length) throws SQLException- Specified by:
setBinaryStreamin interfacePreparedStatement- Throws:
SQLException
-
setBinaryStream
public void setBinaryStream(int parameterIndex, InputStream x) throws SQLException- Specified by:
setBinaryStreamin interfacePreparedStatement- Throws:
SQLException
-
setBlob
public void setBlob(int parameterIndex, InputStream inputStream, long length) throws SQLException- Specified by:
setBlobin interfacePreparedStatement- Throws:
SQLException
-
setBlob
public void setBlob(int parameterIndex, InputStream inputStream) throws SQLException- Specified by:
setBlobin interfacePreparedStatement- Throws:
SQLException
-
setCharacterStream
public void setCharacterStream(int parameterIndex, Reader reader, long length) throws SQLException- Specified by:
setCharacterStreamin interfacePreparedStatement- Throws:
SQLException
-
setCharacterStream
public void setCharacterStream(int parameterIndex, Reader reader) throws SQLException- Specified by:
setCharacterStreamin interfacePreparedStatement- Throws:
SQLException
-
setClob
public void setClob(int parameterIndex, Reader reader, long length) throws SQLException- Specified by:
setClobin interfacePreparedStatement- Throws:
SQLException
-
setClob
public void setClob(int parameterIndex, Reader reader) throws SQLException- Specified by:
setClobin interfacePreparedStatement- Throws:
SQLException
-
setNCharacterStream
public void setNCharacterStream(int parameterIndex, Reader value, long length) throws SQLException- Specified by:
setNCharacterStreamin interfacePreparedStatement- Throws:
SQLException
-
setNCharacterStream
public void setNCharacterStream(int parameterIndex, Reader value) throws SQLException- Specified by:
setNCharacterStreamin interfacePreparedStatement- Throws:
SQLException
-
setNClob
public void setNClob(int parameterIndex, NClob value) throws SQLException- Specified by:
setNClobin interfacePreparedStatement- Throws:
SQLException
-
setNClob
public void setNClob(int parameterIndex, Reader reader, long length) throws SQLException- Specified by:
setNClobin interfacePreparedStatement- Throws:
SQLException
-
setNClob
public void setNClob(int parameterIndex, Reader reader) throws SQLException- Specified by:
setNClobin interfacePreparedStatement- Throws:
SQLException
-
setNString
public void setNString(int parameterIndex, String value) throws SQLException- Specified by:
setNStringin interfacePreparedStatement- Throws:
SQLException
-
setRowId
public void setRowId(int parameterIndex, RowId x) throws SQLException- Specified by:
setRowIdin interfacePreparedStatement- Throws:
SQLException
-
setSQLXML
public void setSQLXML(int parameterIndex, SQLXML xmlObject) throws SQLException- Specified by:
setSQLXMLin interfacePreparedStatement- Throws:
SQLException
-
isClosed
public boolean isClosed() throws SQLException- Specified by:
isClosedin interfaceStatement- Throws:
SQLException
-
isPoolable
public boolean isPoolable() throws SQLException- Specified by:
isPoolablein interfaceStatement- Throws:
SQLException
-
setPoolable
public void setPoolable(boolean poolable) throws SQLException- Specified by:
setPoolablein interfaceStatement- Throws:
SQLException
-
getObject
public <T> T getObject(String columnLabel, Class<T> type) throws SQLException
- Specified by:
getObjectin interfaceCallableStatement- Throws:
SQLException
-
getObject
public <T> T getObject(int columnIndex, Class<T> type) throws SQLException- Specified by:
getObjectin interfaceCallableStatement- Throws:
SQLException
-
isCloseOnCompletion
public boolean isCloseOnCompletion() throws SQLException- Specified by:
isCloseOnCompletionin interfaceStatement- Throws:
SQLException
-
closeOnCompletion
public void closeOnCompletion() throws SQLException- Specified by:
closeOnCompletionin interfaceStatement- Throws:
SQLException
-
-