Package org.apache.derby.iapi.jdbc
Class BrokeredCallableStatement
- java.lang.Object
-
- org.apache.derby.iapi.jdbc.BrokeredStatement
-
- org.apache.derby.iapi.jdbc.BrokeredPreparedStatement
-
- org.apache.derby.iapi.jdbc.BrokeredCallableStatement
-
- All Implemented Interfaces:
java.lang.AutoCloseable,java.sql.CallableStatement,java.sql.PreparedStatement,java.sql.Statement,java.sql.Wrapper,EnginePreparedStatement,EngineStatement
- Direct Known Subclasses:
BrokeredCallableStatement42
public class BrokeredCallableStatement extends BrokeredPreparedStatement implements java.sql.CallableStatement
Brokered CallableStatement. This class implements the JDBC 4.1 interface.
-
-
Field Summary
-
Fields inherited from class org.apache.derby.iapi.jdbc.BrokeredPreparedStatement
sql
-
Fields inherited from class org.apache.derby.iapi.jdbc.BrokeredStatement
control, resultSetConcurrency, resultSetHoldability, resultSetType
-
-
Constructor Summary
Constructors Constructor Description BrokeredCallableStatement(BrokeredStatementControl control, java.lang.String sql)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidclose()In many cases, it is desirable to immediately release a Statements's database and JDBC resources instead of waiting for this to happen when it is automatically closed; the close method provides this immediate release.java.sql.CallableStatementcreateDuplicateStatement(java.sql.Connection conn, java.sql.CallableStatement oldStatement)Create a duplicate CalableStatement to this, including state, from the passed in Connection.java.sql.ArraygetArray(int i)java.sql.ArraygetArray(java.lang.String parameterName)java.math.BigDecimalgetBigDecimal(int parameterIndex)java.math.BigDecimalgetBigDecimal(int parameterIndex, int scale)Deprecated.java.math.BigDecimalgetBigDecimal(java.lang.String parameterName)java.sql.BlobgetBlob(int i)java.sql.BlobgetBlob(java.lang.String parameterName)booleangetBoolean(int parameterIndex)booleangetBoolean(java.lang.String parameterName)bytegetByte(int parameterIndex)bytegetByte(java.lang.String parameterName)byte[]getBytes(int parameterIndex)byte[]getBytes(java.lang.String parameterName)(package private) java.sql.CallableStatementgetCallableStatement()Access the underlying CallableStatement.java.io.ReadergetCharacterStream(int parameterIndex)java.io.ReadergetCharacterStream(java.lang.String parameterName)java.sql.ClobgetClob(int i)java.sql.ClobgetClob(java.lang.String parameterName)java.sql.DategetDate(int parameterIndex)java.sql.DategetDate(int parameterIndex, java.util.Calendar cal)java.sql.DategetDate(java.lang.String parameterName)java.sql.DategetDate(java.lang.String parameterName, java.util.Calendar cal)doublegetDouble(int parameterIndex)doublegetDouble(java.lang.String parameterName)floatgetFloat(int parameterIndex)floatgetFloat(java.lang.String parameterName)intgetInt(int parameterIndex)intgetInt(java.lang.String parameterName)longgetLong(int parameterIndex)longgetLong(java.lang.String parameterName)java.io.ReadergetNCharacterStream(int parameterIndex)java.io.ReadergetNCharacterStream(java.lang.String parameterName)java.sql.NClobgetNClob(int i)java.sql.NClobgetNClob(java.lang.String parameterName)java.lang.StringgetNString(int parameterIndex)java.lang.StringgetNString(java.lang.String parameterName)java.lang.ObjectgetObject(int parameterIndex)<T> TgetObject(int parameterIndex, java.lang.Class<T> type)java.lang.ObjectgetObject(int i, java.util.Map<java.lang.String,java.lang.Class<?>> map)java.lang.ObjectgetObject(java.lang.String parameterName)<T> TgetObject(java.lang.String parameterName, java.lang.Class<T> type)java.lang.ObjectgetObject(java.lang.String parameterName, java.util.Map<java.lang.String,java.lang.Class<?>> map)(package private) java.sql.PreparedStatementgetPreparedStatement()Access the underlying PreparedStatement.java.sql.RefgetRef(int i)java.sql.RefgetRef(java.lang.String parameterName)java.sql.RowIdgetRowId(int parameterIndex)java.sql.RowIdgetRowId(java.lang.String parameterName)shortgetShort(int parameterIndex)shortgetShort(java.lang.String parameterName)java.sql.SQLXMLgetSQLXML(int parameterIndex)java.sql.SQLXMLgetSQLXML(java.lang.String parametername)java.lang.StringgetString(int parameterIndex)java.lang.StringgetString(java.lang.String parameterName)java.sql.TimegetTime(int parameterIndex)java.sql.TimegetTime(int parameterIndex, java.util.Calendar cal)java.sql.TimegetTime(java.lang.String parameterName)java.sql.TimegetTime(java.lang.String parameterName, java.util.Calendar cal)java.sql.TimestampgetTimestamp(int parameterIndex)java.sql.TimestampgetTimestamp(int parameterIndex, java.util.Calendar cal)java.sql.TimestampgetTimestamp(java.lang.String parameterName)java.sql.TimestampgetTimestamp(java.lang.String parameterName, java.util.Calendar cal)java.net.URLgetURL(int i)java.net.URLgetURL(java.lang.String parameterName)voidregisterOutParameter(int parameterIndex, int sqlType)voidregisterOutParameter(int parameterIndex, int sqlType, int scale)voidregisterOutParameter(int paramIndex, int sqlType, java.lang.String typeName)voidregisterOutParameter(java.lang.String a, int b)voidregisterOutParameter(java.lang.String a, int b, int c)voidregisterOutParameter(java.lang.String a, int b, java.lang.String c)voidsetAsciiStream(java.lang.String parameterName, java.io.InputStream x)voidsetAsciiStream(java.lang.String parameterName, java.io.InputStream value, int length)voidsetAsciiStream(java.lang.String parameterName, java.io.InputStream x, long length)voidsetBigDecimal(java.lang.String parameterName, java.math.BigDecimal value)voidsetBinaryStream(java.lang.String parameterName, java.io.InputStream x)voidsetBinaryStream(java.lang.String parameterName, java.io.InputStream value, int length)voidsetBinaryStream(java.lang.String parameterName, java.io.InputStream x, long length)voidsetBlob(java.lang.String parameterName, java.io.InputStream inputStream)voidsetBlob(java.lang.String parameterName, java.io.InputStream inputStream, long length)voidsetBlob(java.lang.String parameterName, java.sql.Blob x)voidsetBoolean(java.lang.String parameterName, boolean value)voidsetByte(java.lang.String parameterName, byte value)voidsetBytes(java.lang.String parameterName, byte[] value)voidsetCharacterStream(java.lang.String parameterName, java.io.Reader x)voidsetCharacterStream(java.lang.String parameterName, java.io.Reader value, int length)voidsetCharacterStream(java.lang.String parameterName, java.io.Reader x, long length)voidsetClob(java.lang.String parameterName, java.io.Reader reader)voidsetClob(java.lang.String parameterName, java.io.Reader reader, long length)voidsetClob(java.lang.String parameterName, java.sql.Clob x)voidsetDate(java.lang.String parameterName, java.sql.Date value)voidsetDate(java.lang.String parameterName, java.sql.Date value, java.util.Calendar cal)voidsetDouble(java.lang.String parameterName, double value)voidsetFloat(java.lang.String parameterName, float value)voidsetInt(java.lang.String parameterName, int value)voidsetLong(java.lang.String parameterName, long value)voidsetNCharacterStream(java.lang.String parameterName, java.io.Reader value)voidsetNCharacterStream(java.lang.String parameterName, java.io.Reader value, long length)voidsetNClob(java.lang.String parameterName, java.io.Reader reader)voidsetNClob(java.lang.String parameterName, java.io.Reader reader, long length)voidsetNClob(java.lang.String parameterName, java.sql.NClob value)voidsetNString(java.lang.String parameterName, java.lang.String value)voidsetNull(java.lang.String parameterName, int type)voidsetNull(java.lang.String parameterName, int a, java.lang.String b)voidsetObject(java.lang.String parameterName, java.lang.Object value)voidsetObject(java.lang.String parameterName, java.lang.Object value, int a)voidsetObject(java.lang.String parameterName, java.lang.Object value, int a, int b)voidsetRowId(java.lang.String parameterName, java.sql.RowId x)voidsetShort(java.lang.String parameterName, short value)voidsetSQLXML(java.lang.String parameterName, java.sql.SQLXML xmlObject)voidsetString(java.lang.String parameterName, java.lang.String value)voidsetTime(java.lang.String parameterName, java.sql.Time value)voidsetTime(java.lang.String parameterName, java.sql.Time value, java.util.Calendar cal)voidsetTimestamp(java.lang.String parameterName, java.sql.Timestamp value)voidsetTimestamp(java.lang.String parameterName, java.sql.Timestamp value, java.util.Calendar cal)voidsetURL(java.lang.String parameterName, java.net.URL value)booleanwasNull()-
Methods inherited from class org.apache.derby.iapi.jdbc.BrokeredPreparedStatement
addBatch, clearParameters, createDuplicateStatement, execute, executeLargeUpdate, executeQuery, executeUpdate, getMetaData, getParameterMetaData, getStatement, getVersionCounter, 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, setRef, setRowId, setShort, setSQLXML, setString, setTime, setTime, setTimestamp, setTimestamp, setUnicodeStream, setURL
-
Methods inherited from class org.apache.derby.iapi.jdbc.BrokeredStatement
addBatch, cancel, checkIfClosed, clearBatch, clearWarnings, closeOnCompletion, controlCheck, createDuplicateStatement, 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, isWrapperFor, setCursorName, setEscapeProcessing, setFetchDirection, setFetchSize, setLargeMaxRows, setMaxFieldSize, setMaxRows, setPoolable, setQueryTimeout, setStatementState, unableToUnwrap, unwrap, wrapResultSet
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.sql.CallableStatement
registerOutParameter, registerOutParameter, registerOutParameter, registerOutParameter, registerOutParameter, registerOutParameter, setObject, setObject
-
Methods inherited from interface org.apache.derby.iapi.jdbc.EngineStatement
closeOnCompletion, executeLargeBatch, executeLargeUpdate, executeLargeUpdate, executeLargeUpdate, executeLargeUpdate, getLargeMaxRows, getLargeUpdateCount, isCloseOnCompletion, setLargeMaxRows
-
Methods inherited from interface java.sql.PreparedStatement
addBatch, clearParameters, execute, 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
-
Methods inherited from interface java.sql.Statement
addBatch, cancel, clearBatch, clearWarnings, enquoteIdentifier, enquoteLiteral, enquoteNCharLiteral, execute, execute, execute, execute, executeBatch, executeQuery, executeUpdate, executeUpdate, executeUpdate, executeUpdate, getConnection, getFetchDirection, getFetchSize, getGeneratedKeys, getMaxFieldSize, getMaxRows, getMoreResults, getMoreResults, getQueryTimeout, getResultSet, getResultSetConcurrency, getResultSetHoldability, getResultSetType, getUpdateCount, getWarnings, isClosed, isPoolable, isSimpleIdentifier, setCursorName, setEscapeProcessing, setFetchDirection, setFetchSize, setMaxFieldSize, setMaxRows, setPoolable, setQueryTimeout
-
-
-
-
Constructor Detail
-
BrokeredCallableStatement
public BrokeredCallableStatement(BrokeredStatementControl control, java.lang.String sql) throws java.sql.SQLException
- Throws:
java.sql.SQLException
-
-
Method Detail
-
registerOutParameter
public final void registerOutParameter(int parameterIndex, int sqlType) throws java.sql.SQLException- Specified by:
registerOutParameterin interfacejava.sql.CallableStatement- Throws:
java.sql.SQLException
-
registerOutParameter
public final void registerOutParameter(int parameterIndex, int sqlType, int scale) throws java.sql.SQLException- Specified by:
registerOutParameterin interfacejava.sql.CallableStatement- Throws:
java.sql.SQLException
-
wasNull
public final boolean wasNull() throws java.sql.SQLException- Specified by:
wasNullin interfacejava.sql.CallableStatement- Throws:
java.sql.SQLException
-
close
public final void close() throws java.sql.SQLExceptionDescription copied from class:BrokeredStatementIn many cases, it is desirable to immediately release a Statements's database and JDBC resources instead of waiting for this to happen when it is automatically closed; the close method provides this immediate release.Note: A Statement is automatically closed when it is garbage collected. When a Statement is closed its current ResultSet, if one exists, is also closed.
- Specified by:
closein interfacejava.lang.AutoCloseable- Specified by:
closein interfacejava.sql.Statement- Overrides:
closein classBrokeredPreparedStatement- Throws:
java.sql.SQLException- thrown on failure.
-
getString
public final java.lang.String getString(int parameterIndex) throws java.sql.SQLException- Specified by:
getStringin interfacejava.sql.CallableStatement- Throws:
java.sql.SQLException
-
getBoolean
public final boolean getBoolean(int parameterIndex) throws java.sql.SQLException- Specified by:
getBooleanin interfacejava.sql.CallableStatement- Throws:
java.sql.SQLException
-
getByte
public final byte getByte(int parameterIndex) throws java.sql.SQLException- Specified by:
getBytein interfacejava.sql.CallableStatement- Throws:
java.sql.SQLException
-
getShort
public final short getShort(int parameterIndex) throws java.sql.SQLException- Specified by:
getShortin interfacejava.sql.CallableStatement- Throws:
java.sql.SQLException
-
getInt
public final int getInt(int parameterIndex) throws java.sql.SQLException- Specified by:
getIntin interfacejava.sql.CallableStatement- Throws:
java.sql.SQLException
-
getLong
public final long getLong(int parameterIndex) throws java.sql.SQLException- Specified by:
getLongin interfacejava.sql.CallableStatement- Throws:
java.sql.SQLException
-
getFloat
public final float getFloat(int parameterIndex) throws java.sql.SQLException- Specified by:
getFloatin interfacejava.sql.CallableStatement- Throws:
java.sql.SQLException
-
getDouble
public final double getDouble(int parameterIndex) throws java.sql.SQLException- Specified by:
getDoublein interfacejava.sql.CallableStatement- Throws:
java.sql.SQLException
-
getBigDecimal
public final java.math.BigDecimal getBigDecimal(int parameterIndex, int scale) throws java.sql.SQLExceptionDeprecated.- Specified by:
getBigDecimalin interfacejava.sql.CallableStatement- Throws:
java.sql.SQLException
-
getBytes
public final byte[] getBytes(int parameterIndex) throws java.sql.SQLException- Specified by:
getBytesin interfacejava.sql.CallableStatement- Throws:
java.sql.SQLException
-
getDate
public final java.sql.Date getDate(int parameterIndex) throws java.sql.SQLException- Specified by:
getDatein interfacejava.sql.CallableStatement- Throws:
java.sql.SQLException
-
getDate
public final java.sql.Date getDate(int parameterIndex, java.util.Calendar cal) throws java.sql.SQLException- Specified by:
getDatein interfacejava.sql.CallableStatement- Throws:
java.sql.SQLException
-
getTime
public final java.sql.Time getTime(int parameterIndex) throws java.sql.SQLException- Specified by:
getTimein interfacejava.sql.CallableStatement- Throws:
java.sql.SQLException
-
getTimestamp
public final java.sql.Timestamp getTimestamp(int parameterIndex) throws java.sql.SQLException- Specified by:
getTimestampin interfacejava.sql.CallableStatement- Throws:
java.sql.SQLException
-
getObject
public final java.lang.Object getObject(int parameterIndex) throws java.sql.SQLException- Specified by:
getObjectin interfacejava.sql.CallableStatement- Throws:
java.sql.SQLException
-
getBigDecimal
public final java.math.BigDecimal getBigDecimal(int parameterIndex) throws java.sql.SQLException- Specified by:
getBigDecimalin interfacejava.sql.CallableStatement- Throws:
java.sql.SQLException
-
getObject
public final java.lang.Object getObject(int i, java.util.Map<java.lang.String,java.lang.Class<?>> map) throws java.sql.SQLException- Specified by:
getObjectin interfacejava.sql.CallableStatement- Throws:
java.sql.SQLException
-
getRef
public final java.sql.Ref getRef(int i) throws java.sql.SQLException- Specified by:
getRefin interfacejava.sql.CallableStatement- Throws:
java.sql.SQLException
-
getBlob
public final java.sql.Blob getBlob(int i) throws java.sql.SQLException- Specified by:
getBlobin interfacejava.sql.CallableStatement- Throws:
java.sql.SQLException
-
getClob
public final java.sql.Clob getClob(int i) throws java.sql.SQLException- Specified by:
getClobin interfacejava.sql.CallableStatement- Throws:
java.sql.SQLException
-
getArray
public final java.sql.Array getArray(int i) throws java.sql.SQLException- Specified by:
getArrayin interfacejava.sql.CallableStatement- Throws:
java.sql.SQLException
-
getTime
public final java.sql.Time getTime(int parameterIndex, java.util.Calendar cal) throws java.sql.SQLException- Specified by:
getTimein interfacejava.sql.CallableStatement- Throws:
java.sql.SQLException
-
getTimestamp
public final java.sql.Timestamp getTimestamp(int parameterIndex, java.util.Calendar cal) throws java.sql.SQLException- Specified by:
getTimestampin interfacejava.sql.CallableStatement- Throws:
java.sql.SQLException
-
registerOutParameter
public final void registerOutParameter(int paramIndex, int sqlType, java.lang.String typeName) throws java.sql.SQLException- Specified by:
registerOutParameterin interfacejava.sql.CallableStatement- Throws:
java.sql.SQLException
-
setURL
public final void setURL(java.lang.String parameterName, java.net.URL value) throws java.sql.SQLException- Specified by:
setURLin interfacejava.sql.CallableStatement- Throws:
java.sql.SQLException
-
setNull
public final void setNull(java.lang.String parameterName, int type) throws java.sql.SQLException- Specified by:
setNullin interfacejava.sql.CallableStatement- Throws:
java.sql.SQLException
-
setBoolean
public final void setBoolean(java.lang.String parameterName, boolean value) throws java.sql.SQLException- Specified by:
setBooleanin interfacejava.sql.CallableStatement- Throws:
java.sql.SQLException
-
setByte
public final void setByte(java.lang.String parameterName, byte value) throws java.sql.SQLException- Specified by:
setBytein interfacejava.sql.CallableStatement- Throws:
java.sql.SQLException
-
setShort
public final void setShort(java.lang.String parameterName, short value) throws java.sql.SQLException- Specified by:
setShortin interfacejava.sql.CallableStatement- Throws:
java.sql.SQLException
-
setInt
public final void setInt(java.lang.String parameterName, int value) throws java.sql.SQLException- Specified by:
setIntin interfacejava.sql.CallableStatement- Throws:
java.sql.SQLException
-
setLong
public final void setLong(java.lang.String parameterName, long value) throws java.sql.SQLException- Specified by:
setLongin interfacejava.sql.CallableStatement- Throws:
java.sql.SQLException
-
setFloat
public final void setFloat(java.lang.String parameterName, float value) throws java.sql.SQLException- Specified by:
setFloatin interfacejava.sql.CallableStatement- Throws:
java.sql.SQLException
-
setDouble
public final void setDouble(java.lang.String parameterName, double value) throws java.sql.SQLException- Specified by:
setDoublein interfacejava.sql.CallableStatement- Throws:
java.sql.SQLException
-
setBigDecimal
public final void setBigDecimal(java.lang.String parameterName, java.math.BigDecimal value) throws java.sql.SQLException- Specified by:
setBigDecimalin interfacejava.sql.CallableStatement- Throws:
java.sql.SQLException
-
setString
public final void setString(java.lang.String parameterName, java.lang.String value) throws java.sql.SQLException- Specified by:
setStringin interfacejava.sql.CallableStatement- Throws:
java.sql.SQLException
-
setBytes
public final void setBytes(java.lang.String parameterName, byte[] value) throws java.sql.SQLException- Specified by:
setBytesin interfacejava.sql.CallableStatement- Throws:
java.sql.SQLException
-
setDate
public final void setDate(java.lang.String parameterName, java.sql.Date value) throws java.sql.SQLException- Specified by:
setDatein interfacejava.sql.CallableStatement- Throws:
java.sql.SQLException
-
setTime
public final void setTime(java.lang.String parameterName, java.sql.Time value) throws java.sql.SQLException- Specified by:
setTimein interfacejava.sql.CallableStatement- Throws:
java.sql.SQLException
-
setTimestamp
public final void setTimestamp(java.lang.String parameterName, java.sql.Timestamp value) throws java.sql.SQLException- Specified by:
setTimestampin interfacejava.sql.CallableStatement- Throws:
java.sql.SQLException
-
setAsciiStream
public final void setAsciiStream(java.lang.String parameterName, java.io.InputStream value, int length) throws java.sql.SQLException- Specified by:
setAsciiStreamin interfacejava.sql.CallableStatement- Throws:
java.sql.SQLException
-
setBinaryStream
public final void setBinaryStream(java.lang.String parameterName, java.io.InputStream value, int length) throws java.sql.SQLException- Specified by:
setBinaryStreamin interfacejava.sql.CallableStatement- Throws:
java.sql.SQLException
-
setObject
public final void setObject(java.lang.String parameterName, java.lang.Object value, int a, int b) throws java.sql.SQLException- Specified by:
setObjectin interfacejava.sql.CallableStatement- Throws:
java.sql.SQLException
-
setObject
public final void setObject(java.lang.String parameterName, java.lang.Object value, int a) throws java.sql.SQLException- Specified by:
setObjectin interfacejava.sql.CallableStatement- Throws:
java.sql.SQLException
-
setObject
public final void setObject(java.lang.String parameterName, java.lang.Object value) throws java.sql.SQLException- Specified by:
setObjectin interfacejava.sql.CallableStatement- Throws:
java.sql.SQLException
-
setCharacterStream
public final void setCharacterStream(java.lang.String parameterName, java.io.Reader value, int length) throws java.sql.SQLException- Specified by:
setCharacterStreamin interfacejava.sql.CallableStatement- Throws:
java.sql.SQLException
-
setDate
public final void setDate(java.lang.String parameterName, java.sql.Date value, java.util.Calendar cal) throws java.sql.SQLException- Specified by:
setDatein interfacejava.sql.CallableStatement- Throws:
java.sql.SQLException
-
setTime
public final void setTime(java.lang.String parameterName, java.sql.Time value, java.util.Calendar cal) throws java.sql.SQLException- Specified by:
setTimein interfacejava.sql.CallableStatement- Throws:
java.sql.SQLException
-
setTimestamp
public final void setTimestamp(java.lang.String parameterName, java.sql.Timestamp value, java.util.Calendar cal) throws java.sql.SQLException- Specified by:
setTimestampin interfacejava.sql.CallableStatement- Throws:
java.sql.SQLException
-
setNull
public final void setNull(java.lang.String parameterName, int a, java.lang.String b) throws java.sql.SQLException- Specified by:
setNullin interfacejava.sql.CallableStatement- Throws:
java.sql.SQLException
-
getString
public final java.lang.String getString(java.lang.String parameterName) throws java.sql.SQLException- Specified by:
getStringin interfacejava.sql.CallableStatement- Throws:
java.sql.SQLException
-
getBoolean
public final boolean getBoolean(java.lang.String parameterName) throws java.sql.SQLException- Specified by:
getBooleanin interfacejava.sql.CallableStatement- Throws:
java.sql.SQLException
-
getByte
public final byte getByte(java.lang.String parameterName) throws java.sql.SQLException- Specified by:
getBytein interfacejava.sql.CallableStatement- Throws:
java.sql.SQLException
-
getShort
public final short getShort(java.lang.String parameterName) throws java.sql.SQLException- Specified by:
getShortin interfacejava.sql.CallableStatement- Throws:
java.sql.SQLException
-
getInt
public final int getInt(java.lang.String parameterName) throws java.sql.SQLException- Specified by:
getIntin interfacejava.sql.CallableStatement- Throws:
java.sql.SQLException
-
getLong
public final long getLong(java.lang.String parameterName) throws java.sql.SQLException- Specified by:
getLongin interfacejava.sql.CallableStatement- Throws:
java.sql.SQLException
-
getFloat
public final float getFloat(java.lang.String parameterName) throws java.sql.SQLException- Specified by:
getFloatin interfacejava.sql.CallableStatement- Throws:
java.sql.SQLException
-
getDouble
public final double getDouble(java.lang.String parameterName) throws java.sql.SQLException- Specified by:
getDoublein interfacejava.sql.CallableStatement- Throws:
java.sql.SQLException
-
getBytes
public final byte[] getBytes(java.lang.String parameterName) throws java.sql.SQLException- Specified by:
getBytesin interfacejava.sql.CallableStatement- Throws:
java.sql.SQLException
-
getDate
public final java.sql.Date getDate(java.lang.String parameterName) throws java.sql.SQLException- Specified by:
getDatein interfacejava.sql.CallableStatement- Throws:
java.sql.SQLException
-
getTime
public final java.sql.Time getTime(java.lang.String parameterName) throws java.sql.SQLException- Specified by:
getTimein interfacejava.sql.CallableStatement- Throws:
java.sql.SQLException
-
getTimestamp
public final java.sql.Timestamp getTimestamp(java.lang.String parameterName) throws java.sql.SQLException- Specified by:
getTimestampin interfacejava.sql.CallableStatement- Throws:
java.sql.SQLException
-
getObject
public final java.lang.Object getObject(java.lang.String parameterName) throws java.sql.SQLException- Specified by:
getObjectin interfacejava.sql.CallableStatement- Throws:
java.sql.SQLException
-
getBigDecimal
public final java.math.BigDecimal getBigDecimal(java.lang.String parameterName) throws java.sql.SQLException- Specified by:
getBigDecimalin interfacejava.sql.CallableStatement- Throws:
java.sql.SQLException
-
getObject
public final java.lang.Object getObject(java.lang.String parameterName, java.util.Map<java.lang.String,java.lang.Class<?>> map) throws java.sql.SQLException- Specified by:
getObjectin interfacejava.sql.CallableStatement- Throws:
java.sql.SQLException
-
getRef
public final java.sql.Ref getRef(java.lang.String parameterName) throws java.sql.SQLException- Specified by:
getRefin interfacejava.sql.CallableStatement- Throws:
java.sql.SQLException
-
getBlob
public final java.sql.Blob getBlob(java.lang.String parameterName) throws java.sql.SQLException- Specified by:
getBlobin interfacejava.sql.CallableStatement- Throws:
java.sql.SQLException
-
getClob
public final java.sql.Clob getClob(java.lang.String parameterName) throws java.sql.SQLException- Specified by:
getClobin interfacejava.sql.CallableStatement- Throws:
java.sql.SQLException
-
getArray
public final java.sql.Array getArray(java.lang.String parameterName) throws java.sql.SQLException- Specified by:
getArrayin interfacejava.sql.CallableStatement- Throws:
java.sql.SQLException
-
getDate
public final java.sql.Date getDate(java.lang.String parameterName, java.util.Calendar cal) throws java.sql.SQLException- Specified by:
getDatein interfacejava.sql.CallableStatement- Throws:
java.sql.SQLException
-
getTime
public final java.sql.Time getTime(java.lang.String parameterName, java.util.Calendar cal) throws java.sql.SQLException- Specified by:
getTimein interfacejava.sql.CallableStatement- Throws:
java.sql.SQLException
-
getTimestamp
public final java.sql.Timestamp getTimestamp(java.lang.String parameterName, java.util.Calendar cal) throws java.sql.SQLException- Specified by:
getTimestampin interfacejava.sql.CallableStatement- Throws:
java.sql.SQLException
-
getURL
public final java.net.URL getURL(java.lang.String parameterName) throws java.sql.SQLException- Specified by:
getURLin interfacejava.sql.CallableStatement- Throws:
java.sql.SQLException
-
getURL
public final java.net.URL getURL(int i) throws java.sql.SQLException- Specified by:
getURLin interfacejava.sql.CallableStatement- Throws:
java.sql.SQLException
-
registerOutParameter
public final void registerOutParameter(java.lang.String a, int b) throws java.sql.SQLException- Specified by:
registerOutParameterin interfacejava.sql.CallableStatement- Throws:
java.sql.SQLException
-
registerOutParameter
public final void registerOutParameter(java.lang.String a, int b, int c) throws java.sql.SQLException- Specified by:
registerOutParameterin interfacejava.sql.CallableStatement- Throws:
java.sql.SQLException
-
registerOutParameter
public final void registerOutParameter(java.lang.String a, int b, java.lang.String c) throws java.sql.SQLException- Specified by:
registerOutParameterin interfacejava.sql.CallableStatement- Throws:
java.sql.SQLException
-
getCharacterStream
public final java.io.Reader getCharacterStream(int parameterIndex) throws java.sql.SQLException- Specified by:
getCharacterStreamin interfacejava.sql.CallableStatement- Throws:
java.sql.SQLException
-
getCharacterStream
public final java.io.Reader getCharacterStream(java.lang.String parameterName) throws java.sql.SQLException- Specified by:
getCharacterStreamin interfacejava.sql.CallableStatement- Throws:
java.sql.SQLException
-
getNCharacterStream
public final java.io.Reader getNCharacterStream(int parameterIndex) throws java.sql.SQLException- Specified by:
getNCharacterStreamin interfacejava.sql.CallableStatement- Throws:
java.sql.SQLException
-
getNCharacterStream
public final java.io.Reader getNCharacterStream(java.lang.String parameterName) throws java.sql.SQLException- Specified by:
getNCharacterStreamin interfacejava.sql.CallableStatement- Throws:
java.sql.SQLException
-
getNString
public final java.lang.String getNString(int parameterIndex) throws java.sql.SQLException- Specified by:
getNStringin interfacejava.sql.CallableStatement- Throws:
java.sql.SQLException
-
getNString
public final java.lang.String getNString(java.lang.String parameterName) throws java.sql.SQLException- Specified by:
getNStringin interfacejava.sql.CallableStatement- Throws:
java.sql.SQLException
-
getRowId
public final java.sql.RowId getRowId(int parameterIndex) throws java.sql.SQLException- Specified by:
getRowIdin interfacejava.sql.CallableStatement- Throws:
java.sql.SQLException
-
getRowId
public final java.sql.RowId getRowId(java.lang.String parameterName) throws java.sql.SQLException- Specified by:
getRowIdin interfacejava.sql.CallableStatement- Throws:
java.sql.SQLException
-
setRowId
public final void setRowId(java.lang.String parameterName, java.sql.RowId x) throws java.sql.SQLException- Specified by:
setRowIdin interfacejava.sql.CallableStatement- Throws:
java.sql.SQLException
-
setBlob
public final void setBlob(java.lang.String parameterName, java.sql.Blob x) throws java.sql.SQLException- Specified by:
setBlobin interfacejava.sql.CallableStatement- Throws:
java.sql.SQLException
-
setClob
public final void setClob(java.lang.String parameterName, java.sql.Clob x) throws java.sql.SQLException- Specified by:
setClobin interfacejava.sql.CallableStatement- Throws:
java.sql.SQLException
-
setNString
public final void setNString(java.lang.String parameterName, java.lang.String value) throws java.sql.SQLException- Specified by:
setNStringin interfacejava.sql.CallableStatement- Throws:
java.sql.SQLException
-
setNCharacterStream
public final void setNCharacterStream(java.lang.String parameterName, java.io.Reader value) throws java.sql.SQLException- Specified by:
setNCharacterStreamin interfacejava.sql.CallableStatement- Throws:
java.sql.SQLException
-
setNCharacterStream
public final void setNCharacterStream(java.lang.String parameterName, java.io.Reader value, long length) throws java.sql.SQLException- Specified by:
setNCharacterStreamin interfacejava.sql.CallableStatement- Throws:
java.sql.SQLException
-
setNClob
public final void setNClob(java.lang.String parameterName, java.sql.NClob value) throws java.sql.SQLException- Specified by:
setNClobin interfacejava.sql.CallableStatement- Throws:
java.sql.SQLException
-
setClob
public final void setClob(java.lang.String parameterName, java.io.Reader reader) throws java.sql.SQLException- Specified by:
setClobin interfacejava.sql.CallableStatement- Throws:
java.sql.SQLException
-
setClob
public final void setClob(java.lang.String parameterName, java.io.Reader reader, long length) throws java.sql.SQLException- Specified by:
setClobin interfacejava.sql.CallableStatement- Throws:
java.sql.SQLException
-
setBlob
public final void setBlob(java.lang.String parameterName, java.io.InputStream inputStream) throws java.sql.SQLException- Specified by:
setBlobin interfacejava.sql.CallableStatement- Throws:
java.sql.SQLException
-
setBlob
public final void setBlob(java.lang.String parameterName, java.io.InputStream inputStream, long length) throws java.sql.SQLException- Specified by:
setBlobin interfacejava.sql.CallableStatement- Throws:
java.sql.SQLException
-
setNClob
public final void setNClob(java.lang.String parameterName, java.io.Reader reader) throws java.sql.SQLException- Specified by:
setNClobin interfacejava.sql.CallableStatement- Throws:
java.sql.SQLException
-
setNClob
public final void setNClob(java.lang.String parameterName, java.io.Reader reader, long length) throws java.sql.SQLException- Specified by:
setNClobin interfacejava.sql.CallableStatement- Throws:
java.sql.SQLException
-
getNClob
public java.sql.NClob getNClob(int i) throws java.sql.SQLException- Specified by:
getNClobin interfacejava.sql.CallableStatement- Throws:
java.sql.SQLException
-
getNClob
public java.sql.NClob getNClob(java.lang.String parameterName) throws java.sql.SQLException- Specified by:
getNClobin interfacejava.sql.CallableStatement- Throws:
java.sql.SQLException
-
setSQLXML
public final void setSQLXML(java.lang.String parameterName, java.sql.SQLXML xmlObject) throws java.sql.SQLException- Specified by:
setSQLXMLin interfacejava.sql.CallableStatement- Throws:
java.sql.SQLException
-
getSQLXML
public java.sql.SQLXML getSQLXML(int parameterIndex) throws java.sql.SQLException- Specified by:
getSQLXMLin interfacejava.sql.CallableStatement- Throws:
java.sql.SQLException
-
getSQLXML
public java.sql.SQLXML getSQLXML(java.lang.String parametername) throws java.sql.SQLException- Specified by:
getSQLXMLin interfacejava.sql.CallableStatement- Throws:
java.sql.SQLException
-
setAsciiStream
public final void setAsciiStream(java.lang.String parameterName, java.io.InputStream x) throws java.sql.SQLException- Specified by:
setAsciiStreamin interfacejava.sql.CallableStatement- Throws:
java.sql.SQLException
-
setAsciiStream
public final void setAsciiStream(java.lang.String parameterName, java.io.InputStream x, long length) throws java.sql.SQLException- Specified by:
setAsciiStreamin interfacejava.sql.CallableStatement- Throws:
java.sql.SQLException
-
setBinaryStream
public final void setBinaryStream(java.lang.String parameterName, java.io.InputStream x) throws java.sql.SQLException- Specified by:
setBinaryStreamin interfacejava.sql.CallableStatement- Throws:
java.sql.SQLException
-
setBinaryStream
public final void setBinaryStream(java.lang.String parameterName, java.io.InputStream x, long length) throws java.sql.SQLException- Specified by:
setBinaryStreamin interfacejava.sql.CallableStatement- Throws:
java.sql.SQLException
-
setCharacterStream
public final void setCharacterStream(java.lang.String parameterName, java.io.Reader x) throws java.sql.SQLException- Specified by:
setCharacterStreamin interfacejava.sql.CallableStatement- Throws:
java.sql.SQLException
-
setCharacterStream
public final void setCharacterStream(java.lang.String parameterName, java.io.Reader x, long length) throws java.sql.SQLException- Specified by:
setCharacterStreamin interfacejava.sql.CallableStatement- Throws:
java.sql.SQLException
-
getObject
public final <T> T getObject(int parameterIndex, java.lang.Class<T> type) throws java.sql.SQLException- Specified by:
getObjectin interfacejava.sql.CallableStatement- Throws:
java.sql.SQLException
-
getObject
public final <T> T getObject(java.lang.String parameterName, java.lang.Class<T> type) throws java.sql.SQLException- Specified by:
getObjectin interfacejava.sql.CallableStatement- Throws:
java.sql.SQLException
-
getCallableStatement
final java.sql.CallableStatement getCallableStatement() throws java.sql.SQLExceptionAccess the underlying CallableStatement. This method is package protected to restrict access to the underlying object to the brokered objects. Allowing the application to access the underlying object thtough a public method would- Throws:
java.sql.SQLException
-
getPreparedStatement
final java.sql.PreparedStatement getPreparedStatement() throws java.sql.SQLExceptionAccess the underlying PreparedStatement. This method is package protected to restrict access to the underlying object to the brokered objects. Allowing the application to access the underlying object thtough a public method would- Overrides:
getPreparedStatementin classBrokeredPreparedStatement- Throws:
java.sql.SQLException
-
createDuplicateStatement
public java.sql.CallableStatement createDuplicateStatement(java.sql.Connection conn, java.sql.CallableStatement oldStatement) throws java.sql.SQLExceptionCreate a duplicate CalableStatement to this, including state, from the passed in Connection.- Throws:
java.sql.SQLException
-
-