|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.javasimon.jdbc.SimonStatement
org.javasimon.jdbc.SimonPreparedStatement
org.javasimon.jdbc.SimonCallableStatement
public final class SimonCallableStatement
Simon JDBC proxy callable statement implemntation class.
| Field Summary | |
|---|---|
private CallableStatement |
stmt
|
| Fields inherited from class org.javasimon.jdbc.SimonPreparedStatement |
|---|
sql |
| Fields inherited from class org.javasimon.jdbc.SimonStatement |
|---|
batchSql, conn, prefix, split, sqlCmdLabel, sqlNormalizer |
| 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 | |
|---|---|
SimonCallableStatement(Connection conn,
CallableStatement stmt,
String sql,
String prefix)
Class constructor, initializes Simons (lifespan, active) related to statement. |
|
| Methods inherited from class org.javasimon.jdbc.SimonPreparedStatement |
|---|
addBatch, clearParameters, execute, executeQuery, executeUpdate, getMetaData, getParameterMetaData, prepare, 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, setURL |
| Methods inherited from class org.javasimon.jdbc.SimonStatement |
|---|
addBatch, cancel, clearBatch, clearWarnings, close, execute, execute, execute, execute, executeBatch, executeQuery, executeUpdate, executeUpdate, executeUpdate, executeUpdate, finish, getConnection, getFetchDirection, getFetchSize, getGeneratedKeys, getMaxFieldSize, getMaxRows, getMoreResults, getMoreResults, getQueryTimeout, getResultSet, getResultSetConcurrency, getResultSetHoldability, getResultSetType, getUpdateCount, getWarnings, prepare, prepare, setCursorName, setEscapeProcessing, setFetchDirection, setFetchSize, setMaxFieldSize, setMaxRows, setQueryTimeout, startSplit |
| 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 |
|---|
getCharacterStream, getCharacterStream, getNCharacterStream, getNCharacterStream, getNClob, getNClob, getNString, getNString, getRowId, getRowId, getSQLXML, getSQLXML, setAsciiStream, setAsciiStream, setBinaryStream, setBinaryStream, setBlob, setBlob, setBlob, setCharacterStream, setCharacterStream, setClob, setClob, setClob, setNCharacterStream, setNCharacterStream, setNClob, setNClob, setNClob, setNString, setRowId, setSQLXML |
| 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, setRef, setRowId, setShort, setSQLXML, setString, setTime, setTime, setTimestamp, setTimestamp, setUnicodeStream, setURL |
| Methods inherited from interface java.sql.Wrapper |
|---|
isWrapperFor, unwrap |
| Field Detail |
|---|
private CallableStatement stmt
| Constructor Detail |
|---|
SimonCallableStatement(Connection conn,
CallableStatement stmt,
String sql,
String prefix)
conn - database connection (Simon impl.)stmt - real callable statementsql - sql commandprefix - hierarchy prefix for statement Simons| Method Detail |
|---|
public void registerOutParameter(int i,
int i1)
throws SQLException
registerOutParameter in interface CallableStatementSQLException
public void registerOutParameter(int i,
int i1,
int i2)
throws SQLException
registerOutParameter in interface CallableStatementSQLException
public boolean wasNull()
throws SQLException
wasNull in interface CallableStatementSQLException
public String getString(int i)
throws SQLException
getString in interface CallableStatementSQLException
public boolean getBoolean(int i)
throws SQLException
getBoolean in interface CallableStatementSQLException
public byte getByte(int i)
throws SQLException
getByte in interface CallableStatementSQLException
public short getShort(int i)
throws SQLException
getShort in interface CallableStatementSQLException
public int getInt(int i)
throws SQLException
getInt in interface CallableStatementSQLException
public long getLong(int i)
throws SQLException
getLong in interface CallableStatementSQLException
public float getFloat(int i)
throws SQLException
getFloat in interface CallableStatementSQLException
public double getDouble(int i)
throws SQLException
getDouble in interface CallableStatementSQLException
@Deprecated
public BigDecimal getBigDecimal(int i,
int i1)
throws SQLException
getBigDecimal in interface CallableStatementSQLException
public byte[] getBytes(int i)
throws SQLException
getBytes in interface CallableStatementSQLException
public Date getDate(int i)
throws SQLException
getDate in interface CallableStatementSQLException
public Time getTime(int i)
throws SQLException
getTime in interface CallableStatementSQLException
public Timestamp getTimestamp(int i)
throws SQLException
getTimestamp in interface CallableStatementSQLException
public Object getObject(int i)
throws SQLException
getObject in interface CallableStatementSQLException
public BigDecimal getBigDecimal(int i)
throws SQLException
getBigDecimal in interface CallableStatementSQLException
public Object getObject(int i,
Map<String,Class<?>> stringClassMap)
throws SQLException
getObject in interface CallableStatementSQLException
public Ref getRef(int i)
throws SQLException
getRef in interface CallableStatementSQLException
public Blob getBlob(int i)
throws SQLException
getBlob in interface CallableStatementSQLException
public Clob getClob(int i)
throws SQLException
getClob in interface CallableStatementSQLException
public Array getArray(int i)
throws SQLException
getArray in interface CallableStatementSQLException
public Date getDate(int i,
Calendar calendar)
throws SQLException
getDate in interface CallableStatementSQLException
public Time getTime(int i,
Calendar calendar)
throws SQLException
getTime in interface CallableStatementSQLException
public Timestamp getTimestamp(int i,
Calendar calendar)
throws SQLException
getTimestamp in interface CallableStatementSQLException
public void registerOutParameter(int i,
int i1,
String s)
throws SQLException
registerOutParameter in interface CallableStatementSQLException
public void registerOutParameter(String s,
int i)
throws SQLException
registerOutParameter in interface CallableStatementSQLException
public void registerOutParameter(String s,
int i,
int i1)
throws SQLException
registerOutParameter in interface CallableStatementSQLException
public void registerOutParameter(String s,
int i,
String s1)
throws SQLException
registerOutParameter in interface CallableStatementSQLException
public URL getURL(int i)
throws SQLException
getURL in interface CallableStatementSQLException
public void setURL(String s,
URL url)
throws SQLException
setURL in interface CallableStatementSQLException
public void setNull(String s,
int i)
throws SQLException
setNull in interface CallableStatementSQLException
public void setBoolean(String s,
boolean b)
throws SQLException
setBoolean in interface CallableStatementSQLException
public void setByte(String s,
byte b)
throws SQLException
setByte in interface CallableStatementSQLException
public void setShort(String s,
short i)
throws SQLException
setShort in interface CallableStatementSQLException
public void setInt(String s,
int i)
throws SQLException
setInt in interface CallableStatementSQLException
public void setLong(String s,
long l)
throws SQLException
setLong in interface CallableStatementSQLException
public void setFloat(String s,
float v)
throws SQLException
setFloat in interface CallableStatementSQLException
public void setDouble(String s,
double v)
throws SQLException
setDouble in interface CallableStatementSQLException
public void setBigDecimal(String s,
BigDecimal bigDecimal)
throws SQLException
setBigDecimal in interface CallableStatementSQLException
public void setString(String s,
String s1)
throws SQLException
setString in interface CallableStatementSQLException
public void setBytes(String s,
byte[] bytes)
throws SQLException
setBytes in interface CallableStatementSQLException
public void setDate(String s,
Date date)
throws SQLException
setDate in interface CallableStatementSQLException
public void setTime(String s,
Time time)
throws SQLException
setTime in interface CallableStatementSQLException
public void setTimestamp(String s,
Timestamp timestamp)
throws SQLException
setTimestamp in interface CallableStatementSQLException
public void setAsciiStream(String s,
InputStream inputStream,
int i)
throws SQLException
setAsciiStream in interface CallableStatementSQLException
public void setBinaryStream(String s,
InputStream inputStream,
int i)
throws SQLException
setBinaryStream in interface CallableStatementSQLException
public void setObject(String s,
Object o,
int i,
int i1)
throws SQLException
setObject in interface CallableStatementSQLException
public void setObject(String s,
Object o,
int i)
throws SQLException
setObject in interface CallableStatementSQLException
public void setObject(String s,
Object o)
throws SQLException
setObject in interface CallableStatementSQLException
public void setCharacterStream(String s,
Reader reader,
int i)
throws SQLException
setCharacterStream in interface CallableStatementSQLException
public void setDate(String s,
Date date,
Calendar calendar)
throws SQLException
setDate in interface CallableStatementSQLException
public void setTime(String s,
Time time,
Calendar calendar)
throws SQLException
setTime in interface CallableStatementSQLException
public void setTimestamp(String s,
Timestamp timestamp,
Calendar calendar)
throws SQLException
setTimestamp in interface CallableStatementSQLException
public void setNull(String s,
int i,
String s1)
throws SQLException
setNull in interface CallableStatementSQLException
public String getString(String s)
throws SQLException
getString in interface CallableStatementSQLException
public boolean getBoolean(String s)
throws SQLException
getBoolean in interface CallableStatementSQLException
public byte getByte(String s)
throws SQLException
getByte in interface CallableStatementSQLException
public short getShort(String s)
throws SQLException
getShort in interface CallableStatementSQLException
public int getInt(String s)
throws SQLException
getInt in interface CallableStatementSQLException
public long getLong(String s)
throws SQLException
getLong in interface CallableStatementSQLException
public float getFloat(String s)
throws SQLException
getFloat in interface CallableStatementSQLException
public double getDouble(String s)
throws SQLException
getDouble in interface CallableStatementSQLException
public byte[] getBytes(String s)
throws SQLException
getBytes in interface CallableStatementSQLException
public Date getDate(String s)
throws SQLException
getDate in interface CallableStatementSQLException
public Time getTime(String s)
throws SQLException
getTime in interface CallableStatementSQLException
public Timestamp getTimestamp(String s)
throws SQLException
getTimestamp in interface CallableStatementSQLException
public Object getObject(String s)
throws SQLException
getObject in interface CallableStatementSQLException
public BigDecimal getBigDecimal(String s)
throws SQLException
getBigDecimal in interface CallableStatementSQLException
public Object getObject(String s,
Map<String,Class<?>> stringClassMap)
throws SQLException
getObject in interface CallableStatementSQLException
public Ref getRef(String s)
throws SQLException
getRef in interface CallableStatementSQLException
public Blob getBlob(String s)
throws SQLException
getBlob in interface CallableStatementSQLException
public Clob getClob(String s)
throws SQLException
getClob in interface CallableStatementSQLException
public Array getArray(String s)
throws SQLException
getArray in interface CallableStatementSQLException
public Date getDate(String s,
Calendar calendar)
throws SQLException
getDate in interface CallableStatementSQLException
public Time getTime(String s,
Calendar calendar)
throws SQLException
getTime in interface CallableStatementSQLException
public Timestamp getTimestamp(String s,
Calendar calendar)
throws SQLException
getTimestamp in interface CallableStatementSQLException
public URL getURL(String s)
throws SQLException
getURL in interface CallableStatementSQLException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||