|
BEA Systems, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.beasys.commerce.axiom.document.jdbc.CallableStatement
The base class of any DocumentProvider callable statements.
This takes care of much of the extraneous methods. Subclasses needs to
implement the close()
, clearParameters()
,
execute()
, setObject(int, java.lang.Object)
, and getObject(int)
methods.
Subclasses can also override methods as needed to add
additional functionality.
Field Summary | |
protected Connection |
connection
The connection which spawned us. |
Constructor Summary | |
CallableStatement(Connection connection)
Constructor. |
Method Summary | |
void |
addBatch()
Not supported. |
void |
addBatch(java.lang.String sql)
Not supported. |
void |
cancel()
Intentionally empty. |
void |
clearBatch()
Not supported. |
abstract void |
clearParameters()
Clear the input/output parameters internally. |
void |
clearWarnings()
Intentionally blank. |
abstract void |
close()
Subclasses must implement this method. |
abstract boolean |
execute()
Execute the command with the set input parameters. |
boolean |
execute(java.lang.String sql)
Not supported. |
int[] |
executeBatch()
Not supported. |
java.sql.ResultSet |
executeQuery()
Not supported. |
java.sql.ResultSet |
executeQuery(java.lang.String sql)
Not supported. |
int |
executeUpdate()
This justs executes the statement. |
int |
executeUpdate(java.lang.String sql)
Not supported. |
java.sql.Array |
getArray(int index)
Not supported. |
java.math.BigDecimal |
getBigDecimal(int index)
Not supported. |
java.math.BigDecimal |
getBigDecimal(int index,
int scale)
Not supported. |
java.sql.Blob |
getBlob(int index)
Not supported. |
boolean |
getBoolean(int index)
Not supported. |
byte |
getByte(int index)
Not supported. |
byte[] |
getBytes(int index)
Not supported. |
java.sql.Clob |
getClob(int index)
Not supported. |
java.sql.Connection |
getConnection()
Return the connection which spawned us. |
java.sql.Date |
getDate(int index)
Not supported. |
java.sql.Date |
getDate(int index,
java.util.Calendar cal)
Not supported. |
protected DocumentProvider |
getDocumentProvider()
Get the DocumentProvider we can use. |
double |
getDouble(int index)
Not supported. |
int |
getFetchDirection()
Not supported. |
int |
getFetchSize()
Not supported. |
float |
getFloat(int index)
Not supported. |
int |
getInt(int index)
Not supported. |
long |
getLong(int index)
Not supported. |
int |
getMaxFieldSize()
Not supported. |
int |
getMaxRows()
Not supported. |
java.sql.ResultSetMetaData |
getMetaData()
Not supported. |
boolean |
getMoreResults()
Not supported. |
abstract java.lang.Object |
getObject(int index)
Return the output parameter at index. |
java.lang.Object |
getObject(int index,
java.util.Map map)
Return the output parameter at index. |
int |
getQueryTimeout()
Not supported. |
java.sql.Ref |
getRef(int index)
Not supported. |
java.sql.ResultSet |
getResultSet()
Not supported. |
int |
getResultSetConcurrency()
Not supported. |
int |
getResultSetType()
Not supported. |
short |
getShort(int index)
Not supported. |
java.lang.String |
getString(int index)
Not supported. |
java.sql.Time |
getTime(int index)
Not supported. |
java.sql.Time |
getTime(int index,
java.util.Calendar cal)
Not supported. |
java.sql.Timestamp |
getTimestamp(int index)
Not supported. |
java.sql.Timestamp |
getTimestamp(int index,
java.util.Calendar cal)
Not supported. |
int |
getUpdateCount()
Not supported. |
java.sql.SQLWarning |
getWarnings()
Intentionally blank. |
void |
registerOutParameter(int index,
int sqlType)
Intentionally blank. |
void |
registerOutParameter(int index,
int sqlType,
int scale)
Intentionally blank |
void |
registerOutParameter(int index,
int sqlType,
java.lang.String typeName)
Intentionally blank |
void |
setArray(int index,
java.sql.Array x)
Not supported. |
void |
setAsciiStream(int index,
java.io.InputStream x,
int length)
Not supported. |
void |
setBigDecimal(int index,
java.math.BigDecimal x)
Not supported. |
void |
setBinaryStream(int index,
java.io.InputStream x,
int length)
Not supported. |
void |
setBlob(int index,
java.sql.Blob x)
Not supported. |
void |
setBoolean(int index,
boolean x)
Not supported. |
void |
setByte(int index,
byte x)
Not supported. |
void |
setBytes(int index,
byte[] x)
Not supported. |
void |
setCharacterStream(int index,
java.io.Reader reader,
int length)
Not supported. |
void |
setClob(int index,
java.sql.Clob x)
Not supported. |
void |
setCursorName(java.lang.String name)
Not supported. |
void |
setDate(int index,
java.sql.Date x)
Not supported. |
void |
setDate(int index,
java.sql.Date x,
java.util.Calendar cal)
Not supported. |
void |
setDouble(int index,
double x)
Not supported. |
void |
setEscapeProcessing(boolean enable)
Not supported. |
void |
setFetchDirection(int direction)
Not supported. |
void |
setFetchSize(int rows)
Not supported. |
void |
setFloat(int index,
float x)
Not supported. |
void |
setInt(int index,
int x)
Not supported. |
void |
setLong(int index,
long x)
Not supported. |
void |
setMaxFieldSize(int max)
Not supported. |
void |
setMaxRows(int max)
Not supported. |
void |
setNull(int index,
int sqlType)
Not supported. |
void |
setNull(int index,
int sqlType,
java.lang.String typeName)
Not supported. |
abstract void |
setObject(int index,
java.lang.Object x)
Set the input parameter. |
void |
setObject(int index,
java.lang.Object x,
int sqlType)
Set the input parameter. |
void |
setObject(int index,
java.lang.Object x,
int sqlType,
int scale)
Set the input parameter. |
void |
setQueryTimeout(int seconds)
Not supported. |
void |
setRef(int index,
java.sql.Ref x)
Not supported. |
void |
setShort(int index,
short x)
Not supported. |
void |
setString(int index,
java.lang.String x)
Not supported. |
void |
setTime(int index,
java.sql.Time x)
Not supported. |
void |
setTime(int index,
java.sql.Time x,
java.util.Calendar cal)
Not supported. |
void |
setTimestamp(int index,
java.sql.Timestamp x)
Not supported. |
void |
setTimestamp(int index,
java.sql.Timestamp x,
java.util.Calendar cal)
Not supported. |
void |
setUnicodeStream(int index,
java.io.InputStream x,
int length)
Not supported. |
boolean |
wasNull()
Not supported. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Field Detail |
protected Connection connection
Constructor Detail |
public CallableStatement(Connection connection)
connection
- the connection which spawned us.Method Detail |
protected DocumentProvider getDocumentProvider() throws DocumentException
public void addBatch(java.lang.String sql) throws java.sql.SQLException
public void cancel()
public void clearBatch() throws java.sql.SQLException
public void clearWarnings()
public abstract void close() throws java.sql.SQLException
public boolean execute(java.lang.String sql) throws java.sql.SQLException
public int[] executeBatch() throws java.sql.SQLException
public java.sql.ResultSet executeQuery(java.lang.String sql) throws java.sql.SQLException
public int executeUpdate(java.lang.String sql) throws java.sql.SQLException
public java.sql.Connection getConnection()
public int getFetchDirection() throws java.sql.SQLException
public int getFetchSize() throws java.sql.SQLException
public int getMaxFieldSize() throws java.sql.SQLException
public int getMaxRows() throws java.sql.SQLException
public boolean getMoreResults() throws java.sql.SQLException
public int getQueryTimeout() throws java.sql.SQLException
public java.sql.ResultSet getResultSet() throws java.sql.SQLException
public int getResultSetConcurrency() throws java.sql.SQLException
public int getResultSetType() throws java.sql.SQLException
public int getUpdateCount() throws java.sql.SQLException
public java.sql.SQLWarning getWarnings()
public void setCursorName(java.lang.String name) throws java.sql.SQLException
public void setEscapeProcessing(boolean enable) throws java.sql.SQLException
public void setFetchDirection(int direction) throws java.sql.SQLException
public void setFetchSize(int rows) throws java.sql.SQLException
public void setMaxFieldSize(int max) throws java.sql.SQLException
public void setMaxRows(int max) throws java.sql.SQLException
public void setQueryTimeout(int seconds) throws java.sql.SQLException
public void addBatch() throws java.sql.SQLException
public abstract void clearParameters() throws java.sql.SQLException
Subclasses must implement this.
public abstract boolean execute() throws java.sql.SQLException
The results will be placed in the various output parameters.
Subclasses must implement this.
public java.sql.ResultSet executeQuery() throws java.sql.SQLException
public int executeUpdate() throws java.sql.SQLException
execute(java.lang.String)
public java.sql.ResultSetMetaData getMetaData() throws java.sql.SQLException
public void setArray(int index, java.sql.Array x) throws java.sql.SQLException
public void setAsciiStream(int index, java.io.InputStream x, int length) throws java.sql.SQLException
public void setBigDecimal(int index, java.math.BigDecimal x) throws java.sql.SQLException
public void setBinaryStream(int index, java.io.InputStream x, int length) throws java.sql.SQLException
public void setBlob(int index, java.sql.Blob x) throws java.sql.SQLException
public void setBoolean(int index, boolean x) throws java.sql.SQLException
public void setByte(int index, byte x) throws java.sql.SQLException
public void setBytes(int index, byte[] x) throws java.sql.SQLException
public void setCharacterStream(int index, java.io.Reader reader, int length) throws java.sql.SQLException
public void setClob(int index, java.sql.Clob x) throws java.sql.SQLException
public void setDate(int index, java.sql.Date x) throws java.sql.SQLException
public void setDate(int index, java.sql.Date x, java.util.Calendar cal) throws java.sql.SQLException
public void setDouble(int index, double x) throws java.sql.SQLException
public void setFloat(int index, float x) throws java.sql.SQLException
public void setInt(int index, int x) throws java.sql.SQLException
public void setLong(int index, long x) throws java.sql.SQLException
public void setNull(int index, int sqlType) throws java.sql.SQLException
public void setNull(int index, int sqlType, java.lang.String typeName) throws java.sql.SQLException
public abstract void setObject(int index, java.lang.Object x) throws java.sql.SQLException
Subclasses need to implement this method as neccessary.
public void setObject(int index, java.lang.Object x, int sqlType) throws java.sql.SQLException
setObject(int, java.lang.Object)
public void setObject(int index, java.lang.Object x, int sqlType, int scale) throws java.sql.SQLException
setObject(int, java.lang.Object)
public void setRef(int index, java.sql.Ref x) throws java.sql.SQLException
public void setShort(int index, short x) throws java.sql.SQLException
public void setString(int index, java.lang.String x) throws java.sql.SQLException
public void setTime(int index, java.sql.Time x) throws java.sql.SQLException
public void setTime(int index, java.sql.Time x, java.util.Calendar cal) throws java.sql.SQLException
public void setTimestamp(int index, java.sql.Timestamp x) throws java.sql.SQLException
public void setTimestamp(int index, java.sql.Timestamp x, java.util.Calendar cal) throws java.sql.SQLException
public void setUnicodeStream(int index, java.io.InputStream x, int length) throws java.sql.SQLException
public java.sql.Array getArray(int index) throws java.sql.SQLException
public java.math.BigDecimal getBigDecimal(int index) throws java.sql.SQLException
public java.math.BigDecimal getBigDecimal(int index, int scale) throws java.sql.SQLException
public java.sql.Blob getBlob(int index) throws java.sql.SQLException
public boolean getBoolean(int index) throws java.sql.SQLException
public byte getByte(int index) throws java.sql.SQLException
public byte[] getBytes(int index) throws java.sql.SQLException
public java.sql.Clob getClob(int index) throws java.sql.SQLException
public java.sql.Date getDate(int index) throws java.sql.SQLException
public java.sql.Date getDate(int index, java.util.Calendar cal) throws java.sql.SQLException
public double getDouble(int index) throws java.sql.SQLException
public float getFloat(int index) throws java.sql.SQLException
public int getInt(int index) throws java.sql.SQLException
public long getLong(int index) throws java.sql.SQLException
public abstract java.lang.Object getObject(int index) throws java.sql.SQLException
Subclasses must implement this.
index
- the output parameter index.public java.lang.Object getObject(int index, java.util.Map map) throws java.sql.SQLException
index
- the output parameter index.map
- ignored.getObject(int)
public java.sql.Ref getRef(int index) throws java.sql.SQLException
public short getShort(int index) throws java.sql.SQLException
public java.lang.String getString(int index) throws java.sql.SQLException
public java.sql.Time getTime(int index) throws java.sql.SQLException
public java.sql.Time getTime(int index, java.util.Calendar cal) throws java.sql.SQLException
public java.sql.Timestamp getTimestamp(int index) throws java.sql.SQLException
public java.sql.Timestamp getTimestamp(int index, java.util.Calendar cal) throws java.sql.SQLException
public void registerOutParameter(int index, int sqlType) throws java.sql.SQLException
public void registerOutParameter(int index, int sqlType, int scale) throws java.sql.SQLException
public void registerOutParameter(int index, int sqlType, java.lang.String typeName) throws java.sql.SQLException
public boolean wasNull() throws java.sql.SQLException
|
BEA Systems, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |