| java.lang.Object org.apache.commons.dbcp.AbandonedTrace org.apache.commons.dbcp.DelegatingStatement org.apache.commons.dbcp.DelegatingPreparedStatement org.apache.commons.dbcp.DelegatingCallableStatement
DelegatingCallableStatement | public class DelegatingCallableStatement extends DelegatingPreparedStatement implements CallableStatement(Code) | | A base delegating implementation of
CallableStatement .
All of the methods from the
CallableStatement interface
simply call the corresponding method on the "delegate"
provided in my constructor.
Extends AbandonedTrace to implement Statement tracking and
logging of code which created the Statement. Tracking the
Statement ensures that the Connection which created it can
close any open Statement's on Connection close.
author: Glenn L. Nielsen author: James House author: Dirk Verbeeck version: $Revision: 491655 $ $Date: 2007-01-01 15:05:30 -0700 (Mon, 01 Jan 2007) $ |
Method Summary | |
public boolean | equals(Object obj) | public Array | getArray(int i) | public Array | getArray(String parameterName) | public BigDecimal | getBigDecimal(int parameterIndex, int scale) | public BigDecimal | getBigDecimal(int parameterIndex) | public BigDecimal | getBigDecimal(String parameterName) | public Blob | getBlob(int i) | public Blob | getBlob(String parameterName) | public boolean | getBoolean(int parameterIndex) | public boolean | getBoolean(String parameterName) | public byte | getByte(int parameterIndex) | public byte | getByte(String parameterName) | public byte[] | getBytes(int parameterIndex) | public byte[] | getBytes(String parameterName) | public Clob | getClob(int i) | public Clob | getClob(String parameterName) | public Date | getDate(int parameterIndex) | public Date | getDate(int parameterIndex, Calendar cal) | public Date | getDate(String parameterName) | public Date | getDate(String parameterName, Calendar cal) | public double | getDouble(int parameterIndex) | public double | getDouble(String parameterName) | public float | getFloat(int parameterIndex) | public float | getFloat(String parameterName) | public int | getInt(int parameterIndex) | public int | getInt(String parameterName) | public long | getLong(int parameterIndex) | public long | getLong(String parameterName) | public Object | getObject(int parameterIndex) | public Object | getObject(int i, Map map) | public Object | getObject(String parameterName) | public Object | getObject(String parameterName, Map map) | public Ref | getRef(int i) | public Ref | getRef(String parameterName) | public short | getShort(int parameterIndex) | public short | getShort(String parameterName) | public String | getString(int parameterIndex) | public String | getString(String parameterName) | public Time | getTime(int parameterIndex) | public Time | getTime(int parameterIndex, Calendar cal) | public Time | getTime(String parameterName) | public Time | getTime(String parameterName, Calendar cal) | public Timestamp | getTimestamp(int parameterIndex) | public Timestamp | getTimestamp(int parameterIndex, Calendar cal) | public Timestamp | getTimestamp(String parameterName) | public Timestamp | getTimestamp(String parameterName, Calendar cal) | public URL | getURL(int parameterIndex) | public URL | getURL(String parameterName) | public void | registerOutParameter(int parameterIndex, int sqlType) | public void | registerOutParameter(int parameterIndex, int sqlType, int scale) | public void | registerOutParameter(int paramIndex, int sqlType, String typeName) | public void | registerOutParameter(String parameterName, int sqlType) | public void | registerOutParameter(String parameterName, int sqlType, int scale) | public void | registerOutParameter(String parameterName, int sqlType, String typeName) | public void | setAsciiStream(String parameterName, InputStream x, int length) | public void | setBigDecimal(String parameterName, BigDecimal x) | public void | setBinaryStream(String parameterName, InputStream x, int length) | public void | setBoolean(String parameterName, boolean x) | public void | setByte(String parameterName, byte x) | public void | setBytes(String parameterName, byte[] x) | public void | setCharacterStream(String parameterName, Reader reader, int length) | public void | setDate(String parameterName, Date x) | public void | setDate(String parameterName, Date x, Calendar cal) | public void | setDelegate(CallableStatement s) Sets my delegate. | public void | setDouble(String parameterName, double x) | public void | setFloat(String parameterName, float x) | public void | setInt(String parameterName, int x) | public void | setLong(String parameterName, long x) | public void | setNull(String parameterName, int sqlType) | public void | setNull(String parameterName, int sqlType, String typeName) | public void | setObject(String parameterName, Object x, int targetSqlType, int scale) | public void | setObject(String parameterName, Object x, int targetSqlType) | public void | setObject(String parameterName, Object x) | public void | setShort(String parameterName, short x) | public void | setString(String parameterName, String x) | public void | setTime(String parameterName, Time x) | public void | setTime(String parameterName, Time x, Calendar cal) | public void | setTimestamp(String parameterName, Timestamp x) | public void | setTimestamp(String parameterName, Timestamp x, Calendar cal) | public void | setURL(String parameterName, URL val) | public boolean | wasNull() |
registerOutParameter | public void registerOutParameter(int parameterIndex, int sqlType) throws SQLException(Code) | | |
registerOutParameter | public void registerOutParameter(int parameterIndex, int sqlType, int scale) throws SQLException(Code) | | |
registerOutParameter | public void registerOutParameter(int paramIndex, int sqlType, String typeName) throws SQLException(Code) | | |
registerOutParameter | public void registerOutParameter(String parameterName, int sqlType, int scale) throws SQLException(Code) | | |
Methods inherited from org.apache.commons.dbcp.DelegatingPreparedStatement | public void addBatch() throws SQLException(Code)(Java Doc) public void clearParameters() throws SQLException(Code)(Java Doc) public boolean equals(Object obj)(Code)(Java Doc) public boolean execute() throws SQLException(Code)(Java Doc) public ResultSet executeQuery() throws SQLException(Code)(Java Doc) public int executeUpdate() throws SQLException(Code)(Java Doc) public ResultSetMetaData getMetaData() throws SQLException(Code)(Java Doc) public java.sql.ParameterMetaData getParameterMetaData() throws SQLException(Code)(Java Doc) public void setArray(int i, Array x) throws SQLException(Code)(Java Doc) public void setAsciiStream(int parameterIndex, java.io.InputStream x, int length) throws SQLException(Code)(Java Doc) public void setBigDecimal(int parameterIndex, BigDecimal x) throws SQLException(Code)(Java Doc) public void setBinaryStream(int parameterIndex, java.io.InputStream x, int length) throws SQLException(Code)(Java Doc) public void setBlob(int i, Blob x) throws SQLException(Code)(Java Doc) public void setBoolean(int parameterIndex, boolean x) throws SQLException(Code)(Java Doc) public void setByte(int parameterIndex, byte x) throws SQLException(Code)(Java Doc) public void setBytes(int parameterIndex, byte[] x) throws SQLException(Code)(Java Doc) public void setCharacterStream(int parameterIndex, java.io.Reader reader, int length) throws SQLException(Code)(Java Doc) public void setClob(int i, Clob x) throws SQLException(Code)(Java Doc) public void setDate(int parameterIndex, java.sql.Date x) throws SQLException(Code)(Java Doc) public void setDate(int parameterIndex, java.sql.Date x, Calendar cal) throws SQLException(Code)(Java Doc) public void setDelegate(PreparedStatement s)(Code)(Java Doc) public void setDouble(int parameterIndex, double x) throws SQLException(Code)(Java Doc) public void setFloat(int parameterIndex, float x) throws SQLException(Code)(Java Doc) public void setInt(int parameterIndex, int x) throws SQLException(Code)(Java Doc) public void setLong(int parameterIndex, long x) throws SQLException(Code)(Java Doc) public void setNull(int parameterIndex, int sqlType) throws SQLException(Code)(Java Doc) public void setNull(int paramIndex, int sqlType, String typeName) throws SQLException(Code)(Java Doc) public void setObject(int parameterIndex, Object x, int targetSqlType, int scale) throws SQLException(Code)(Java Doc) public void setObject(int parameterIndex, Object x, int targetSqlType) throws SQLException(Code)(Java Doc) public void setObject(int parameterIndex, Object x) throws SQLException(Code)(Java Doc) public void setRef(int i, Ref x) throws SQLException(Code)(Java Doc) public void setShort(int parameterIndex, short x) throws SQLException(Code)(Java Doc) public void setString(int parameterIndex, String x) throws SQLException(Code)(Java Doc) public void setTime(int parameterIndex, java.sql.Time x) throws SQLException(Code)(Java Doc) public void setTime(int parameterIndex, java.sql.Time x, Calendar cal) throws SQLException(Code)(Java Doc) public void setTimestamp(int parameterIndex, java.sql.Timestamp x) throws SQLException(Code)(Java Doc) public void setTimestamp(int parameterIndex, java.sql.Timestamp x, Calendar cal) throws SQLException(Code)(Java Doc) public void setURL(int parameterIndex, java.net.URL x) throws SQLException(Code)(Java Doc) public void setUnicodeStream(int parameterIndex, java.io.InputStream x, int length) throws SQLException(Code)(Java Doc) public String toString()(Code)(Java Doc)
|
|
|