jrun.sql
Class JRunCallableStatement
java.lang.Object
|
+--jrun.sql.JRunStatement
|
+--jrun.sql.JRunPreparedStatement
|
+--jrun.sql.JRunCallableStatement
- All Implemented Interfaces:
- java.sql.CallableStatement, PooledObject, java.sql.PreparedStatement, java.io.Serializable, java.sql.Statement
- public class JRunCallableStatement
- extends JRunPreparedStatement
- implements java.sql.CallableStatement
A CallableStatement that is aware of its Connection and resources.
It encapsulates a driver-specific physical Statement that handles
all the necessary JDBC methods by delegation.
- Author:
- PS Neville
- See Also:
- Serialized Form
|
Method Summary |
java.sql.Array |
getArray(int i)
|
java.math.BigDecimal |
getBigDecimal(int i)
|
java.math.BigDecimal |
getBigDecimal(int i,
int scale)
|
java.sql.Blob |
getBlob(int i)
|
boolean |
getBoolean(int i)
|
byte |
getByte(int i)
|
byte[] |
getBytes(int i)
|
java.sql.Clob |
getClob(int i)
|
java.sql.Date |
getDate(int i)
|
java.sql.Date |
getDate(int i,
java.util.Calendar cal)
|
double |
getDouble(int i)
|
float |
getFloat(int i)
|
int |
getInt(int i)
|
long |
getLong(int i)
|
java.sql.CallableStatement |
getNativeCallableStatement()
|
java.lang.Object |
getObject(int i)
|
java.lang.Object |
getObject(int i,
java.util.Map map)
|
java.sql.Ref |
getRef(int i)
|
short |
getShort(int i)
|
java.lang.String |
getString(int i)
|
java.sql.Time |
getTime(int i)
|
java.sql.Time |
getTime(int i,
java.util.Calendar cal)
|
java.sql.Timestamp |
getTimestamp(int i)
|
java.sql.Timestamp |
getTimestamp(int i,
java.util.Calendar cal)
|
void |
registerOutParameter(int i,
int sqlType)
|
void |
registerOutParameter(int i,
int sqlType,
int scale)
|
void |
registerOutParameter(int i,
int sqlType,
java.lang.String typeName)
|
java.lang.String |
toString()
|
boolean |
wasNull()
|
| Methods inherited from class jrun.sql.JRunPreparedStatement |
addBatch, clearParameters, close, execute, executeQuery, executeUpdate, getMetaData, getNativePreparedStatement, setArray, setAsciiStream, setBigDecimal, setBinaryStream, setBlob, setBoolean, setByte, setBytes, setCharacterStream, setClob, setDate, setDate, setDouble, setFloat, setInt, setLong, setNull, setNull, setObject, setObject, setObject, setRef, setShort, setString, setTime, setTime, setTimestamp, setTimestamp, setUnicodeStream |
| Methods inherited from class jrun.sql.JRunStatement |
addBatch, cancel, clean, clearBatch, clearWarnings, closeAllResources, execute, executeBatch, executeQuery, executeUpdate, fabricateTableName, getConnection, getFetchDirection, getFetchSize, getMaxFieldSize, getMaxRows, getMoreResults, getNativeStatement, getPool, getQueryTimeout, getResultSet, getResultSetConcurrency, getResultSetType, getSQL, getUpdateCount, getWarnings, removeOpenResultSet, setCursorName, setEscapeProcessing, setFetchDirection, setFetchSize, setMaxFieldSize, setMaxRows, setQueryTimeout, setResultSetConcurrency, setResultSetType |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.sql.PreparedStatement |
addBatch, clearParameters, execute, executeQuery, executeUpdate, getMetaData, setArray, setAsciiStream, setBigDecimal, setBinaryStream, setBlob, setBoolean, setByte, setBytes, setCharacterStream, setClob, setDate, setDate, setDouble, setFloat, setInt, setLong, setNull, setNull, setObject, setObject, setObject, setRef, setShort, setString, setTime, setTime, setTimestamp, setTimestamp, setUnicodeStream |
| Methods inherited from interface java.sql.Statement |
addBatch, cancel, clearBatch, clearWarnings, close, execute, executeBatch, executeQuery, executeUpdate, getConnection, getFetchDirection, getFetchSize, getMaxFieldSize, getMaxRows, getMoreResults, getQueryTimeout, getResultSet, getResultSetConcurrency, getResultSetType, getUpdateCount, getWarnings, setCursorName, setEscapeProcessing, setFetchDirection, setFetchSize, setMaxFieldSize, setMaxRows, setQueryTimeout |
JRunCallableStatement
public JRunCallableStatement(JRunConnection jcon,
java.sql.CallableStatement s,
ObjectPool p)
JRunCallableStatement
public JRunCallableStatement(JRunConnection jcon,
java.sql.CallableStatement s,
java.lang.String rawSQL,
ObjectPool p)
getNativeCallableStatement
public java.sql.CallableStatement getNativeCallableStatement()
toString
public java.lang.String toString()
- Overrides:
toString in class JRunPreparedStatement
getArray
public java.sql.Array getArray(int i)
throws java.sql.SQLException
- Specified by:
getArray in interface java.sql.CallableStatement
getBigDecimal
public java.math.BigDecimal getBigDecimal(int i)
throws java.sql.SQLException
- Specified by:
getBigDecimal in interface java.sql.CallableStatement
getBigDecimal
public java.math.BigDecimal getBigDecimal(int i,
int scale)
throws java.sql.SQLException
- Specified by:
getBigDecimal in interface java.sql.CallableStatement
getBlob
public java.sql.Blob getBlob(int i)
throws java.sql.SQLException
- Specified by:
getBlob in interface java.sql.CallableStatement
getBoolean
public boolean getBoolean(int i)
throws java.sql.SQLException
- Specified by:
getBoolean in interface java.sql.CallableStatement
getByte
public byte getByte(int i)
throws java.sql.SQLException
- Specified by:
getByte in interface java.sql.CallableStatement
getBytes
public byte[] getBytes(int i)
throws java.sql.SQLException
- Specified by:
getBytes in interface java.sql.CallableStatement
getClob
public java.sql.Clob getClob(int i)
throws java.sql.SQLException
- Specified by:
getClob in interface java.sql.CallableStatement
getDate
public java.sql.Date getDate(int i)
throws java.sql.SQLException
- Specified by:
getDate in interface java.sql.CallableStatement
getDate
public java.sql.Date getDate(int i,
java.util.Calendar cal)
throws java.sql.SQLException
- Specified by:
getDate in interface java.sql.CallableStatement
getDouble
public double getDouble(int i)
throws java.sql.SQLException
- Specified by:
getDouble in interface java.sql.CallableStatement
getFloat
public float getFloat(int i)
throws java.sql.SQLException
- Specified by:
getFloat in interface java.sql.CallableStatement
getInt
public int getInt(int i)
throws java.sql.SQLException
- Specified by:
getInt in interface java.sql.CallableStatement
getLong
public long getLong(int i)
throws java.sql.SQLException
- Specified by:
getLong in interface java.sql.CallableStatement
getObject
public java.lang.Object getObject(int i)
throws java.sql.SQLException
- Specified by:
getObject in interface java.sql.CallableStatement
getObject
public java.lang.Object getObject(int i,
java.util.Map map)
throws java.sql.SQLException
- Specified by:
getObject in interface java.sql.CallableStatement
getRef
public java.sql.Ref getRef(int i)
throws java.sql.SQLException
- Specified by:
getRef in interface java.sql.CallableStatement
getShort
public short getShort(int i)
throws java.sql.SQLException
- Specified by:
getShort in interface java.sql.CallableStatement
getString
public java.lang.String getString(int i)
throws java.sql.SQLException
- Specified by:
getString in interface java.sql.CallableStatement
getTime
public java.sql.Time getTime(int i)
throws java.sql.SQLException
- Specified by:
getTime in interface java.sql.CallableStatement
getTime
public java.sql.Time getTime(int i,
java.util.Calendar cal)
throws java.sql.SQLException
- Specified by:
getTime in interface java.sql.CallableStatement
getTimestamp
public java.sql.Timestamp getTimestamp(int i)
throws java.sql.SQLException
- Specified by:
getTimestamp in interface java.sql.CallableStatement
getTimestamp
public java.sql.Timestamp getTimestamp(int i,
java.util.Calendar cal)
throws java.sql.SQLException
- Specified by:
getTimestamp in interface java.sql.CallableStatement
registerOutParameter
public void registerOutParameter(int i,
int sqlType)
throws java.sql.SQLException
- Specified by:
registerOutParameter in interface java.sql.CallableStatement
registerOutParameter
public void registerOutParameter(int i,
int sqlType,
int scale)
throws java.sql.SQLException
- Specified by:
registerOutParameter in interface java.sql.CallableStatement
registerOutParameter
public void registerOutParameter(int i,
int sqlType,
java.lang.String typeName)
throws java.sql.SQLException
- Specified by:
registerOutParameter in interface java.sql.CallableStatement
wasNull
public boolean wasNull()
throws java.sql.SQLException
- Specified by:
wasNull in interface java.sql.CallableStatement
Copyright � 2002 Macromedia Corporation. All Rights Reserved.