|
|||||||||
| Home >> All >> com >> opencms >> [ dbpool overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
com.opencms.dbpool
Class CmsCallableStatement

java.lang.Objectcom.opencms.dbpool.CmsStatement
com.opencms.dbpool.CmsPreparedStatement
com.opencms.dbpool.CmsCallableStatement
- All Implemented Interfaces:
- java.sql.CallableStatement, java.sql.PreparedStatement, java.sql.Statement
- public class CmsCallableStatement
- extends CmsPreparedStatement
- implements java.sql.CallableStatement
- extends CmsPreparedStatement
The interface used to execute SQL stored procedures.
| Field Summary |
| Fields inherited from class com.opencms.dbpool.CmsStatement |
m_con, m_originalStatement |
| 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) |
CmsCallableStatement(java.sql.PreparedStatement originalStatement,
CmsConnection con)
The constructor to create a new statement |
| Method Summary | |
java.sql.Array |
getArray(int i)
This method returns the value of the specified parameter as a Java Array. |
java.sql.Array |
getArray(java.lang.String str)
This method returns the value of the specified parameter as a Java Array. |
java.math.BigDecimal |
getBigDecimal(int parameterIndex)
This method returns the value of the specified parameter as a Java BigDecimal. |
java.math.BigDecimal |
getBigDecimal(int parameterIndex,
int scale)
This method returns the value of the specified parameter as a Java BigDecimal. |
java.math.BigDecimal |
getBigDecimal(java.lang.String str)
This method returns the value of the specified parameter as a Java BigDecimal. |
java.sql.Blob |
getBlob(int i)
This method returns the value of the specified parameter as a Java Blob. |
java.sql.Blob |
getBlob(java.lang.String str)
This method returns the value of the specified parameter as a Java Blob. |
boolean |
getBoolean(int parameterIndex)
This method returns the value of the specified parameter as a Java boolean. |
boolean |
getBoolean(java.lang.String str)
This method returns the value of the specified parameter as a Java boolean. |
byte |
getByte(int parameterIndex)
This method returns the value of the specified parameter as a Java byte. |
byte |
getByte(java.lang.String str)
This method returns the value of the specified parameter as a Java byte. |
byte[] |
getBytes(int parameterIndex)
This method returns the value of the specified parameter as a Java byte array. |
byte[] |
getBytes(java.lang.String str)
This method returns the value of the specified parameter as a Java byte array. |
java.sql.Clob |
getClob(int i)
This method returns the value of the specified parameter as a Java Clob. |
java.sql.Clob |
getClob(java.lang.String str)
This method returns the value of the specified parameter as a Java Clob. |
java.sql.Date |
getDate(int parameterIndex)
This method returns the value of the specified parameter as a Java java.sql.Date. |
java.sql.Date |
getDate(int parameterIndex,
java.util.Calendar cal)
This method returns the value of the specified parameter as a Java java.sql.Date. |
java.sql.Date |
getDate(java.lang.String str)
This method returns the value of the specified parameter as a Java java.sql.Date. |
java.sql.Date |
getDate(java.lang.String str,
java.util.Calendar calendar)
This method returns the value of the specified parameter as a Java java.sql.Date. |
double |
getDouble(int parameterIndex)
This method returns the value of the specified parameter as a Java double. |
double |
getDouble(java.lang.String str)
This method returns the value of the specified parameter as a Java double. |
float |
getFloat(int parameterIndex)
This method returns the value of the specified parameter as a Java float. |
float |
getFloat(java.lang.String str)
This method returns the value of the specified parameter as a Java float. |
int |
getInt(int parameterIndex)
This method returns the value of the specified parameter as a Java int. |
int |
getInt(java.lang.String str)
This method returns the value of the specified parameter as a Java int. |
long |
getLong(int parameterIndex)
This method returns the value of the specified parameter as a Java long. |
long |
getLong(java.lang.String str)
This method returns the value of the specified parameter as a Java long. |
java.lang.Object |
getObject(int parameterIndex)
This method returns the value of the specified parameter as a Java Object. |
java.lang.Object |
getObject(int i,
java.util.Map map)
This method returns the value of the specified parameter as a Java Object. |
java.lang.Object |
getObject(java.lang.String str)
This method returns the value of the specified parameter as a Java Object. |
java.lang.Object |
getObject(java.lang.String str,
java.util.Map map)
This method returns the value of the specified parameter as a Java Object using the specified mapping for conversion from
SQL to Java types. |
java.sql.Ref |
getRef(int i)
This method returns the value of the specified parameter as a Java Ref. |
java.sql.Ref |
getRef(java.lang.String str)
This method returns the value of the specified parameter as a Java Ref. |
short |
getShort(int parameterIndex)
This method returns the value of the specified parameter as a Java short. |
short |
getShort(java.lang.String str)
This method returns the value of the specified parameter as a Java short. |
java.lang.String |
getString(int parameterIndex)
This method returns the value of the specified parameter as a Java String. |
java.lang.String |
getString(java.lang.String str)
This method returns the value of the specified parameter as a Java String. |
java.sql.Time |
getTime(int parameterIndex)
This method returns the value of the specified parameter as a Java java.sql.Time. |
java.sql.Time |
getTime(int parameterIndex,
java.util.Calendar cal)
This method returns the value of the specified parameter as a Java java.sql.Time. |
java.sql.Time |
getTime(java.lang.String str)
This method returns the value of the specified parameter as a Java java.sql.Time. |
java.sql.Time |
getTime(java.lang.String str,
java.util.Calendar calendar)
This method returns the value of the specified parameter as a Java java.sql.Time. |
java.sql.Timestamp |
getTimestamp(int parameterIndex)
This method returns the value of the specified parameter as a Java java.sql.Timestamp. |
java.sql.Timestamp |
getTimestamp(int parameterIndex,
java.util.Calendar cal)
This method returns the value of the specified parameter as a Java java.sql.Timestamp. |
java.sql.Timestamp |
getTimestamp(java.lang.String str)
This method returns the value of the specified parameter as a Java java.sql.Timestamp. |
java.sql.Timestamp |
getTimestamp(java.lang.String str,
java.util.Calendar calendar)
This method returns the value of the specified parameter as a Java java.sql.Timestamp. |
java.net.URL |
getURL(int param)
This method returns the value of the specified parameter as a Java java.net.URL. |
java.net.URL |
getURL(java.lang.String str)
This method returns the value of the specified parameter as a Java java.net.URL. |
void |
registerOutParameter(int parameterIndex,
int sqlType)
This method registers the specified parameter as an output parameter of the specified SQL type. |
void |
registerOutParameter(int parameterIndex,
int sqlType,
int scale)
This method registers the specified parameter as an output parameter of the specified SQL type and scale. |
void |
registerOutParameter(int paramIndex,
int sqlType,
java.lang.String typeName)
This method registers the specified parameter as an output parameter of the specified SQL type. |
void |
registerOutParameter(java.lang.String str,
int param)
This method registers the specified parameter as an output parameter of the specified SQL type. |
void |
registerOutParameter(java.lang.String str,
int param,
int param2)
This method registers the specified parameter as an output parameter of the specified SQL type. |
void |
registerOutParameter(java.lang.String str,
int param,
java.lang.String str2)
This method registers the specified parameter as an output parameter of the specified SQL type. |
void |
setAsciiStream(java.lang.String str,
java.io.InputStream inputStream,
int param)
This method sets the specified parameter from the given Java ASCII InputStream value. |
void |
setBigDecimal(java.lang.String str,
java.math.BigDecimal bigDecimal)
This method sets the specified parameter from the given Java BigDecimal value. |
void |
setBinaryStream(java.lang.String str,
java.io.InputStream inputStream,
int param)
This method sets the specified parameter from the given Java binary InputStream value. |
void |
setBoolean(java.lang.String str,
boolean param)
This method sets the specified parameter from the given Java boolean value. |
void |
setByte(java.lang.String str,
byte param)
This method sets the specified parameter from the given Java byte value. |
void |
setBytes(java.lang.String str,
byte[] values)
This method sets the specified parameter from the given Java byte array value. |
void |
setCharacterStream(java.lang.String str,
java.io.Reader reader,
int param)
This method sets the specified parameter from the given Java character Reader value. |
void |
setDate(java.lang.String str,
java.sql.Date date)
This method sets the specified parameter from the given Java java.sql.Date value. |
void |
setDate(java.lang.String str,
java.sql.Date date,
java.util.Calendar calendar)
This method sets the specified parameter from the given Java java.sql.Date value. |
void |
setDouble(java.lang.String str,
double param)
This method sets the specified parameter from the given Java double value. |
void |
setFloat(java.lang.String str,
float param)
This method sets the specified parameter from the given Java float value. |
void |
setInt(java.lang.String str,
int param)
This method sets the specified parameter from the given Java int value. |
void |
setLong(java.lang.String str,
long param)
This method sets the specified parameter from the given Java long value. |
void |
setNull(java.lang.String str,
int param)
This method populates the specified parameter with a SQL NULL value for the specified type. |
void |
setNull(java.lang.String str,
int param,
java.lang.String str2)
This method populates the specified parameter with a SQL NULL value for the specified type. |
void |
setObject(java.lang.String str,
java.lang.Object obj)
This method sets the specified parameter from the given Java Object value. |
void |
setObject(java.lang.String str,
java.lang.Object obj,
int param)
This method sets the specified parameter from the given Java Object value. |
void |
setObject(java.lang.String str,
java.lang.Object obj,
int param,
int param3)
This method sets the specified parameter from the given Java Object value. |
void |
setShort(java.lang.String str,
short param)
This method sets the specified parameter from the given Java short value. |
void |
setString(java.lang.String str,
java.lang.String str1)
This method sets the specified parameter from the given Java String value. |
void |
setTime(java.lang.String str,
java.sql.Time time)
This method sets the specified parameter from the given Java java.sql.Time value. |
void |
setTime(java.lang.String str,
java.sql.Time time,
java.util.Calendar calendar)
This method sets the specified parameter from the given Java java.sql.Time value. |
void |
setTimestamp(java.lang.String str,
java.sql.Timestamp timestamp)
This method sets the specified parameter from the given Java java.sql.Timestamp value. |
void |
setTimestamp(java.lang.String str,
java.sql.Timestamp timestamp,
java.util.Calendar calendar)
This method sets the specified parameter from the given Java java.sql.Timestamp value. |
void |
setURL(java.lang.String str,
java.net.URL uRL)
This method sets the value of the specified parameter to the specified java.net.URL |
boolean |
wasNull()
This method tests whether the value of the last parameter that was fetched was actually a SQL NULL value. |
| Methods inherited from class com.opencms.dbpool.CmsPreparedStatement |
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 java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, 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 |
| Constructor Detail |
CmsCallableStatement
CmsCallableStatement(java.sql.PreparedStatement originalStatement, CmsConnection con)
- The constructor to create a new statement
| Method Detail |
getString
public java.lang.String getString(int parameterIndex) throws java.sql.SQLException
- Description copied from interface:
java.sql.CallableStatement - This method returns the value of the specified parameter as a Java
String.- Specified by:
getStringin interfacejava.sql.CallableStatement
getBoolean
public boolean getBoolean(int parameterIndex)
throws java.sql.SQLException
- Description copied from interface:
java.sql.CallableStatement - This method returns the value of the specified parameter as a Java
boolean.- Specified by:
getBooleanin interfacejava.sql.CallableStatement
getByte
public byte getByte(int parameterIndex)
throws java.sql.SQLException
- Description copied from interface:
java.sql.CallableStatement - This method returns the value of the specified parameter as a Java
byte.- Specified by:
getBytein interfacejava.sql.CallableStatement
getShort
public short getShort(int parameterIndex)
throws java.sql.SQLException
- Description copied from interface:
java.sql.CallableStatement - This method returns the value of the specified parameter as a Java
short.- Specified by:
getShortin interfacejava.sql.CallableStatement
getInt
public int getInt(int parameterIndex)
throws java.sql.SQLException
- Description copied from interface:
java.sql.CallableStatement - This method returns the value of the specified parameter as a Java
int.- Specified by:
getIntin interfacejava.sql.CallableStatement
getLong
public long getLong(int parameterIndex)
throws java.sql.SQLException
- Description copied from interface:
java.sql.CallableStatement - This method returns the value of the specified parameter as a Java
long.- Specified by:
getLongin interfacejava.sql.CallableStatement
getFloat
public float getFloat(int parameterIndex)
throws java.sql.SQLException
- Description copied from interface:
java.sql.CallableStatement - This method returns the value of the specified parameter as a Java
float.- Specified by:
getFloatin interfacejava.sql.CallableStatement
getDouble
public double getDouble(int parameterIndex)
throws java.sql.SQLException
- Description copied from interface:
java.sql.CallableStatement - This method returns the value of the specified parameter as a Java
double.- Specified by:
getDoublein interfacejava.sql.CallableStatement
getBigDecimal
public java.math.BigDecimal getBigDecimal(int parameterIndex, int scale) throws java.sql.SQLException
- Deprecated. This is deprecated in JDBC 3.0 but still must be implemented
- Description copied from interface:
java.sql.CallableStatement- This method returns the value of the specified parameter as a Java
BigDecimal.- Specified by:
getBigDecimalin interfacejava.sql.CallableStatement
- Description copied from interface:
getBytes
public byte[] getBytes(int parameterIndex)
throws java.sql.SQLException
- Description copied from interface:
java.sql.CallableStatement - This method returns the value of the specified parameter as a Java
byte array.
- Specified by:
getBytesin interfacejava.sql.CallableStatement
getDate
public java.sql.Date getDate(int parameterIndex) throws java.sql.SQLException
- Description copied from interface:
java.sql.CallableStatement - This method returns the value of the specified parameter as a Java
java.sql.Date.- Specified by:
getDatein interfacejava.sql.CallableStatement
getTime
public java.sql.Time getTime(int parameterIndex) throws java.sql.SQLException
- Description copied from interface:
java.sql.CallableStatement - This method returns the value of the specified parameter as a Java
java.sql.Time.- Specified by:
getTimein interfacejava.sql.CallableStatement
getTimestamp
public java.sql.Timestamp getTimestamp(int parameterIndex) throws java.sql.SQLException
- Description copied from interface:
java.sql.CallableStatement - This method returns the value of the specified parameter as a Java
java.sql.Timestamp.- Specified by:
getTimestampin interfacejava.sql.CallableStatement
getObject
public java.lang.Object getObject(int parameterIndex) throws java.sql.SQLException
- Description copied from interface:
java.sql.CallableStatement - This method returns the value of the specified parameter as a Java
Object.- Specified by:
getObjectin interfacejava.sql.CallableStatement
getBigDecimal
public java.math.BigDecimal getBigDecimal(int parameterIndex) throws java.sql.SQLException
- Description copied from interface:
java.sql.CallableStatement - This method returns the value of the specified parameter as a Java
BigDecimal.- Specified by:
getBigDecimalin interfacejava.sql.CallableStatement
getObject
public java.lang.Object getObject(int i, java.util.Map map) throws java.sql.SQLException
- Description copied from interface:
java.sql.CallableStatement - This method returns the value of the specified parameter as a Java
Object.- Specified by:
getObjectin interfacejava.sql.CallableStatement
getRef
public java.sql.Ref getRef(int i) throws java.sql.SQLException
- Description copied from interface:
java.sql.CallableStatement - This method returns the value of the specified parameter as a Java
Ref.- Specified by:
getRefin interfacejava.sql.CallableStatement
getBlob
public java.sql.Blob getBlob(int i) throws java.sql.SQLException
- Description copied from interface:
java.sql.CallableStatement - This method returns the value of the specified parameter as a Java
Blob.- Specified by:
getBlobin interfacejava.sql.CallableStatement
getClob
public java.sql.Clob getClob(int i) throws java.sql.SQLException
- Description copied from interface:
java.sql.CallableStatement - This method returns the value of the specified parameter as a Java
Clob.- Specified by:
getClobin interfacejava.sql.CallableStatement
getArray
public java.sql.Array getArray(int i) throws java.sql.SQLException
- Description copied from interface:
java.sql.CallableStatement - This method returns the value of the specified parameter as a Java
Array.- Specified by:
getArrayin interfacejava.sql.CallableStatement
getDate
public java.sql.Date getDate(int parameterIndex, java.util.Calendar cal) throws java.sql.SQLException
- Description copied from interface:
java.sql.CallableStatement - This method returns the value of the specified parameter as a Java
java.sql.Date.- Specified by:
getDatein interfacejava.sql.CallableStatement
getTime
public java.sql.Time getTime(int parameterIndex, java.util.Calendar cal) throws java.sql.SQLException
- Description copied from interface:
java.sql.CallableStatement - This method returns the value of the specified parameter as a Java
java.sql.Time.- Specified by:
getTimein interfacejava.sql.CallableStatement
getTimestamp
public java.sql.Timestamp getTimestamp(int parameterIndex, java.util.Calendar cal) throws java.sql.SQLException
- Description copied from interface:
java.sql.CallableStatement - This method returns the value of the specified parameter as a Java
java.sql.Timestamp.- Specified by:
getTimestampin interfacejava.sql.CallableStatement
wasNull
public boolean wasNull()
throws java.sql.SQLException
- Description copied from interface:
java.sql.CallableStatement - This method tests whether the value of the last parameter that was fetched
was actually a SQL NULL value.
- Specified by:
wasNullin interfacejava.sql.CallableStatement
registerOutParameter
public void registerOutParameter(int paramIndex,
int sqlType,
java.lang.String typeName)
throws java.sql.SQLException
- Description copied from interface:
java.sql.CallableStatement - This method registers the specified parameter as an output parameter
of the specified SQL type.
- Specified by:
registerOutParameterin interfacejava.sql.CallableStatement
registerOutParameter
public void registerOutParameter(int parameterIndex,
int sqlType)
throws java.sql.SQLException
- Description copied from interface:
java.sql.CallableStatement - This method registers the specified parameter as an output parameter
of the specified SQL type.
- Specified by:
registerOutParameterin interfacejava.sql.CallableStatement
registerOutParameter
public void registerOutParameter(int parameterIndex,
int sqlType,
int scale)
throws java.sql.SQLException
- Description copied from interface:
java.sql.CallableStatement - This method registers the specified parameter as an output parameter
of the specified SQL type and scale.
- Specified by:
registerOutParameterin interfacejava.sql.CallableStatement
getArray
public java.sql.Array getArray(java.lang.String str) throws java.sql.SQLException
- Description copied from interface:
java.sql.CallableStatement - This method returns the value of the specified parameter as a Java
Array.- Specified by:
getArrayin interfacejava.sql.CallableStatement
getBigDecimal
public java.math.BigDecimal getBigDecimal(java.lang.String str) throws java.sql.SQLException
- Description copied from interface:
java.sql.CallableStatement - This method returns the value of the specified parameter as a Java
BigDecimal.- Specified by:
getBigDecimalin interfacejava.sql.CallableStatement
getBlob
public java.sql.Blob getBlob(java.lang.String str) throws java.sql.SQLException
- Description copied from interface:
java.sql.CallableStatement - This method returns the value of the specified parameter as a Java
Blob.- Specified by:
getBlobin interfacejava.sql.CallableStatement
getBoolean
public boolean getBoolean(java.lang.String str) throws java.sql.SQLException
- Description copied from interface:
java.sql.CallableStatement - This method returns the value of the specified parameter as a Java
boolean.- Specified by:
getBooleanin interfacejava.sql.CallableStatement
getByte
public byte getByte(java.lang.String str) throws java.sql.SQLException
- Description copied from interface:
java.sql.CallableStatement - This method returns the value of the specified parameter as a Java
byte.- Specified by:
getBytein interfacejava.sql.CallableStatement
getBytes
public byte[] getBytes(java.lang.String str) throws java.sql.SQLException
- Description copied from interface:
java.sql.CallableStatement - This method returns the value of the specified parameter as a Java
bytearray.- Specified by:
getBytesin interfacejava.sql.CallableStatement
getClob
public java.sql.Clob getClob(java.lang.String str) throws java.sql.SQLException
- Description copied from interface:
java.sql.CallableStatement - This method returns the value of the specified parameter as a Java
Clob.- Specified by:
getClobin interfacejava.sql.CallableStatement
getDate
public java.sql.Date getDate(java.lang.String str) throws java.sql.SQLException
- Description copied from interface:
java.sql.CallableStatement - This method returns the value of the specified parameter as a Java
java.sql.Date.- Specified by:
getDatein interfacejava.sql.CallableStatement
getDate
public java.sql.Date getDate(java.lang.String str, java.util.Calendar calendar) throws java.sql.SQLException
- Description copied from interface:
java.sql.CallableStatement - This method returns the value of the specified parameter as a Java
java.sql.Date.- Specified by:
getDatein interfacejava.sql.CallableStatement
getDouble
public double getDouble(java.lang.String str) throws java.sql.SQLException
- Description copied from interface:
java.sql.CallableStatement - This method returns the value of the specified parameter as a Java
double.- Specified by:
getDoublein interfacejava.sql.CallableStatement
getFloat
public float getFloat(java.lang.String str) throws java.sql.SQLException
- Description copied from interface:
java.sql.CallableStatement - This method returns the value of the specified parameter as a Java
float.- Specified by:
getFloatin interfacejava.sql.CallableStatement
getInt
public int getInt(java.lang.String str) throws java.sql.SQLException
- Description copied from interface:
java.sql.CallableStatement - This method returns the value of the specified parameter as a Java
int.- Specified by:
getIntin interfacejava.sql.CallableStatement
getLong
public long getLong(java.lang.String str) throws java.sql.SQLException
- Description copied from interface:
java.sql.CallableStatement - This method returns the value of the specified parameter as a Java
long.- Specified by:
getLongin interfacejava.sql.CallableStatement
getObject
public java.lang.Object getObject(java.lang.String str) throws java.sql.SQLException
- Description copied from interface:
java.sql.CallableStatement - This method returns the value of the specified parameter as a Java
Object.- Specified by:
getObjectin interfacejava.sql.CallableStatement
getObject
public java.lang.Object getObject(java.lang.String str, java.util.Map map) throws java.sql.SQLException
- Description copied from interface:
java.sql.CallableStatement - This method returns the value of the specified parameter as a Java
Objectusing the specified mapping for conversion from SQL to Java types.- Specified by:
getObjectin interfacejava.sql.CallableStatement
getRef
public java.sql.Ref getRef(java.lang.String str) throws java.sql.SQLException
- Description copied from interface:
java.sql.CallableStatement - This method returns the value of the specified parameter as a Java
Ref.- Specified by:
getRefin interfacejava.sql.CallableStatement
getShort
public short getShort(java.lang.String str) throws java.sql.SQLException
- Description copied from interface:
java.sql.CallableStatement - This method returns the value of the specified parameter as a Java
short.- Specified by:
getShortin interfacejava.sql.CallableStatement
getString
public java.lang.String getString(java.lang.String str) throws java.sql.SQLException
- Description copied from interface:
java.sql.CallableStatement - This method returns the value of the specified parameter as a Java
String.- Specified by:
getStringin interfacejava.sql.CallableStatement
getTime
public java.sql.Time getTime(java.lang.String str) throws java.sql.SQLException
- Description copied from interface:
java.sql.CallableStatement - This method returns the value of the specified parameter as a Java
java.sql.Time.- Specified by:
getTimein interfacejava.sql.CallableStatement
getTime
public java.sql.Time getTime(java.lang.String str, java.util.Calendar calendar) throws java.sql.SQLException
- Description copied from interface:
java.sql.CallableStatement - This method returns the value of the specified parameter as a Java
java.sql.Time.- Specified by:
getTimein interfacejava.sql.CallableStatement
getTimestamp
public java.sql.Timestamp getTimestamp(java.lang.String str) throws java.sql.SQLException
- Description copied from interface:
java.sql.CallableStatement - This method returns the value of the specified parameter as a Java
java.sql.Timestamp.- Specified by:
getTimestampin interfacejava.sql.CallableStatement
getTimestamp
public java.sql.Timestamp getTimestamp(java.lang.String str, java.util.Calendar calendar) throws java.sql.SQLException
- Description copied from interface:
java.sql.CallableStatement - This method returns the value of the specified parameter as a Java
java.sql.Timestamp.- Specified by:
getTimestampin interfacejava.sql.CallableStatement
getURL
public java.net.URL getURL(int param) throws java.sql.SQLException
- Description copied from interface:
java.sql.CallableStatement - This method returns the value of the specified parameter as a Java
java.net.URL.- Specified by:
getURLin interfacejava.sql.CallableStatement
getURL
public java.net.URL getURL(java.lang.String str) throws java.sql.SQLException
- Description copied from interface:
java.sql.CallableStatement - This method returns the value of the specified parameter as a Java
java.net.URL.- Specified by:
getURLin interfacejava.sql.CallableStatement
registerOutParameter
public void registerOutParameter(java.lang.String str, int param) throws java.sql.SQLException
- Description copied from interface:
java.sql.CallableStatement - This method registers the specified parameter as an output parameter
of the specified SQL type.
- Specified by:
registerOutParameterin interfacejava.sql.CallableStatement
registerOutParameter
public void registerOutParameter(java.lang.String str, int param, int param2) throws java.sql.SQLException
- Description copied from interface:
java.sql.CallableStatement - This method registers the specified parameter as an output parameter
of the specified SQL type. This version of registerOutParameter is used
for NUMERIC or DECIMAL types.
- Specified by:
registerOutParameterin interfacejava.sql.CallableStatement
registerOutParameter
public void registerOutParameter(java.lang.String str, int param, java.lang.String str2) throws java.sql.SQLException
- Description copied from interface:
java.sql.CallableStatement - This method registers the specified parameter as an output parameter
of the specified SQL type. This version of registerOutParameter is used
for user-named or REF types. If the type of the output parameter does
not have such a type, the typeName argument is ignored.
- Specified by:
registerOutParameterin interfacejava.sql.CallableStatement
setAsciiStream
public void setAsciiStream(java.lang.String str, java.io.InputStream inputStream, int param) throws java.sql.SQLException
- Description copied from interface:
java.sql.CallableStatement - This method sets the specified parameter from the given Java
ASCII
InputStreamvalue.- Specified by:
setAsciiStreamin interfacejava.sql.CallableStatement
setBigDecimal
public void setBigDecimal(java.lang.String str, java.math.BigDecimal bigDecimal) throws java.sql.SQLException
- Description copied from interface:
java.sql.CallableStatement - This method sets the specified parameter from the given Java
BigDecimalvalue.- Specified by:
setBigDecimalin interfacejava.sql.CallableStatement
setBinaryStream
public void setBinaryStream(java.lang.String str, java.io.InputStream inputStream, int param) throws java.sql.SQLException
- Description copied from interface:
java.sql.CallableStatement - This method sets the specified parameter from the given Java
binary
InputStreamvalue.- Specified by:
setBinaryStreamin interfacejava.sql.CallableStatement
setBoolean
public void setBoolean(java.lang.String str, boolean param) throws java.sql.SQLException
- Description copied from interface:
java.sql.CallableStatement - This method sets the specified parameter from the given Java
booleanvalue.- Specified by:
setBooleanin interfacejava.sql.CallableStatement
setByte
public void setByte(java.lang.String str, byte param) throws java.sql.SQLException
- Description copied from interface:
java.sql.CallableStatement - This method sets the specified parameter from the given Java
bytevalue.- Specified by:
setBytein interfacejava.sql.CallableStatement
setBytes
public void setBytes(java.lang.String str, byte[] values) throws java.sql.SQLException
- Description copied from interface:
java.sql.CallableStatement - This method sets the specified parameter from the given Java
bytearray value.- Specified by:
setBytesin interfacejava.sql.CallableStatement
setCharacterStream
public void setCharacterStream(java.lang.String str, java.io.Reader reader, int param) throws java.sql.SQLException
- Description copied from interface:
java.sql.CallableStatement - This method sets the specified parameter from the given Java
character
Readervalue.- Specified by:
setCharacterStreamin interfacejava.sql.CallableStatement
setDate
public void setDate(java.lang.String str, java.sql.Date date) throws java.sql.SQLException
- Description copied from interface:
java.sql.CallableStatement - This method sets the specified parameter from the given Java
java.sql.Datevalue.- Specified by:
setDatein interfacejava.sql.CallableStatement
setDate
public void setDate(java.lang.String str, java.sql.Date date, java.util.Calendar calendar) throws java.sql.SQLException
- Description copied from interface:
java.sql.CallableStatement - This method sets the specified parameter from the given Java
java.sql.Datevalue.- Specified by:
setDatein interfacejava.sql.CallableStatement
setDouble
public void setDouble(java.lang.String str, double param) throws java.sql.SQLException
- Description copied from interface:
java.sql.CallableStatement - This method sets the specified parameter from the given Java
doublevalue.- Specified by:
setDoublein interfacejava.sql.CallableStatement
setFloat
public void setFloat(java.lang.String str, float param) throws java.sql.SQLException
- Description copied from interface:
java.sql.CallableStatement - This method sets the specified parameter from the given Java
floatvalue.- Specified by:
setFloatin interfacejava.sql.CallableStatement
setInt
public void setInt(java.lang.String str, int param) throws java.sql.SQLException
- Description copied from interface:
java.sql.CallableStatement - This method sets the specified parameter from the given Java
intvalue.- Specified by:
setIntin interfacejava.sql.CallableStatement
setLong
public void setLong(java.lang.String str, long param) throws java.sql.SQLException
- Description copied from interface:
java.sql.CallableStatement - This method sets the specified parameter from the given Java
longvalue.- Specified by:
setLongin interfacejava.sql.CallableStatement
setNull
public void setNull(java.lang.String str, int param) throws java.sql.SQLException
- Description copied from interface:
java.sql.CallableStatement - This method populates the specified parameter with a SQL NULL value
for the specified type.
- Specified by:
setNullin interfacejava.sql.CallableStatement
setNull
public void setNull(java.lang.String str, int param, java.lang.String str2) throws java.sql.SQLException
- Description copied from interface:
java.sql.CallableStatement - This method populates the specified parameter with a SQL NULL value
for the specified type.
- Specified by:
setNullin interfacejava.sql.CallableStatement
setObject
public void setObject(java.lang.String str, java.lang.Object obj) throws java.sql.SQLException
- Description copied from interface:
java.sql.CallableStatement - This method sets the specified parameter from the given Java
Objectvalue. The default object type to SQL type mapping will be used.- Specified by:
setObjectin interfa
JAVADOC