|
© 2005 BEA Systems, Inc. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.bea.p13n.content.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
Deprecated. The connection which spawned us. |
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 | |
CallableStatement(Connection connection)
Deprecated. Constructor. |
Method Summary | |
void |
addBatch()
Deprecated. Not supported. |
void |
addBatch(String sql)
Deprecated. Not supported. |
void |
cancel()
Deprecated. Intentionally empty. |
void |
clearBatch()
Deprecated. Not supported. |
abstract void |
clearParameters()
Deprecated. Clear the input/output parameters internally. |
void |
clearWarnings()
Deprecated. Intentionally blank. |
abstract void |
close()
Deprecated. Subclasses must implement this method. |
abstract boolean |
execute()
Deprecated. Execute the command with the set input parameters. |
boolean |
execute(String sql)
Deprecated. Not supported. |
boolean |
execute(String sql,
int autoGeneratedKeys)
Deprecated. Not supported. |
boolean |
execute(String sql,
int[] columnIndexes)
Deprecated. Not supported. |
boolean |
execute(String sql,
String[] columnNames)
Deprecated. Not supported. |
int[] |
executeBatch()
Deprecated. Not supported. |
ResultSet |
executeQuery()
Deprecated. Not supported. |
ResultSet |
executeQuery(String sql)
Deprecated. Not supported. |
int |
executeUpdate()
Deprecated. This justs executes the statement. |
int |
executeUpdate(String sql)
Deprecated. Not supported. |
int |
executeUpdate(String sql,
int autoGeneratedKeys)
Deprecated. Not supported. |
int |
executeUpdate(String sql,
int[] columnIndexes)
Deprecated. Not supported. |
int |
executeUpdate(String sql,
String[] columnNames)
Deprecated. Not supported. |
Array |
getArray(int index)
Deprecated. Not supported. |
Array |
getArray(String parameterName)
Deprecated. Not supported. |
BigDecimal |
getBigDecimal(int index)
Deprecated. Not supported. |
BigDecimal |
getBigDecimal(int index,
int scale)
Deprecated. Not supported. |
BigDecimal |
getBigDecimal(String parameterName)
Deprecated. Not supported. |
Blob |
getBlob(int index)
Deprecated. Not supported. |
Blob |
getBlob(String parameterName)
Deprecated. Not supported. |
boolean |
getBoolean(int index)
Deprecated. Not supported. |
boolean |
getBoolean(String parameterName)
Deprecated. Not supported. |
byte |
getByte(int index)
Deprecated. Not supported. |
byte |
getByte(String parameterName)
Deprecated. Not supported. |
byte[] |
getBytes(int index)
Deprecated. Not supported. |
byte[] |
getBytes(String parameterName)
Deprecated. Not supported. |
Clob |
getClob(int index)
Deprecated. Not supported. |
Clob |
getClob(String parameterName)
Deprecated. Not supported. |
Connection |
getConnection()
Deprecated. Return the connection which spawned us. |
Date |
getDate(int index)
Deprecated. Not supported. |
Date |
getDate(int index,
Calendar cal)
Deprecated. Not supported. |
Date |
getDate(String parameterName)
Deprecated. Not supported. |
Date |
getDate(String parameterName,
Calendar cal)
Deprecated. Not supported. |
protected DocumentProvider |
getDocumentProvider()
Deprecated. Get the DocumentProvider we can use. |
double |
getDouble(int index)
Deprecated. Not supported. |
double |
getDouble(String parameterName)
Deprecated. Not supported. |
int |
getFetchDirection()
Deprecated. Not supported. |
int |
getFetchSize()
Deprecated. Not supported. |
float |
getFloat(int index)
Deprecated. Not supported. |
float |
getFloat(String parameterName)
Deprecated. Not supported. |
ResultSet |
getGeneratedKeys()
Deprecated. Not supported. |
int |
getInt(int index)
Deprecated. Not supported. |
int |
getInt(String parameterName)
Deprecated. Not supported. |
long |
getLong(int index)
Deprecated. Not supported. |
long |
getLong(String parameterName)
Deprecated. Not supported. |
int |
getMaxFieldSize()
Deprecated. Not supported. |
int |
getMaxRows()
Deprecated. Not supported. |
ResultSetMetaData |
getMetaData()
Deprecated. Not supported. |
boolean |
getMoreResults()
Deprecated. Not supported. |
boolean |
getMoreResults(int current)
Deprecated. Not supported. |
abstract Object |
getObject(int index)
Deprecated. Return the output parameter at index. |
Object |
getObject(int index,
Map map)
Deprecated. Return the output parameter at index. |
Object |
getObject(String parameter)
Deprecated. Not supported. |
Object |
getObject(String parameterName,
Map map)
Deprecated. Return the output parameter at index. |
ParameterMetaData |
getParameterMetaData()
Deprecated. Not supported. |
int |
getQueryTimeout()
Deprecated. Not supported. |
Ref |
getRef(int index)
Deprecated. Not supported. |
Ref |
getRef(String parameterName)
Deprecated. Not supported. |
ResultSet |
getResultSet()
Deprecated. Not supported. |
int |
getResultSetConcurrency()
Deprecated. Not supported. |
int |
getResultSetHoldability()
Deprecated. Not supported. |
int |
getResultSetType()
Deprecated. Not supported. |
short |
getShort(int index)
Deprecated. Not supported. |
short |
getShort(String parameterName)
Deprecated. Not supported. |
String |
getString(int index)
Deprecated. Not supported. |
String |
getString(String parameterName)
Deprecated. Not supported. |
Time |
getTime(int index)
Deprecated. Not supported. |
Time |
getTime(int index,
Calendar cal)
Deprecated. Not supported. |
Time |
getTime(String parameterName)
Deprecated. Not supported. |
Time |
getTime(String parameterName,
Calendar cal)
Deprecated. Not supported. |
Timestamp |
getTimestamp(int index)
Deprecated. Not supported. |
Timestamp |
getTimestamp(int index,
Calendar cal)
Deprecated. Not supported. |
Timestamp |
getTimestamp(String parameterName)
Deprecated. Not supported. |
Timestamp |
getTimestamp(String parameterName,
Calendar cal)
Deprecated. Not supported. |
int |
getUpdateCount()
Deprecated. Not supported. |
URL |
getURL(int parameterIndex)
Deprecated. Not supported. |
URL |
getURL(String parameterName)
Deprecated. Not supported. |
SQLWarning |
getWarnings()
Deprecated. Intentionally blank. |
void |
registerOutParameter(int index,
int sqlType)
Deprecated. Intentionally blank. |
void |
registerOutParameter(int index,
int sqlType,
int scale)
Deprecated. Intentionally blank |
void |
registerOutParameter(int index,
int sqlType,
String typeName)
Deprecated. Intentionally blank |
void |
registerOutParameter(String parameterName,
int sqlType)
Deprecated. Intentionally blank. |
void |
registerOutParameter(String parameterName,
int sqlType,
int scale)
Deprecated. Intentionally blank |
void |
registerOutParameter(String parameterName,
int sqlType,
String typeName)
Deprecated. Intentionally blank |
void |
setArray(int index,
Array x)
Deprecated. Not supported. |
void |
setAsciiStream(int index,
InputStream x,
int length)
Deprecated. Not supported. |
void |
setAsciiStream(String parameterName,
InputStream x,
int length)
Deprecated. Not supported. |
void |
setBigDecimal(int index,
BigDecimal x)
Deprecated. Not supported. |
void |
setBigDecimal(String parameterName,
BigDecimal x)
Deprecated. Not supported. |
void |
setBinaryStream(int index,
InputStream x,
int length)
Deprecated. Not supported. |
void |
setBinaryStream(String parameterName,
InputStream x,
int length)
Deprecated. Not supported. |
void |
setBlob(int index,
Blob x)
Deprecated. Not supported. |
void |
setBoolean(int index,
boolean x)
Deprecated. Not supported. |
void |
setBoolean(String parameterName,
boolean x)
Deprecated. Not supported. |
void |
setByte(int index,
byte x)
Deprecated. Not supported. |
void |
setByte(String parameterName,
byte x)
Deprecated. Not supported. |
void |
setBytes(int index,
byte[] x)
Deprecated. Not supported. |
void |
setBytes(String parameterName,
byte[] x)
Deprecated. Not supported. |
void |
setCharacterStream(int index,
Reader reader,
int length)
Deprecated. Not supported. |
void |
setCharacterStream(String parameterName,
Reader reader,
int length)
Deprecated. Not supported. |
void |
setClob(int index,
Clob x)
Deprecated. Not supported. |
void |
setCursorName(String name)
Deprecated. Not supported. |
void |
setDate(int index,
Date x)
Deprecated. Not supported. |
void |
setDate(int index,
Date x,
Calendar cal)
Deprecated. Not supported. |
void |
setDate(String parameterName,
Date x)
Deprecated. Not supported. |
void |
setDate(String parameterName,
Date x,
Calendar cal)
Deprecated. Not supported. |
void |
setDouble(int index,
double x)
Deprecated. Not supported. |
void |
setDouble(String parameterName,
double x)
Deprecated. Not supported. |
void |
setEscapeProcessing(boolean enable)
Deprecated. Not supported. |
void |
setFetchDirection(int direction)
Deprecated. Not supported. |
void |
setFetchSize(int rows)
Deprecated. Not supported. |
void |
setFloat(int index,
float x)
Deprecated. Not supported. |
void |
setFloat(String parameterName,
float x)
Deprecated. Not supported. |
void |
setInt(int index,
int x)
Deprecated. Not supported. |
void |
setInt(String parameterName,
int x)
Deprecated. Not supported. |
void |
setLong(int index,
long x)
Deprecated. Not supported. |
void |
setLong(String parameterName,
long x)
Deprecated. Not supported. |
void |
setMaxFieldSize(int max)
Deprecated. Not supported. |
void |
setMaxRows(int max)
Deprecated. Not supported. |
void |
setNull(int index,
int sqlType)
Deprecated. Not supported. |
void |
setNull(int index,
int sqlType,
String typeName)
Deprecated. Not supported. |
void |
setNull(String parameterName,
int sqlType)
Deprecated. Not supported. |
void |
setNull(String parameterName,
int sqlType,
String typeName)
Deprecated. Not supported. |
abstract void |
setObject(int index,
Object x)
Deprecated. Set the input parameter. |
void |
setObject(int index,
Object x,
int sqlType)
Deprecated. Set the input parameter. |
void |
setObject(int index,
Object x,
int sqlType,
int scale)
Deprecated. Set the input parameter. |
void |
setObject(String parameterName,
Object x)
Deprecated. Not supported. |
void |
setObject(String parameterName,
Object x,
int sqlType)
Deprecated. Set the input parameter. |
void |
setObject(String parameterName,
Object x,
int sqlType,
int scale)
Deprecated. Set the input parameter. |
void |
setQueryTimeout(int seconds)
Deprecated. Not supported. |
void |
setRef(int index,
Ref x)
Deprecated. Not supported. |
void |
setShort(int index,
short x)
Deprecated. Not supported. |
void |
setShort(String parameterName,
short x)
Deprecated. Not supported. |
void |
setString(int index,
String x)
Deprecated. Not supported. |
void |
setString(String parameterName,
String x)
Deprecated. Not supported. |
void |
setTime(int index,
Time x)
Deprecated. Not supported. |
void |
setTime(int index,
Time x,
Calendar cal)
Deprecated. Not supported. |
void |
setTime(String parameterName,
Time x)
Deprecated. Not supported. |
void |
setTime(String parameterName,
Time x,
Calendar cal)
Deprecated. Not supported. |
void |
setTimestamp(int index,
Timestamp x)
Deprecated. Not supported. |
void |
setTimestamp(int index,
Timestamp x,
Calendar cal)
Deprecated. Not supported. |
void |
setTimestamp(String parameterName,
Timestamp x)
Deprecated. Not supported. |
void |
setTimestamp(String parameterName,
Timestamp x,
Calendar cal)
Deprecated. Not supported. |
void |
setUnicodeStream(int index,
InputStream x,
int length)
Deprecated. Not supported. |
void |
setURL(int parameterIndex,
URL val)
Deprecated. Not supported. |
void |
setURL(String parameterName,
URL val)
Deprecated. Not supported. |
boolean |
wasNull()
Deprecated. 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)
Method Detail |
public void addBatch() throws SQLException
addBatch
in interface PreparedStatement
SQLException
- always thrown.public void addBatch(String sql) throws SQLException
addBatch
in interface Statement
SQLException
- always thrownpublic void cancel()
cancel
in interface Statement
public void clearBatch() throws SQLException
clearBatch
in interface Statement
SQLException
- always thrown.public abstract void clearParameters() throws SQLException
Subclasses must implement this.
clearParameters
in interface PreparedStatement
SQLException
- thrown on an error.public void clearWarnings()
clearWarnings
in interface Statement
public abstract void close() throws SQLException
close
in interface Statement
SQLException
- thrown on an error.public abstract boolean execute() throws SQLException
The results will be placed in the various output parameters.
Subclasses must implement this.
execute
in interface PreparedStatement
SQLException
- thrown on an error.public boolean execute(String sql) throws SQLException
execute
in interface Statement
SQLException
- always thrown.public boolean execute(String sql, int autoGeneratedKeys) throws SQLException
execute
in interface Statement
SQLException
- always thrown.public boolean execute(String sql, int[] columnIndexes) throws SQLException
execute
in interface Statement
SQLException
- always thrown.public boolean execute(String sql, String[] columnNames) throws SQLException
execute
in interface Statement
SQLException
- always thrown.public int[] executeBatch() throws SQLException
executeBatch
in interface Statement
SQLException
- always thrown.public ResultSet executeQuery() throws SQLException
executeQuery
in interface PreparedStatement
SQLException
- always thrown.public ResultSet executeQuery(String sql) throws SQLException
executeQuery
in interface Statement
SQLException
- always thrown.public int executeUpdate() throws SQLException
executeUpdate
in interface PreparedStatement
SQLException
- thrown on an error.execute(java.lang.String)
public int executeUpdate(String sql) throws SQLException
executeUpdate
in interface Statement
SQLException
- always thrown.public int executeUpdate(String sql, int autoGeneratedKeys) throws SQLException
executeUpdate
in interface Statement
SQLException
- always thrown.public int executeUpdate(String sql, int[] columnIndexes) throws SQLException
executeUpdate
in interface Statement
SQLException
- always thrown.public int executeUpdate(String sql, String[] columnNames) throws SQLException
executeUpdate
in interface Statement
SQLException
- always thrown.public Array getArray(int index) throws SQLException
getArray
in interface CallableStatement
SQLException
- always thrown.public Array getArray(String parameterName) throws SQLException
getArray
in interface CallableStatement
SQLException
- always thrown.public BigDecimal getBigDecimal(int index) throws SQLException
getBigDecimal
in interface CallableStatement
SQLException
- always thrown.public BigDecimal getBigDecimal(int index, int scale) throws SQLException
getBigDecimal
in interface CallableStatement
SQLException
- always thrown.public BigDecimal getBigDecimal(String parameterName) throws SQLException
getBigDecimal
in interface CallableStatement
SQLException
- always thrown.public Blob getBlob(int index) throws SQLException
getBlob
in interface CallableStatement
SQLException
- always thrown.public Blob getBlob(String parameterName) throws SQLException
getBlob
in interface CallableStatement
SQLException
- always thrown.public boolean getBoolean(int index) throws SQLException
getBoolean
in interface CallableStatement
SQLException
- always thrown.public boolean getBoolean(String parameterName) throws SQLException
getBoolean
in interface CallableStatement
SQLException
- always thrown.public byte getByte(int index) throws SQLException
getByte
in interface CallableStatement
SQLException
- always thrown.public byte getByte(String parameterName) throws SQLException
getByte
in interface CallableStatement
SQLException
- always thrown.public byte[] getBytes(int index) throws SQLException
getBytes
in interface CallableStatement
SQLException
- always thrown.public byte[] getBytes(String parameterName) throws SQLException
getBytes
in interface CallableStatement
SQLException
- always thrown.public Clob getClob(int index) throws SQLException
getClob
in interface CallableStatement
SQLException
- always thrown.public Clob getClob(String parameterName) throws SQLException
getClob
in interface CallableStatement
SQLException
- always thrown.public Connection getConnection()
getConnection
in interface Statement
public Date getDate(int index) throws SQLException
getDate
in interface CallableStatement
SQLException
- always thrown.public Date getDate(int index, Calendar cal) throws SQLException
getDate
in interface CallableStatement
SQLException
- always thrown.public Date getDate(String parameterName) throws SQLException
getDate
in interface CallableStatement
SQLException
- always thrown.public Date getDate(String parameterName, Calendar cal) throws SQLException
getDate
in interface CallableStatement
SQLException
- always thrown.protected DocumentProvider getDocumentProvider() throws DocumentException
DocumentException
public double getDouble(int index) throws SQLException
getDouble
in interface CallableStatement
SQLException
- always thrown.public double getDouble(String parameterName) throws SQLException
getDouble
in interface CallableStatement
SQLException
- always thrown.public int getFetchDirection() throws SQLException
getFetchDirection
in interface Statement
SQLException
- always thrown.public int getFetchSize() throws SQLException
getFetchSize
in interface Statement
SQLException
- always thrown.public float getFloat(int index) throws SQLException
getFloat
in interface CallableStatement
SQLException
- always thrown.public float getFloat(String parameterName) throws SQLException
getFloat
in interface CallableStatement
SQLException
- always thrown.public ResultSet getGeneratedKeys() throws SQLException
getGeneratedKeys
in interface Statement
SQLException
- always thrown.public int getInt(int index) throws SQLException
getInt
in interface CallableStatement
SQLException
- always thrown.public int getInt(String parameterName) throws SQLException
getInt
in interface CallableStatement
SQLException
- always thrown.public long getLong(int index) throws SQLException
getLong
in interface CallableStatement
SQLException
- always thrown.public long getLong(String parameterName) throws SQLException
getLong
in interface CallableStatement
SQLException
- always thrown.public int getMaxFieldSize() throws SQLException
getMaxFieldSize
in interface Statement
SQLException
- always thrown.public int getMaxRows() throws SQLException
getMaxRows
in interface Statement
SQLException
- always thrown.public ResultSetMetaData getMetaData() throws SQLException
getMetaData
in interface PreparedStatement
SQLException
- always thrown.public boolean getMoreResults() throws SQLException
getMoreResults
in interface Statement
SQLException
- always thrown.public boolean getMoreResults(int current) throws SQLException
getMoreResults
in interface Statement
SQLException
- always thrown.public abstract Object getObject(int index) throws SQLException
Subclasses must implement this.
getObject
in interface CallableStatement
index
- the output parameter index.
SQLException
- thrown on an error.public Object getObject(int index, Map map) throws SQLException
getObject
in interface CallableStatement
index
- the output parameter index.map
- ignored.
SQLException
- thrown on an error.getObject(int)
public Object getObject(String parameter) throws SQLException
getObject
in interface CallableStatement
SQLException
- always.public Object getObject(String parameterName, Map map) throws SQLException
getObject
in interface CallableStatement
map
- ignored.
SQLException
- thrown on an error.getObject(int)
public ParameterMetaData getParameterMetaData() throws SQLException
getParameterMetaData
in interface PreparedStatement
SQLException
- always thrown.public int getQueryTimeout() throws SQLException
getQueryTimeout
in interface Statement
SQLException
- always thrown.public Ref getRef(int index) throws SQLException
getRef
in interface CallableStatement
SQLException
- always thrown.public Ref getRef(String parameterName) throws SQLException
getRef
in interface CallableStatement
SQLException
- always thrown.public ResultSet getResultSet() throws SQLException
getResultSet
in interface Statement
SQLException
- always thrown.public int getResultSetConcurrency() throws SQLException
getResultSetConcurrency
in interface Statement
SQLException
- always thrown.public int getResultSetHoldability() throws SQLException
getResultSetHoldability
in interface Statement
SQLException
- always thrown.public int getResultSetType() throws SQLException
getResultSetType
in interface Statement
SQLException
- always thrown.public short getShort(int index) throws SQLException
getShort
in interface CallableStatement
SQLException
- always thrown.public short getShort(String parameterName) throws SQLException
getShort
in interface CallableStatement
SQLException
- always thrown.public String getString(int index) throws SQLException
getString
in interface CallableStatement
SQLException
- always thrown.public String getString(String parameterName) throws SQLException
getString
in interface CallableStatement
SQLException
- always thrown.public Time getTime(int index) throws SQLException
getTime
in interface CallableStatement
SQLException
- always thrown.public Time getTime(int index, Calendar cal) throws SQLException
getTime
in interface CallableStatement
SQLException
- always thrown.public Time getTime(String parameterName) throws SQLException
getTime
in interface CallableStatement
SQLException
- always thrown.public Time getTime(String parameterName, Calendar cal) throws SQLException
getTime
in interface CallableStatement
SQLException
- always thrown.public Timestamp getTimestamp(int index) throws SQLException
getTimestamp
in interface CallableStatement
SQLException
- always thrown.public Timestamp getTimestamp(int index, Calendar cal) throws SQLException
getTimestamp
in interface CallableStatement
SQLException
- always thrown.public Timestamp getTimestamp(String parameterName) throws SQLException
getTimestamp
in interface CallableStatement
SQLException
- always thrown.public Timestamp getTimestamp(String parameterName, Calendar cal) throws SQLException
getTimestamp
in interface CallableStatement
SQLException
- always thrown.public int getUpdateCount() throws SQLException
getUpdateCount
in interface Statement
SQLException
- always thrown.public URL getURL(int parameterIndex) throws SQLException
getURL
in interface CallableStatement
SQLException
- always thrown.public URL getURL(String parameterName) throws SQLException
getURL
in interface CallableStatement
SQLException
- always thrown.public SQLWarning getWarnings()
getWarnings
in interface Statement
public void registerOutParameter(int index, int sqlType) throws SQLException
registerOutParameter
in interface CallableStatement
SQLException
public void registerOutParameter(int index, int sqlType, int scale) throws SQLException
registerOutParameter
in interface CallableStatement
SQLException
public void registerOutParameter(int index, int sqlType, String typeName) throws SQLException
registerOutParameter
in interface CallableStatement
SQLException
public void registerOutParameter(String parameterName, int sqlType) throws SQLException
registerOutParameter
in interface CallableStatement
SQLException
public void registerOutParameter(String parameterName, int sqlType, int scale) throws SQLException
registerOutParameter
in interface CallableStatement
SQLException
public void registerOutParameter(String parameterName, int sqlType, String typeName) throws SQLException
registerOutParameter
in interface CallableStatement
SQLException
public void setArray(int index, Array x) throws SQLException
setArray
in interface PreparedStatement
SQLException
- always thrown.public void setAsciiStream(int index, InputStream x, int length) throws SQLException
setAsciiStream
in interface PreparedStatement
SQLException
- always thrown.public void setAsciiStream(String parameterName, InputStream x, int length) throws SQLException
setAsciiStream
in interface CallableStatement
SQLException
- always thrown.public void setBigDecimal(int index, BigDecimal x) throws SQLException
setBigDecimal
in interface PreparedStatement
SQLException
- always thrown.public void setBigDecimal(String parameterName, BigDecimal x) throws SQLException
setBigDecimal
in interface CallableStatement
SQLException
- always thrown.public void setBinaryStream(int index, InputStream x, int length) throws SQLException
setBinaryStream
in interface PreparedStatement
SQLException
- always thrown.public void setBinaryStream(String parameterName, InputStream x, int length) throws SQLException
setBinaryStream
in interface CallableStatement
SQLException
- always thrown.public void setBlob(int index, Blob x) throws SQLException
setBlob
in interface PreparedStatement
SQLException
- always thrown.public void setBoolean(int index, boolean x) throws SQLException
setBoolean
in interface PreparedStatement
SQLException
- always thrown.public void setBoolean(String parameterName, boolean x) throws SQLException
setBoolean
in interface CallableStatement
SQLException
- always thrown.public void setByte(int index, byte x) throws SQLException
setByte
in interface PreparedStatement
SQLException
- always thrown.public void setByte(String parameterName, byte x) throws SQLException
setByte
in interface CallableStatement
SQLException
- always thrown.public void setBytes(int index, byte[] x) throws SQLException
setBytes
in interface PreparedStatement
SQLException
- always thrown.public void setBytes(String parameterName, byte[] x) throws SQLException
setBytes
in interface CallableStatement
SQLException
- always thrown.public void setCharacterStream(int index, Reader reader, int length) throws SQLException
setCharacterStream
in interface PreparedStatement
SQLException
- always thrown.public void setCharacterStream(String parameterName, Reader reader, int length) throws SQLException
setCharacterStream
in interface CallableStatement
SQLException
- always thrown.public void setClob(int index, Clob x) throws SQLException
setClob
in interface PreparedStatement
SQLException
- always thrown.public void setCursorName(String name) throws SQLException
setCursorName
in interface Statement
SQLException
- always thrown.public void setDate(int index, Date x) throws SQLException
setDate
in interface PreparedStatement
SQLException
- always thrown.public void setDate(int index, Date x, Calendar cal) throws SQLException
setDate
in interface PreparedStatement
SQLException
- always thrown.public void setDate(String parameterName, Date x) throws SQLException
setDate
in interface CallableStatement
SQLException
- always thrown.public void setDate(String parameterName, Date x, Calendar cal) throws SQLException
setDate
in interface CallableStatement
SQLException
- always thrown.public void setDouble(int index, double x) throws SQLException
setDouble
in interface PreparedStatement
SQLException
- always thrown.public void setDouble(String parameterName, double x) throws SQLException
setDouble
in interface CallableStatement
SQLException
- always thrown.public void setEscapeProcessing(boolean enable) throws SQLException
setEscapeProcessing
in interface Statement
SQLException
- always thrown.public void setFetchDirection(int direction) throws SQLException
setFetchDirection
in interface Statement
SQLException
- always thrown.public void setFetchSize(int rows) throws SQLException
setFetchSize
in interface Statement
SQLException
- always thrown.public void setFloat(int index, float x) throws SQLException
setFloat
in interface PreparedStatement
SQLException
- always thrown.public void setFloat(String parameterName, float x) throws SQLException
setFloat
in interface CallableStatement
SQLException
- always thrown.public void setInt(int index, int x) throws SQLException
setInt
in interface PreparedStatement
SQLException
- always thrown.public void setInt(String parameterName, int x) throws SQLException
setInt
in interface CallableStatement
SQLException
- always thrown.public void setLong(int index, long x) throws SQLException
setLong
in interface PreparedStatement
SQLException
- always thrown.public void setLong(String parameterName, long x) throws SQLException
setLong
in interface CallableStatement
SQLException
- always thrown.public void setMaxFieldSize(int max) throws SQLException
setMaxFieldSize
in interface Statement
SQLException
- always thrown.public void setMaxRows(int max) throws SQLException
setMaxRows
in interface Statement
SQLException
- always thrown.public void setNull(int index, int sqlType) throws SQLException
setNull
in interface PreparedStatement
SQLException
- always thrown.public void setNull(int index, int sqlType, String typeName) throws SQLException
setNull
in interface PreparedStatement
SQLException
- always thrown.public void setNull(String parameterName, int sqlType) throws SQLException
setNull
in interface CallableStatement
SQLException
- always thrown.public void setNull(String parameterName, int sqlType, String typeName) throws SQLException
setNull
in interface CallableStatement
SQLException
- always thrown.public abstract void setObject(int index, Object x) throws SQLException
Subclasses need to implement this method as neccessary.
setObject
in interface PreparedStatement
SQLException
- thrown on an error.public void setObject(int index, Object x, int sqlType) throws SQLException
setObject
in interface PreparedStatement
SQLException
- thrown on an error.setObject(int, java.lang.Object)
public void setObject(int index, Object x, int sqlType, int scale) throws SQLException
setObject
in interface PreparedStatement
SQLException
- thrown on an error.setObject(int, java.lang.Object)
public void setObject(String parameterName, Object x) throws SQLException
setObject
in interface CallableStatement
SQLException
- alwayspublic void setObject(String parameterName, Object x, int sqlType) throws SQLException
setObject
in interface CallableStatement
SQLException
- thrown on an error.setObject(int, java.lang.Object)
public void setObject(String parameterName, Object x, int sqlType, int scale) throws SQLException
setObject
in interface CallableStatement
SQLException
- thrown on an error.setObject(int, java.lang.Object)
public void setQueryTimeout(int seconds) throws SQLException
setQueryTimeout
in interface Statement
SQLException
- always thrown.public void setRef(int index, Ref x) throws SQLException
setRef
in interface PreparedStatement
SQLException
- always thrown.public void setShort(int index, short x) throws SQLException
setShort
in interface PreparedStatement
SQLException
- always thrown.public void setShort(String parameterName, short x) throws SQLException
setShort
in interface CallableStatement
SQLException
- always thrown.public void setString(int index, String x) throws SQLException
setString
in interface PreparedStatement
SQLException
- always thrown.public void setString(String parameterName, String x) throws SQLException
setString
in interface CallableStatement
SQLException
- always thrown.public void setTime(int index, Time x) throws SQLException
setTime
in interface PreparedStatement
SQLException
- always thrown.public void setTime(int index, Time x, Calendar cal) throws SQLException
setTime
in interface PreparedStatement
SQLException
- always thrown.public void setTime(String parameterName, Time x) throws SQLException
setTime
in interface CallableStatement
SQLException
- always thrown.public void setTime(String parameterName, Time x, Calendar cal) throws SQLException
setTime
in interface CallableStatement
SQLException
- always thrown.public void setTimestamp(int index, Timestamp x) throws SQLException
setTimestamp
in interface PreparedStatement
SQLException
- always thrown.public void setTimestamp(int index, Timestamp x, Calendar cal) throws SQLException
setTimestamp
in interface PreparedStatement
SQLException
- always thrown.public void setTimestamp(String parameterName, Timestamp x) throws SQLException
setTimestamp
in interface CallableStatement
SQLException
- always thrown.public void setTimestamp(String parameterName, Timestamp x, Calendar cal) throws SQLException
setTimestamp
in interface CallableStatement
SQLException
- always thrown.public void setUnicodeStream(int index, InputStream x, int length) throws SQLException
setUnicodeStream
in interface PreparedStatement
SQLException
- always thrown.public void setURL(int parameterIndex, URL val) throws SQLException
setURL
in interface PreparedStatement
SQLException
- always thrown.public void setURL(String parameterName, URL val) throws SQLException
setURL
in interface CallableStatement
SQLException
- always thrown.public boolean wasNull() throws SQLException
wasNull
in interface CallableStatement
SQLException
- always thrown.
|
© 2005 BEA Systems, Inc. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |