: Class PooledCallableStatement
com.bitmechanic.sql
Class PooledCallableStatement
java.lang.Object
|
+--com.bitmechanic.sql.PooledStatement
|
+--com.bitmechanic.sql.PooledPreparedStatement
|
+--com.bitmechanic.sql.PooledCallableStatement
- public class PooledCallableStatement
- extends PooledPreparedStatement
- implements java.sql.CallableStatement
Field Summary |
protected java.sql.CallableStatement |
cstmt
|
Method Summary |
void |
close()
|
java.sql.Array |
getArray(int i)
|
java.math.BigDecimal |
getBigDecimal(int i)
|
java.math.BigDecimal |
getBigDecimal(int index,
int scale)
|
java.sql.Blob |
getBlob(int i)
|
boolean |
getBoolean(int index)
|
byte |
getByte(int index)
|
byte[] |
getBytes(int index)
|
java.sql.Clob |
getClob(int i)
|
java.sql.Date |
getDate(int index)
|
java.sql.Date |
getDate(int i,
java.util.Calendar c)
|
double |
getDouble(int index)
|
float |
getFloat(int index)
|
int |
getInt(int index)
|
long |
getLong(int index)
|
java.lang.Object |
getObject(int index)
|
java.lang.Object |
getObject(int i,
java.util.Map m)
|
java.sql.Ref |
getRef(int i)
|
short |
getShort(int index)
|
java.lang.String |
getString(int index)
|
java.sql.Time |
getTime(int index)
|
java.sql.Time |
getTime(int i,
java.util.Calendar c)
|
java.sql.Timestamp |
getTimestamp(int index)
|
java.sql.Timestamp |
getTimestamp(int i,
java.util.Calendar c)
|
void |
registerOutParameter(int index,
int type)
CallableStatment methods |
void |
registerOutParameter(int index,
int type,
int scale)
|
void |
registerOutParameter(int i,
int j,
java.lang.String s)
|
boolean |
wasNull()
|
Methods inherited from class com.bitmechanic.sql.PooledPreparedStatement |
addBatch,
addBatch,
clearBatch,
clearParameters,
execute,
executeBatch,
executeQuery,
executeUpdate,
getConnection,
getFetchDirection,
getFetchSize,
getMetaData,
getResultSetConcurrency,
getResultSetType,
setArray,
setAsciiStream,
setBigDecimal,
setBinaryStream,
setBlob,
setBoolean,
setByte,
setBytes,
setCharacterStream,
setClob,
setDate,
setDate,
setDouble,
setFetchDirection,
setFetchSize,
setFloat,
setInt,
setLong,
setNull,
setNull,
setObject,
setObject,
setObject,
setRef,
setShort,
setString,
setTime,
setTime,
setTimestamp,
setTimestamp,
setUnicodeStream |
Methods inherited from class com.bitmechanic.sql.PooledStatement |
cancel,
clearWarnings,
dumpInfo,
execute,
executeQuery,
executeUpdate,
getMaxFieldSize,
getMaxRows,
getMoreResults,
getQueryTimeout,
getResultSet,
getStatement,
getUpdateCount,
getWarnings,
setCursorName,
setEscapeProcessing,
setMaxFieldSize,
setMaxRows,
setQueryTimeout |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
cstmt
protected java.sql.CallableStatement cstmt
PooledCallableStatement
public PooledCallableStatement(java.sql.CallableStatement stmt)
close
public void close()
throws java.sql.SQLException
- Overrides:
- close in class PooledPreparedStatement
registerOutParameter
public void registerOutParameter(int index,
int type)
throws java.sql.SQLException
- CallableStatment methods
- Specified by:
- registerOutParameter in interface java.sql.CallableStatement
registerOutParameter
public void registerOutParameter(int index,
int type,
int scale)
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
getBigDecimal
public java.math.BigDecimal getBigDecimal(int index,
int scale)
throws java.sql.SQLException
- Specified by:
- getBigDecimal in interface java.sql.CallableStatement
getBoolean
public boolean getBoolean(int index)
throws java.sql.SQLException
- Specified by:
- getBoolean in interface java.sql.CallableStatement
getByte
public byte getByte(int index)
throws java.sql.SQLException
- Specified by:
- getByte in interface java.sql.CallableStatement
getBytes
public byte[] getBytes(int index)
throws java.sql.SQLException
- Specified by:
- getBytes in interface java.sql.CallableStatement
getDate
public java.sql.Date getDate(int index)
throws java.sql.SQLException
- Specified by:
- getDate in interface java.sql.CallableStatement
getDouble
public double getDouble(int index)
throws java.sql.SQLException
- Specified by:
- getDouble in interface java.sql.CallableStatement
getFloat
public float getFloat(int index)
throws java.sql.SQLException
- Specified by:
- getFloat in interface java.sql.CallableStatement
getInt
public int getInt(int index)
throws java.sql.SQLException
- Specified by:
- getInt in interface java.sql.CallableStatement
getLong
public long getLong(int index)
throws java.sql.SQLException
- Specified by:
- getLong in interface java.sql.CallableStatement
getObject
public java.lang.Object getObject(int index)
throws java.sql.SQLException
- Specified by:
- getObject in interface java.sql.CallableStatement
getShort
public short getShort(int index)
throws java.sql.SQLException
- Specified by:
- getShort in interface java.sql.CallableStatement
getString
public java.lang.String getString(int index)
throws java.sql.SQLException
- Specified by:
- getString in interface java.sql.CallableStatement
getTime
public java.sql.Time getTime(int index)
throws java.sql.SQLException
- Specified by:
- getTime in interface java.sql.CallableStatement
getTimestamp
public java.sql.Timestamp getTimestamp(int index)
throws java.sql.SQLException
- Specified by:
- getTimestamp in interface java.sql.CallableStatement
getTime
public java.sql.Time getTime(int i,
java.util.Calendar c)
throws java.sql.SQLException
- Specified by:
- getTime 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
getBigDecimal
public java.math.BigDecimal getBigDecimal(int i)
throws java.sql.SQLException
- Specified by:
- getBigDecimal in interface java.sql.CallableStatement
registerOutParameter
public void registerOutParameter(int i,
int j,
java.lang.String s)
throws java.sql.SQLException
- Specified by:
- registerOutParameter in interface java.sql.CallableStatement
getTimestamp
public java.sql.Timestamp getTimestamp(int i,
java.util.Calendar c)
throws java.sql.SQLException
- Specified by:
- getTimestamp 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
getArray
public java.sql.Array getArray(int i)
throws java.sql.SQLException
- Specified by:
- getArray 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
getDate
public java.sql.Date getDate(int i,
java.util.Calendar c)
throws java.sql.SQLException
- Specified by:
- getDate in interface java.sql.CallableStatement
getObject
public java.lang.Object getObject(int i,
java.util.Map m)
throws java.sql.SQLException
- Specified by:
- getObject in interface java.sql.CallableStatement