|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sourceforge.jtds.jdbcx.proxy.StatementProxy net.sourceforge.jtds.jdbcx.proxy.PreparedStatementProxy net.sourceforge.jtds.jdbcx.proxy.CallableStatementProxy
This class would be better implemented as a java.lang.reflect.Proxy. However, this feature was not added until 1.3 and reflection performance was not improved until 1.4. Since the driver still needs to be compatible with 1.2 and 1.3 this class is used to delegate the calls to a callable statement with minimal overhead.
Field Summary | |
private JtdsCallableStatement |
_callableStatement
|
Fields inherited from class net.sourceforge.jtds.jdbcx.proxy.PreparedStatementProxy |
|
Fields inherited from class net.sourceforge.jtds.jdbcx.proxy.StatementProxy |
|
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 | |
(package private) |
CallableStatementProxy(ConnectionProxy connection,
JtdsCallableStatement callableStatement)
|
Method Summary | |
java.sql.Array |
getArray(int parameterIndex)
Delgates calls to the callable statement; SQLExceptions thrown from the callable statement will cause an event to be fired on the connection pool listeners. |
java.sql.Array |
getArray(java.lang.String parameterName)
Delgates calls to the callable statement; SQLExceptions thrown from the callable statement will cause an event to be fired on the connection pool listeners. |
java.math.BigDecimal |
getBigDecimal(int parameterIndex)
Delgates calls to the callable statement; SQLExceptions thrown from the callable statement will cause an event to be fired on the connection pool listeners. |
java.math.BigDecimal |
getBigDecimal(int parameterIndex,
int scale)
Delgates calls to the callable statement; SQLExceptions thrown from the callable statement will cause an event to be fired on the connection pool listeners. |
java.math.BigDecimal |
getBigDecimal(java.lang.String parameterName)
Delgates calls to the callable statement; SQLExceptions thrown from the callable statement will cause an event to be fired on the connection pool listeners. |
java.sql.Blob |
getBlob(int parameterIndex)
Delgates calls to the callable statement; SQLExceptions thrown from the callable statement will cause an event to be fired on the connection pool listeners. |
java.sql.Blob |
getBlob(java.lang.String parameterName)
Delgates calls to the callable statement; SQLExceptions thrown from the callable statement will cause an event to be fired on the connection pool listeners. |
boolean |
getBoolean(int parameterIndex)
Delgates calls to the callable statement; SQLExceptions thrown from the callable statement will cause an event to be fired on the connection pool listeners. |
boolean |
getBoolean(java.lang.String parameterName)
Delgates calls to the callable statement; SQLExceptions thrown from the callable statement will cause an event to be fired on the connection pool listeners. |
byte |
getByte(int parameterIndex)
Delgates calls to the callable statement; SQLExceptions thrown from the callable statement will cause an event to be fired on the connection pool listeners. |
byte |
getByte(java.lang.String parameterName)
Delgates calls to the callable statement; SQLExceptions thrown from the callable statement will cause an event to be fired on the connection pool listeners. |
byte[] |
getBytes(int parameterIndex)
Delgates calls to the callable statement; SQLExceptions thrown from the callable statement will cause an event to be fired on the connection pool listeners. |
byte[] |
getBytes(java.lang.String parameterName)
Delgates calls to the callable statement; SQLExceptions thrown from the callable statement will cause an event to be fired on the connection pool listeners. |
java.sql.Clob |
getClob(int parameterIndex)
Delgates calls to the callable statement; SQLExceptions thrown from the callable statement will cause an event to be fired on the connection pool listeners. |
java.sql.Clob |
getClob(java.lang.String parameterName)
Delgates calls to the callable statement; SQLExceptions thrown from the callable statement will cause an event to be fired on the connection pool listeners. |
java.sql.Date |
getDate(int parameterIndex)
Delgates calls to the callable statement; SQLExceptions thrown from the callable statement will cause an event to be fired on the connection pool listeners. |
java.sql.Date |
getDate(int parameterIndex,
java.util.Calendar cal)
Delgates calls to the callable statement; SQLExceptions thrown from the callable statement will cause an event to be fired on the connection pool listeners. |
java.sql.Date |
getDate(java.lang.String parameterName)
Delgates calls to the callable statement; SQLExceptions thrown from the callable statement will cause an event to be fired on the connection pool listeners. |
java.sql.Date |
getDate(java.lang.String parameterName,
java.util.Calendar cal)
Delgates calls to the callable statement; SQLExceptions thrown from the callable statement will cause an event to be fired on the connection pool listeners. |
double |
getDouble(int parameterIndex)
Delgates calls to the callable statement; SQLExceptions thrown from the callable statement will cause an event to be fired on the connection pool listeners. |
double |
getDouble(java.lang.String parameterName)
Delgates calls to the callable statement; SQLExceptions thrown from the callable statement will cause an event to be fired on the connection pool listeners. |
float |
getFloat(int parameterIndex)
Delgates calls to the callable statement; SQLExceptions thrown from the callable statement will cause an event to be fired on the connection pool listeners. |
float |
getFloat(java.lang.String parameterName)
Delgates calls to the callable statement; SQLExceptions thrown from the callable statement will cause an event to be fired on the connection pool listeners. |
int |
getInt(int parameterIndex)
Delgates calls to the callable statement; SQLExceptions thrown from the callable statement will cause an event to be fired on the connection pool listeners. |
int |
getInt(java.lang.String parameterName)
Delgates calls to the callable statement; SQLExceptions thrown from the callable statement will cause an event to be fired on the connection pool listeners. |
long |
getLong(int parameterIndex)
Delgates calls to the callable statement; SQLExceptions thrown from the callable statement will cause an event to be fired on the connection pool listeners. |
long |
getLong(java.lang.String parameterName)
Delgates calls to the callable statement; SQLExceptions thrown from the callable statement will cause an event to be fired on the connection pool listeners. |
java.lang.Object |
getObject(int parameterIndex)
Delgates calls to the callable statement; SQLExceptions thrown from the callable statement will cause an event to be fired on the connection pool listeners. |
java.lang.Object |
getObject(int parameterIndex,
java.util.Map map)
Delgates calls to the callable statement; SQLExceptions thrown from the callable statement will cause an event to be fired on the connection pool listeners. |
java.lang.Object |
getObject(java.lang.String parameterName)
Delgates calls to the callable statement; SQLExceptions thrown from the callable statement will cause an event to be fired on the connection pool listeners. |
java.lang.Object |
getObject(java.lang.String parameterName,
java.util.Map map)
Delgates calls to the callable statement; SQLExceptions thrown from the callable statement will cause an event to be fired on the connection pool listeners. |
java.sql.Ref |
getRef(int parameterIndex)
Delgates calls to the callable statement; SQLExceptions thrown from the callable statement will cause an event to be fired on the connection pool listeners. |
java.sql.Ref |
getRef(java.lang.String parameterName)
Delgates calls to the callable statement; SQLExceptions thrown from the callable statement will cause an event to be fired on the connection pool listeners. |
short |
getShort(int parameterIndex)
Delgates calls to the callable statement; SQLExceptions thrown from the callable statement will cause an event to be fired on the connection pool listeners. |
short |
getShort(java.lang.String parameterName)
Delgates calls to the callable statement; SQLExceptions thrown from the callable statement will cause an event to be fired on the connection pool listeners. |
java.lang.String |
getString(int parameterIndex)
Delgates calls to the callable statement; SQLExceptions thrown from the callable statement will cause an event to be fired on the connection pool listeners. |
java.lang.String |
getString(java.lang.String parameterName)
Delgates calls to the callable statement; SQLExceptions thrown from the callable statement will cause an event to be fired on the connection pool listeners. |
java.sql.Time |
getTime(int parameterIndex)
Delgates calls to the callable statement; SQLExceptions thrown from the callable statement will cause an event to be fired on the connection pool listeners. |
java.sql.Time |
getTime(int parameterIndex,
java.util.Calendar cal)
Delgates calls to the callable statement; SQLExceptions thrown from the callable statement will cause an event to be fired on the connection pool listeners. |
java.sql.Time |
getTime(java.lang.String parameterName)
Delgates calls to the callable statement; SQLExceptions thrown from the callable statement will cause an event to be fired on the connection pool listeners. |
java.sql.Time |
getTime(java.lang.String parameterName,
java.util.Calendar cal)
Delgates calls to the callable statement; SQLExceptions thrown from the callable statement will cause an event to be fired on the connection pool listeners. |
java.sql.Timestamp |
getTimestamp(int parameterIndex)
Delgates calls to the callable statement; SQLExceptions thrown from the callable statement will cause an event to be fired on the connection pool listeners. |
java.sql.Timestamp |
getTimestamp(int parameterIndex,
java.util.Calendar cal)
Delgates calls to the callable statement; SQLExceptions thrown from the callable statement will cause an event to be fired on the connection pool listeners. |
java.sql.Timestamp |
getTimestamp(java.lang.String parameterName)
Delgates calls to the callable statement; SQLExceptions thrown from the callable statement will cause an event to be fired on the connection pool listeners. |
java.sql.Timestamp |
getTimestamp(java.lang.String parameterName,
java.util.Calendar cal)
Delgates calls to the callable statement; SQLExceptions thrown from the callable statement will cause an event to be fired on the connection pool listeners. |
java.net.URL |
getURL(int parameterIndex)
Delgates calls to the callable statement; SQLExceptions thrown from the callable statement will cause an event to be fired on the connection pool listeners. |
java.net.URL |
getURL(java.lang.String parameterName)
Delgates calls to the callable statement; SQLExceptions thrown from the callable statement will cause an event to be fired on the connection pool listeners. |
void |
registerOutParameter(int parameterIndex,
int sqlType)
Delgates calls to the callable statement; SQLExceptions thrown from the callable statement will cause an event to be fired on the connection pool listeners. |
void |
registerOutParameter(int parameterIndex,
int sqlType,
int scale)
Delgates calls to the callable statement; SQLExceptions thrown from the callable statement will cause an event to be fired on the connection pool listeners. |
void |
registerOutParameter(int parameterIndex,
int sqlType,
java.lang.String typeName)
Delgates calls to the callable statement; SQLExceptions thrown from the callable statement will cause an event to be fired on the connection pool listeners. |
void |
registerOutParameter(java.lang.String parameterName,
int sqlType)
Delgates calls to the callable statement; SQLExceptions thrown from the callable statement will cause an event to be fired on the connection pool listeners. |
void |
registerOutParameter(java.lang.String parameterName,
int sqlType,
int scale)
Delgates calls to the callable statement; SQLExceptions thrown from the callable statement will cause an event to be fired on the connection pool listeners. |
void |
registerOutParameter(java.lang.String parameterName,
int sqlType,
java.lang.String typeName)
Delgates calls to the callable statement; SQLExceptions thrown from the callable statement will cause an event to be fired on the connection pool listeners. |
void |
setAsciiStream(java.lang.String parameterName,
java.io.InputStream x,
int length)
Delgates calls to the callable statement; SQLExceptions thrown from the callable statement will cause an event to be fired on the connection pool listeners. |
void |
setBigDecimal(java.lang.String parameterName,
java.math.BigDecimal x)
Delgates calls to the callable statement; SQLExceptions thrown from the callable statement will cause an event to be fired on the connection pool listeners. |
void |
setBinaryStream(java.lang.String parameterName,
java.io.InputStream x,
int length)
Delgates calls to the callable statement; SQLExceptions thrown from the callable statement will cause an event to be fired on the connection pool listeners. |
void |
setBoolean(java.lang.String parameterName,
boolean x)
Delgates calls to the callable statement; SQLExceptions thrown from the callable statement will cause an event to be fired on the connection pool listeners. |
void |
setByte(java.lang.String parameterName,
byte x)
Delgates calls to the callable statement; SQLExceptions thrown from the callable statement will cause an event to be fired on the connection pool listeners. |
void |
setBytes(java.lang.String parameterName,
byte[] x)
Delgates calls to the callable statement; SQLExceptions thrown from the callable statement will cause an event to be fired on the connection pool listeners. |
void |
setCharacterStream(java.lang.String parameterName,
java.io.Reader x,
int length)
Delgates calls to the callable statement; SQLExceptions thrown from the callable statement will cause an event to be fired on the connection pool listeners. |
void |
setDate(java.lang.String parameterName,
java.sql.Date x)
Delgates calls to the callable statement; SQLExceptions thrown from the callable statement will cause an event to be fired on the connection pool listeners. |
void |
setDate(java.lang.String parameterName,
java.sql.Date x,
java.util.Calendar cal)
Delgates calls to the callable statement; SQLExceptions thrown from the callable statement will cause an event to be fired on the connection pool listeners. |
void |
setDouble(java.lang.String parameterName,
double x)
Delgates calls to the callable statement; SQLExceptions thrown from the callable statement will cause an event to be fired on the connection pool listeners. |
void |
setFloat(java.lang.String parameterName,
float x)
Delgates calls to the callable statement; SQLExceptions thrown from the callable statement will cause an event to be fired on the connection pool listeners. |
void |
setInt(java.lang.String parameterName,
int x)
Delgates calls to the callable statement; SQLExceptions thrown from the callable statement will cause an event to be fired on the connection pool listeners. |
void |
setLong(java.lang.String parameterName,
long x)
Delgates calls to the callable statement; SQLExceptions thrown from the callable statement will cause an event to be fired on the connection pool listeners. |
void |
setNull(java.lang.String parameterName,
int sqlType)
Delgates calls to the callable statement; SQLExceptions thrown from the callable statement will cause an event to be fired on the connection pool listeners. |
void |
setNull(java.lang.String parameterName,
int sqlType,
java.lang.String typeName)
Delgates calls to the callable statement; SQLExceptions thrown from the callable statement will cause an event to be fired on the connection pool listeners. |
void |
setObject(java.lang.String parameterName,
java.lang.Object x)
Delgates calls to the callable statement; SQLExceptions thrown from the callable statement will cause an event to be fired on the connection pool listeners. |
void |
setObject(java.lang.String parameterName,
java.lang.Object x,
int targetSqlType)
Delgates calls to the callable statement; SQLExceptions thrown from the callable statement will cause an event to be fired on the connection pool listeners. |
void |
setObject(java.lang.String parameterName,
java.lang.Object x,
int targetSqlType,
int scale)
Delgates calls to the callable statement; SQLExceptions thrown from the callable statement will cause an event to be fired on the connection pool listeners. |
void |
setShort(java.lang.String parameterName,
short x)
Delgates calls to the callable statement; SQLExceptions thrown from the callable statement will cause an event to be fired on the connection pool listeners. |
void |
setString(java.lang.String parameterName,
java.lang.String x)
Delgates calls to the callable statement; SQLExceptions thrown from the callable statement will cause an event to be fired on the connection pool listeners. |
void |
setTime(java.lang.String parameterName,
java.sql.Time x)
Delgates calls to the callable statement; SQLExceptions thrown from the callable statement will cause an event to be fired on the connection pool listeners. |
void |
setTime(java.lang.String parameterName,
java.sql.Time x,
java.util.Calendar cal)
Delgates calls to the callable statement; SQLExceptions thrown from the callable statement will cause an event to be fired on the connection pool listeners. |
void |
setTimestamp(java.lang.String parameterName,
java.sql.Timestamp x)
Delgates calls to the callable statement; SQLExceptions thrown from the callable statement will cause an event to be fired on the connection pool listeners. |
void |
setTimestamp(java.lang.String parameterName,
java.sql.Timestamp x,
java.util.Calendar cal)
Delgates calls to the callable statement; SQLExceptions thrown from the callable statement will cause an event to be fired on the connection pool listeners. |
void |
setURL(java.lang.String parameterName,
java.net.URL val)
Delgates calls to the callable statement; SQLExceptions thrown from the callable statement will cause an event to be fired on the connection pool listeners. |
boolean |
wasNull()
Delgates calls to the callable statement; SQLExceptions thrown from the callable statement will cause an event to be fired on the connection pool listeners. |
Methods inherited from class net.sourceforge.jtds.jdbcx.proxy.PreparedStatementProxy |
addBatch, clearParameters, execute, executeQuery, executeUpdate, getMetaData, getParameterMetaData, 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 net.sourceforge.jtds.jdbcx.proxy.StatementProxy |
addBatch, cancel, clearBatch, clearWarnings, close, execute, execute, execute, execute, executeBatch, executeQuery, executeUpdate, executeUpdate, executeUpdate, executeUpdate, getConnection, getFetchDirection, getFetchSize, getGeneratedKeys, getMaxFieldSize, getMaxRows, getMoreResults, getMoreResults, getQueryTimeout, getResultSet, getResultSetConcurrency, getResultSetHoldability, getResultSetType, getUpdateCount, getWarnings, processSQLException, setCursorName, setEscapeProcessing, setFetchDirection, setFetchSize, setMaxFieldSize, setMaxRows, setQueryTimeout, validateConnection |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface java.sql.PreparedStatement |
addBatch, clearParameters, execute, executeQuery, executeUpdate, getMetaData, getParameterMetaData, 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 interface java.sql.Statement |
addBatch, cancel, clearBatch, clearWarnings, close, execute, execute, execute, execute, executeBatch, executeQuery, executeUpdate, executeUpdate, executeUpdate, executeUpdate, getConnection, getFetchDirection, getFetchSize, getGeneratedKeys, getMaxFieldSize, getMaxRows, getMoreResults, getMoreResults, getQueryTimeout, getResultSet, getResultSetConcurrency, getResultSetHoldability, getResultSetType, getUpdateCount, getWarnings, setCursorName, setEscapeProcessing, setFetchDirection, setFetchSize, setMaxFieldSize, setMaxRows, setQueryTimeout |
Field Detail |
private JtdsCallableStatement _callableStatement
Constructor Detail |
CallableStatementProxy(ConnectionProxy connection, JtdsCallableStatement callableStatement)
Method Detail |
public void registerOutParameter(int parameterIndex, int sqlType) throws java.sql.SQLException
registerOutParameter
in interface java.sql.CallableStatement
java.sql.SQLException
- if an error occurspublic void registerOutParameter(int parameterIndex, int sqlType, int scale) throws java.sql.SQLException
registerOutParameter
in interface java.sql.CallableStatement
java.sql.SQLException
- if an error occurspublic boolean wasNull() throws java.sql.SQLException
wasNull
in interface java.sql.CallableStatement
java.sql.SQLException
- if an error occurspublic java.lang.String getString(int parameterIndex) throws java.sql.SQLException
getString
in interface java.sql.CallableStatement
java.sql.SQLException
- if an error occurspublic boolean getBoolean(int parameterIndex) throws java.sql.SQLException
getBoolean
in interface java.sql.CallableStatement
java.sql.SQLException
- if an error occurspublic byte getByte(int parameterIndex) throws java.sql.SQLException
getByte
in interface java.sql.CallableStatement
java.sql.SQLException
- if an error occurspublic short getShort(int parameterIndex) throws java.sql.SQLException
getShort
in interface java.sql.CallableStatement
java.sql.SQLException
- if an error occurspublic int getInt(int parameterIndex) throws java.sql.SQLException
getInt
in interface java.sql.CallableStatement
java.sql.SQLException
- if an error occurspublic long getLong(int parameterIndex) throws java.sql.SQLException
getLong
in interface java.sql.CallableStatement
java.sql.SQLException
- if an error occurspublic float getFloat(int parameterIndex) throws java.sql.SQLException
getFloat
in interface java.sql.CallableStatement
java.sql.SQLException
- if an error occurspublic double getDouble(int parameterIndex) throws java.sql.SQLException
getDouble
in interface java.sql.CallableStatement
java.sql.SQLException
- if an error occurspublic java.math.BigDecimal getBigDecimal(int parameterIndex, int scale) throws java.sql.SQLException
getBigDecimal
in interface java.sql.CallableStatement
java.sql.SQLException
- if an error occurspublic byte[] getBytes(int parameterIndex) throws java.sql.SQLException
getBytes
in interface java.sql.CallableStatement
java.sql.SQLException
- if an error occurspublic java.sql.Date getDate(int parameterIndex) throws java.sql.SQLException
getDate
in interface java.sql.CallableStatement
java.sql.SQLException
- if an error occurspublic java.sql.Time getTime(int parameterIndex) throws java.sql.SQLException
getTime
in interface java.sql.CallableStatement
java.sql.SQLException
- if an error occurspublic java.sql.Timestamp getTimestamp(int parameterIndex) throws java.sql.SQLException
getTimestamp
in interface java.sql.CallableStatement
java.sql.SQLException
- if an error occurspublic java.lang.Object getObject(int parameterIndex) throws java.sql.SQLException
getObject
in interface java.sql.CallableStatement
java.sql.SQLException
- if an error occurspublic java.math.BigDecimal getBigDecimal(int parameterIndex) throws java.sql.SQLException
getBigDecimal
in interface java.sql.CallableStatement
java.sql.SQLException
- if an error occurspublic java.lang.Object getObject(int parameterIndex, java.util.Map map) throws java.sql.SQLException
getObject
in interface java.sql.CallableStatement
java.sql.SQLException
- if an error occurspublic java.sql.Ref getRef(int parameterIndex) throws java.sql.SQLException
getRef
in interface java.sql.CallableStatement
java.sql.SQLException
- if an error occurspublic java.sql.Blob getBlob(int parameterIndex) throws java.sql.SQLException
getBlob
in interface java.sql.CallableStatement
java.sql.SQLException
- if an error occurspublic java.sql.Clob getClob(int parameterIndex) throws java.sql.SQLException
getClob
in interface java.sql.CallableStatement
java.sql.SQLException
- if an error occurspublic java.sql.Array getArray(int parameterIndex) throws java.sql.SQLException
getArray
in interface java.sql.CallableStatement
java.sql.SQLException
- if an error occurspublic java.sql.Date getDate(int parameterIndex, java.util.Calendar cal) throws java.sql.SQLException
getDate
in interface java.sql.CallableStatement
java.sql.SQLException
- if an error occurspublic java.sql.Time getTime(int parameterIndex, java.util.Calendar cal) throws java.sql.SQLException
getTime
in interface java.sql.CallableStatement
java.sql.SQLException
- if an error occurspublic java.sql.Timestamp getTimestamp(int parameterIndex, java.util.Calendar cal) throws java.sql.SQLException
getTimestamp
in interface java.sql.CallableStatement
java.sql.SQLException
- if an error occurspublic void registerOutParameter(int parameterIndex, int sqlType, java.lang.String typeName) throws java.sql.SQLException
registerOutParameter
in interface java.sql.CallableStatement
java.sql.SQLException
- if an error occurspublic void registerOutParameter(java.lang.String parameterName, int sqlType) throws java.sql.SQLException
registerOutParameter
in interface java.sql.CallableStatement
java.sql.SQLException
- if an error occurspublic void registerOutParameter(java.lang.String parameterName, int sqlType, int scale) throws java.sql.SQLException
registerOutParameter
in interface java.sql.CallableStatement
java.sql.SQLException
- if an error occurspublic void registerOutParameter(java.lang.String parameterName, int sqlType, java.lang.String typeName) throws java.sql.SQLException
registerOutParameter
in interface java.sql.CallableStatement
java.sql.SQLException
- if an error occurspublic java.net.URL getURL(int parameterIndex) throws java.sql.SQLException
getURL
in interface java.sql.CallableStatement
java.sql.SQLException
- if an error occurspublic void setURL(java.lang.String parameterName, java.net.URL val) throws java.sql.SQLException
setURL
in interface java.sql.CallableStatement
java.sql.SQLException
- if an error occurspublic void setNull(java.lang.String parameterName, int sqlType) throws java.sql.SQLException
setNull
in interface java.sql.CallableStatement
java.sql.SQLException
- if an error occurspublic void setBoolean(java.lang.String parameterName, boolean x) throws java.sql.SQLException
setBoolean
in interface java.sql.CallableStatement
java.sql.SQLException
- if an error occurspublic void setByte(java.lang.String parameterName, byte x) throws java.sql.SQLException
setByte
in interface java.sql.CallableStatement
java.sql.SQLException
- if an error occurspublic void setShort(java.lang.String parameterName, short x) throws java.sql.SQLException
setShort
in interface java.sql.CallableStatement
java.sql.SQLException
- if an error occurspublic void setInt(java.lang.String parameterName, int x) throws java.sql.SQLException
setInt
in interface java.sql.CallableStatement
java.sql.SQLException
- if an error occurspublic void setLong(java.lang.String parameterName, long x) throws java.sql.SQLException
setLong
in interface java.sql.CallableStatement
java.sql.SQLException
- if an error occurspublic void setFloat(java.lang.String parameterName, float x) throws java.sql.SQLException
setFloat
in interface java.sql.CallableStatement
java.sql.SQLException
- if an error occurspublic void setDouble(java.lang.String parameterName, double x) throws java.sql.SQLException
setDouble
in interface java.sql.CallableStatement
java.sql.SQLException
- if an error occurspublic void setBigDecimal(java.lang.String parameterName, java.math.BigDecimal x) throws java.sql.SQLException
setBigDecimal
in interface java.sql.CallableStatement
java.sql.SQLException
- if an error occurspublic void setString(java.lang.String parameterName, java.lang.String x) throws java.sql.SQLException
setString
in interface java.sql.CallableStatement
java.sql.SQLException
- if an error occurspublic void setBytes(java.lang.String parameterName, byte[] x) throws java.sql.SQLException
setBytes
in interface java.sql.CallableStatement
java.sql.SQLException
- if an error occurspublic void setDate(java.lang.String parameterName, java.sql.Date x) throws java.sql.SQLException
setDate
in interface java.sql.CallableStatement
java.sql.SQLException
- if an error occurspublic void setTime(java.lang.String parameterName, java.sql.Time x) throws java.sql.SQLException
setTime
in interface java.sql.CallableStatement
java.sql.SQLException
- if an error occurspublic void setTimestamp(java.lang.String parameterName, java.sql.Timestamp x) throws java.sql.SQLException
setTimestamp
in interface java.sql.CallableStatement
java.sql.SQLException
- if an error occurspublic void setAsciiStream(java.lang.String parameterName, java.io.InputStream x, int length) throws java.sql.SQLException
setAsciiStream
in interface java.sql.CallableStatement
java.sql.SQLException
- if an error occurspublic void setBinaryStream(java.lang.String parameterName, java.io.InputStream x, int length) throws java.sql.SQLException
setBinaryStream
in interface java.sql.CallableStatement
java.sql.SQLException
- if an error occurspublic void setObject(java.lang.String parameterName, java.lang.Object x, int targetSqlType, int scale) throws java.sql.SQLException
setObject
in interface java.sql.CallableStatement
java.sql.SQLException
- if an error occurspublic void setObject(java.lang.String parameterName, java.lang.Object x, int targetSqlType) throws java.sql.SQLException
setObject
in interface java.sql.CallableStatement
java.sql.SQLException
- if an error occurspublic void setObject(java.lang.String parameterName, java.lang.Object x) throws java.sql.SQLException
setObject
in interface java.sql.CallableStatement
java.sql.SQLException
- if an error occurspublic void setCharacterStream(java.lang.String parameterName, java.io.Reader x, int length) throws java.sql.SQLException
setCharacterStream
in interface java.sql.CallableStatement
java.sql.SQLException
- if an error occurspublic void setDate(java.lang.String parameterName, java.sql.Date x, java.util.Calendar cal) throws java.sql.SQLException
setDate
in interface java.sql.CallableStatement
java.sql.SQLException
- if an error occurspublic void setTime(java.lang.String parameterName, java.sql.Time x, java.util.Calendar cal) throws java.sql.SQLException
setTime
in interface java.sql.CallableStatement
java.sql.SQLException
- if an error occurspublic void setTimestamp(java.lang.String parameterName, java.sql.Timestamp x, java.util.Calendar cal) throws java.sql.SQLException
setTimestamp
in interface java.sql.CallableStatement
java.sql.SQLException
- if an error occurspublic void setNull(java.lang.String parameterName, int sqlType, java.lang.String typeName) throws java.sql.SQLException
setNull
in interface java.sql.CallableStatement
java.sql.SQLException
- if an error occurspublic java.lang.String getString(java.lang.String parameterName) throws java.sql.SQLException
getString
in interface java.sql.CallableStatement
java.sql.SQLException
- if an error occurspublic boolean getBoolean(java.lang.String parameterName) throws java.sql.SQLException
getBoolean
in interface java.sql.CallableStatement
java.sql.SQLException
- if an error occurspublic byte getByte(java.lang.String parameterName) throws java.sql.SQLException
getByte
in interface java.sql.CallableStatement
java.sql.SQLException
- if an error occurspublic short getShort(java.lang.String parameterName) throws java.sql.SQLException
getShort
in interface java.sql.CallableStatement
java.sql.SQLException
- if an error occurspublic int getInt(java.lang.String parameterName) throws java.sql.SQLException
getInt
in interface java.sql.CallableStatement
java.sql.SQLException
- if an error occurspublic long getLong(java.lang.String parameterName) throws java.sql.SQLException
getLong
in interface java.sql.CallableStatement
java.sql.SQLException
- if an error occurspublic float getFloat(java.lang.String parameterName) throws java.sql.SQLException
getFloat
in interface java.sql.CallableStatement
java.sql.SQLException
- if an error occurspublic double getDouble(java.lang.String parameterName) throws java.sql.SQLException
getDouble
in interface java.sql.CallableStatement
java.sql.SQLException
- if an error occurspublic byte[] getBytes(java.lang.String parameterName) throws java.sql.SQLException
getBytes
in interface java.sql.CallableStatement
java.sql.SQLException
- if an error occurspublic java.sql.Date getDate(java.lang.String parameterName) throws java.sql.SQLException
getDate
in interface java.sql.CallableStatement
java.sql.SQLException
- if an error occurspublic java.sql.Time getTime(java.lang.String parameterName) throws java.sql.SQLException
getTime
in interface java.sql.CallableStatement
java.sql.SQLException
- if an error occurspublic java.sql.Timestamp getTimestamp(java.lang.String parameterName) throws java.sql.SQLException
getTimestamp
in interface java.sql.CallableStatement
java.sql.SQLException
- if an error occurspublic java.lang.Object getObject(java.lang.String parameterName) throws java.sql.SQLException
getObject
in interface java.sql.CallableStatement
java.sql.SQLException
- if an error occurspublic java.math.BigDecimal getBigDecimal(java.lang.String parameterName) throws java.sql.SQLException
getBigDecimal
in interface java.sql.CallableStatement
java.sql.SQLException
- if an error occurspublic java.lang.Object getObject(java.lang.String parameterName, java.util.Map map) throws java.sql.SQLException
getObject
in interface java.sql.CallableStatement
java.sql.SQLException
- if an error occurspublic java.sql.Ref getRef(java.lang.String parameterName) throws java.sql.SQLException
getRef
in interface java.sql.CallableStatement
java.sql.SQLException
- if an error occurspublic java.sql.Blob getBlob(java.lang.String parameterName) throws java.sql.SQLException
getBlob
in interface java.sql.CallableStatement
java.sql.SQLException
- if an error occurspublic java.sql.Clob getClob(java.lang.String parameterName) throws java.sql.SQLException
getClob
in interface java.sql.CallableStatement
java.sql.SQLException
- if an error occurspublic java.sql.Array getArray(java.lang.String parameterName) throws java.sql.SQLException
getArray
in interface java.sql.CallableStatement
java.sql.SQLException
- if an error occurspublic java.sql.Date getDate(java.lang.String parameterName, java.util.Calendar cal) throws java.sql.SQLException
getDate
in interface java.sql.CallableStatement
java.sql.SQLException
- if an error occurspublic java.sql.Time getTime(java.lang.String parameterName, java.util.Calendar cal) throws java.sql.SQLException
getTime
in interface java.sql.CallableStatement
java.sql.SQLException
- if an error occurspublic java.sql.Timestamp getTimestamp(java.lang.String parameterName, java.util.Calendar cal) throws java.sql.SQLException
getTimestamp
in interface java.sql.CallableStatement
java.sql.SQLException
- if an error occurspublic java.net.URL getURL(java.lang.String parameterName) throws java.sql.SQLException
getURL
in interface java.sql.CallableStatement
java.sql.SQLException
- if an error occurs
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |