|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.derby.impl.jdbc.ConnectionChild
org.apache.derby.impl.jdbc.EmbedStatement
org.apache.derby.impl.jdbc.EmbedPreparedStatement
org.apache.derby.impl.jdbc.EmbedCallableStatement
org.apache.derby.impl.jdbc.EmbedCallableStatement20
public abstract class EmbedCallableStatement20
This class extends the EmbedCallableStatement class in order to support new methods and classes that come with JDBC 2.0.
EmbedCallableStatement
Field Summary |
---|
Fields inherited from class org.apache.derby.impl.jdbc.EmbedCallableStatement |
---|
wasNull |
Fields inherited from class org.apache.derby.impl.jdbc.EmbedPreparedStatement |
---|
preparedStatement, rMetaData |
Fields inherited from class org.apache.derby.impl.jdbc.EmbedStatement |
---|
applicationStatement, batchStatements, isPoolable, lcc, MaxFieldSize, maxRows, results, resultSetConcurrency, resultSetType, SQLText, timeoutMillis, updateCount |
Fields inherited from class org.apache.derby.impl.jdbc.ConnectionChild |
---|
factory, localConn |
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 | |
---|---|
EmbedCallableStatement20(EmbedConnection conn,
java.lang.String sql,
int resultSetType,
int resultSetConcurrency,
int resultSetHoldability)
|
Method Summary | |
---|---|
java.sql.Array |
getArray(int i)
JDBC 2.0 Get an Array OUT parameter. |
java.sql.Array |
getArray(java.lang.String parameterName)
JDBC 3.0 Retrieves the value of a JDBC ARRAY parameter as an Array object in the Java programming language. |
java.math.BigDecimal |
getBigDecimal(int parameterIndex)
JDBC 2.0 Get the value of a NUMERIC parameter as a java.math.BigDecimal object. |
java.math.BigDecimal |
getBigDecimal(int parameterIndex,
int scale)
Deprecated. |
java.math.BigDecimal |
getBigDecimal(java.lang.String parameterName)
JDBC 3.0 Retrieves the value of a JDBC NUMERIC parameter as a java.math.BigDecimal object with as many digits to the right of the decimal point as the value contains |
private java.io.InputStream |
getBinaryStream(int parameterIndex)
Get binary stream for a parameter. |
java.sql.Blob |
getBlob(java.lang.String parameterName)
JDBC 3.0 Retrieves the value of a JDBC BLOB parameter as a Blob object in the Java programming language. |
boolean |
getBoolean(java.lang.String parameterName)
JDBC 3.0 Retrieves the value of a JDBC BIT parameter as a boolean in the Java programming language. |
byte |
getByte(java.lang.String parameterName)
JDBC 3.0 Retrieves the value of a JDBC TINYINT parameter as a byte in the Java programming language. |
byte[] |
getBytes(java.lang.String parameterName)
JDBC 3.0 Retrieves the value of a JDBC BINARY or VARBINARY parameter as an array of byte values in the Java programming language. |
java.io.Reader |
getCharacterStream(int parameterIndex)
Retrieves the value of the designated parameter as a java.io.Reader object in the Java programming language. |
java.sql.Clob |
getClob(java.lang.String parameterName)
JDBC 3.0 Retrieves the value of a JDBC CLOB parameter as a Clob object in the Java programming language. |
java.sql.Date |
getDate(java.lang.String parameterName)
JDBC 3.0 Retrieves the value of a JDBC DATE parameter as ajava.sql.Date object |
java.sql.Date |
getDate(java.lang.String parameterName,
java.util.Calendar cal)
JDBC 3.0 Retrieves the value of a JDBC DATE parameter as a java.sql.Date object, using the given Calendar object to construct the date object. |
double |
getDouble(java.lang.String parameterName)
JDBC 3.0 Retrieves the value of a JDBC DOUBLE parameter as a double in the Java programming language. |
float |
getFloat(java.lang.String parameterName)
JDBC 3.0 Retrieves the value of a JDBC FLOAT parameter as a float in the Java programming language. |
int |
getInt(java.lang.String parameterName)
JDBC 3.0 Retrieves the value of a JDBC INTEGER parameter as a int in the Java programming language. |
long |
getLong(java.lang.String parameterName)
JDBC 3.0 Retrieves the value of a JDBC BIGINT parameter as a long in the Java programming language. |
java.lang.Object |
getObject(int i,
java.util.Map map)
JDBC 2.0 Returns an object representing the value of OUT parameter @i. |
java.lang.Object |
getObject(java.lang.String parameterName)
JDBC 3.0 Retrieves the value of a parameter as an Object in the java programming language. |
java.lang.Object |
getObject(java.lang.String parameterName,
java.util.Map map)
JDBC 3.0 Returns an object representing the value of OUT parameter i and uses map for the custom mapping of the parameter value. |
java.sql.Ref |
getRef(int i)
JDBC 2.0 Get a REF(<structured-type>) OUT parameter. |
java.sql.Ref |
getRef(java.lang.String parameterName)
JDBC 3.0 Retrieves the value of a JDBC REF ( |
short |
getShort(java.lang.String parameterName)
JDBC 3.0 Retrieves the value of a JDBC SMALLINT parameter as a short in the Java programming language. |
java.lang.String |
getString(java.lang.String parameterName)
JDBC 3.0 Retrieves the value of a JDBC CHAR, VARCHAR, or LONGVARCHAR parameter as a String in the Java programming language. |
java.sql.Time |
getTime(java.lang.String parameterName)
JDBC 3.0 Retrieves the value of a JDBC TIME parameter as ajava.sql.Time object |
java.sql.Time |
getTime(java.lang.String parameterName,
java.util.Calendar cal)
JDBC 3.0 Retrieves the value of a JDBC TIME parameter as a java.sql.Time object, using the given Calendar object to construct the time object. |
java.sql.Timestamp |
getTimestamp(java.lang.String parameterName)
JDBC 3.0 Retrieves the value of a JDBC TIMESTAMP parameter as a java.sql.Timestamp object |
java.sql.Timestamp |
getTimestamp(java.lang.String parameterName,
java.util.Calendar cal)
JDBC 3.0 Retrieves the value of a JDBC TIMESTAMP parameter as a java.sql.Timestamp object, using the given Calendar object to construct the Timestamp object. |
void |
registerOutParameter(java.lang.String parameterName,
int sqlType)
JDBC 3.0 Registers the OUT parameter named parameterName to the JDBC type sqlType. |
void |
registerOutParameter(java.lang.String parameterName,
int sqlType,
int scale)
JDBC 3.0 Registers the parameter named parameterName to the JDBC type sqlType. |
void |
registerOutParameter(java.lang.String parameterName,
int sqlType,
java.lang.String typeName)
JDBC 3.0 Registers the designated output parameter. |
void |
setArray(int i,
java.sql.Array x)
JDBC 2.0 Set an Array parameter. |
void |
setAsciiStream(java.lang.String parameterName,
java.io.InputStream x,
int length)
JDBC 3.0 Sets the designated parameter to the given input stream, which will have the specified number of bytes. |
void |
setBigDecimal(int parameterIndex,
java.math.BigDecimal x)
Set a parameter to a java.lang.BigDecimal value. |
void |
setBigDecimal(java.lang.String parameterName,
java.math.BigDecimal x)
JDBC 3.0 Sets the designated parameter to the given java.math.BigDecimal value. |
void |
setBinaryStream(java.lang.String parameterName,
java.io.InputStream x,
int length)
JDBC 3.0 Sets the designated parameter to the given input stream, which will have the specified number of bytes. |
void |
setBoolean(java.lang.String parameterName,
boolean x)
JDBC 3.0 Sets the designated parameter to the given Java boolean value. |
void |
setByte(java.lang.String parameterName,
byte x)
JDBC 3.0 Sets the designated parameter to the given Java byte value. |
void |
setBytes(java.lang.String parameterName,
byte[] x)
JDBC 3.0 Sets the designated parameter to the given Java array of bytes. |
void |
setCharacterStream(java.lang.String parameterName,
java.io.Reader reader,
int length)
JDBC 3.0 Sets the designated parameter to the given Reader object, which is the given number of characters long. |
void |
setDate(java.lang.String parameterName,
java.sql.Date x)
JDBC 3.0 Sets the designated parameter to the given java.sql.Date value. |
void |
setDate(java.lang.String parameterName,
java.sql.Date x,
java.util.Calendar cal)
JDBC 3.0 Sets the designated parameter to the given java.sql.Date value, using the given Calendar object. |
void |
setDouble(java.lang.String parameterName,
double x)
JDBC 3.0 Sets the designated parameter to the given Java double value. |
void |
setFloat(java.lang.String parameterName,
float x)
JDBC 3.0 Sets the designated parameter to the given Java float value. |
void |
setInt(java.lang.String parameterName,
int x)
JDBC 3.0 Sets the designated parameter to the given Java int value. |
void |
setLong(java.lang.String parameterName,
long x)
JDBC 3.0 Sets the designated parameter to the given Java long value. |
void |
setNull(java.lang.String parameterName,
int sqlType)
JDBC 3.0 Sets the designated parameter to SQL NULL. |
void |
setNull(java.lang.String parameterName,
int sqlType,
java.lang.String typeName)
JDBC 3.0 Sets the designated parameter to SQL NULL. |
void |
setObject(java.lang.String parameterName,
java.lang.Object x)
JDBC 3.0 Sets the value of the designated parameter with the given object. |
void |
setObject(java.lang.String parameterName,
java.lang.Object x,
int targetSqlType)
JDBC 3.0 Sets the value of the designated parameter with the given object. |
void |
setObject(java.lang.String parameterName,
java.lang.Object x,
int targetSqlType,
int scale)
JDBC 3.0 Sets the value of the designated parameter with the given object. |
(package private) boolean |
setObjectConvert(int parameterIndex,
java.lang.Object x)
Allow explict setObject conversions by sub-classes for classes not supported by this variant. |
void |
setRef(int i,
java.sql.Ref x)
JDBC 2.0 Set a REF(<structured-type>) parameter. |
void |
setShort(java.lang.String parameterName,
short x)
JDBC 3.0 Sets the designated parameter to the given Java short value. |
void |
setString(java.lang.String parameterName,
java.lang.String x)
JDBC 3.0 Sets the designated parameter to the given Java String value. |
void |
setTime(java.lang.String parameterName,
java.sql.Time x)
JDBC 3.0 Sets the designated parameter to the given java.sql.Time value. |
void |
setTime(java.lang.String parameterName,
java.sql.Time x,
java.util.Calendar cal)
JDBC 3.0 Sets the designated parameter to the given java.sql.Time value using the Calendar object |
void |
setTimestamp(java.lang.String parameterName,
java.sql.Timestamp x)
JDBC 3.0 Sets the designated parameter to the given java.sql.Timestamp value. |
void |
setTimestamp(java.lang.String parameterName,
java.sql.Timestamp x,
java.util.Calendar cal)
JDBC 3.0 Sets the designated parameter to the given java.sql.Timestamp value, using the given Calendar object |
Methods inherited from class org.apache.derby.impl.jdbc.EmbedCallableStatement |
---|
addBatch, checkRequiresCallableStatement, executeStatement, getBlob, getBoolean, getByte, getBytes, getClob, getDate, getDate, getDouble, getFloat, getInt, getLong, getObject, getShort, getString, getTime, getTime, getTimestamp, getTimestamp, getURL, getURL, registerOutParameter, registerOutParameter, registerOutParameter, setURL, wasNull |
Methods inherited from class org.apache.derby.impl.jdbc.ConnectionChild |
---|
commitIfAutoCommit, commitIfNeeded, getCal, getConnectionSynchronization, getEmbedConnection, handleException, needCommit, newSQLException, newSQLException, newSQLException, restoreContextStack, setupContextStack |
Methods inherited from class java.lang.Object |
---|
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.sql.CallableStatement |
---|
getCharacterStream, getNCharacterStream, getNCharacterStream, getNClob, getNClob, getNString, getNString, getRowId, getRowId, getSQLXML, getSQLXML, setAsciiStream, setAsciiStream, setBinaryStream, setBinaryStream, setBlob, setBlob, setBlob, setCharacterStream, setCharacterStream, setClob, setClob, setClob, setNCharacterStream, setNCharacterStream, setNClob, setNClob, setNClob, setNString, setRowId, setSQLXML |
Methods inherited from interface java.sql.PreparedStatement |
---|
clearParameters, execute, executeQuery, executeUpdate, getMetaData, getParameterMetaData, setAsciiStream, setAsciiStream, setAsciiStream, setBinaryStream, setBinaryStream, setBinaryStream, setBlob, setBlob, setBlob, setBoolean, setByte, setBytes, setCharacterStream, setCharacterStream, setCharacterStream, setClob, setClob, setClob, setDate, setDate, setDouble, setFloat, setInt, setLong, setNCharacterStream, setNCharacterStream, setNClob, setNClob, setNClob, setNString, setNull, setNull, setObject, setObject, setObject, setRowId, setShort, setSQLXML, 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, isClosed, isPoolable, setCursorName, setEscapeProcessing, setFetchDirection, setFetchSize, setMaxFieldSize, setMaxRows, setPoolable, setQueryTimeout |
Methods inherited from interface java.sql.Wrapper |
---|
isWrapperFor, unwrap |
Constructor Detail |
---|
public EmbedCallableStatement20(EmbedConnection conn, java.lang.String sql, int resultSetType, int resultSetConcurrency, int resultSetHoldability) throws java.sql.SQLException
java.sql.SQLException
Method Detail |
---|
public java.math.BigDecimal getBigDecimal(int parameterIndex) throws java.sql.SQLException
parameterIndex
- the first parameter is 1, the second is 2, ...
java.sql.SQLException
- if a database-access error occurs.public java.lang.Object getObject(int i, java.util.Map map) throws java.sql.SQLException
i
- the first parameter is 1, the second is 2, ...map
- the mapping from SQL type names to Java classes
java.sql.SQLException
- if a database-access error occurs.public java.sql.Ref getRef(int i) throws java.sql.SQLException
i
- the first parameter is 1, the second is 2, ...
java.sql.SQLException
- if a database-access error occurs.public java.sql.Array getArray(int i) throws java.sql.SQLException
i
- the first parameter is 1, the second is 2, ...
java.sql.SQLException
- if a database-access error occurs.public void setRef(int i, java.sql.Ref x) throws java.sql.SQLException
i
- the first parameter is 1, the second is 2, ...x
- an object representing data of an SQL REF Type
java.sql.SQLException
- Feature not implemented for now.public void setArray(int i, java.sql.Array x) throws java.sql.SQLException
i
- the first parameter is 1, the second is 2, ...x
- an object representing an SQL array
java.sql.SQLException
- Feature not implemented for now.public void registerOutParameter(java.lang.String parameterName, int sqlType) throws java.sql.SQLException
parameterName
- - the name of the parametersqlType
- - the JDBC type code defined by java.sql.Types. If the
parameter is of JDBC type NUMERIC or DECIMAL, the version of registerOutParameter
that accepts a scale value should be used.
java.sql.SQLException
- Feature not implemented for now.public void registerOutParameter(java.lang.String parameterName, int sqlType, java.lang.String typeName) throws java.sql.SQLException
parameterName
- - the name of the parametersqlType
- - the SQL type code defined by java.sql.Types.typeName
- - the fully-qualified name of an SQL structure type
java.sql.SQLException
- Feature not implemented for now.public void registerOutParameter(java.lang.String parameterName, int sqlType, int scale) throws java.sql.SQLException
parameterName
- - the name of the parametersqlType
- - the SQL type code defined by java.sql.Types.scale
- - the desired number of digits to the right of the decimal point.
It must be greater than or equal to zero.
java.sql.SQLException
- Feature not implemented for now.public java.sql.Ref getRef(java.lang.String parameterName) throws java.sql.SQLException
parameterName
- - the name of the parameter
java.sql.SQLException
- Feature not implemented for now.public java.sql.Blob getBlob(java.lang.String parameterName) throws java.sql.SQLException
parameterName
- - the name of the parameter
java.sql.SQLException
- Feature not implemented for now.public java.sql.Clob getClob(java.lang.String parameterName) throws java.sql.SQLException
parameterName
- - the name of the parameter
java.sql.SQLException
- Feature not implemented for now.public java.sql.Array getArray(java.lang.String parameterName) throws java.sql.SQLException
parameterName
- - the name of the parameter
java.sql.SQLException
- Feature not implemented for now.public void setNull(java.lang.String parameterName, int sqlType) throws java.sql.SQLException
parameterName
- - the name of the parametersqlType
- - the SQL type code defined in java.sql.Types
java.sql.SQLException
- Feature not implemented for now.public void setNull(java.lang.String parameterName, int sqlType, java.lang.String typeName) throws java.sql.SQLException
parameterName
- - the name of the parametersqlType
- - the SQL type code defined in java.sql.TypestypeName
- - the fully-qualified name of an SQL user-defined type
java.sql.SQLException
- Feature not implemented for now.public void setBoolean(java.lang.String parameterName, boolean x) throws java.sql.SQLException
parameterName
- - the name of the parameterx
- - the parameter value
java.sql.SQLException
- Feature not implemented for now.public boolean getBoolean(java.lang.String parameterName) throws java.sql.SQLException
parameterName
- - the name of the parameter
java.sql.SQLException
- Feature not implemented for now.public void setByte(java.lang.String parameterName, byte x) throws java.sql.SQLException
parameterName
- - the name of the parameterx
- - the parameter value
java.sql.SQLException
- Feature not implemented for now.public byte getByte(java.lang.String parameterName) throws java.sql.SQLException
parameterName
- - the name of the parameter
java.sql.SQLException
- Feature not implemented for now.public void setShort(java.lang.String parameterName, short x) throws java.sql.SQLException
parameterName
- - the name of the parameterx
- - the parameter value
java.sql.SQLException
- Feature not implemented for now.public short getShort(java.lang.String parameterName) throws java.sql.SQLException
parameterName
- - the name of the parameter
java.sql.SQLException
- Feature not implemented for now.public void setInt(java.lang.String parameterName, int x) throws java.sql.SQLException
parameterName
- - the name of the parameterx
- - the parameter value
java.sql.SQLException
- Feature not implemented for now.public int getInt(java.lang.String parameterName) throws java.sql.SQLException
parameterName
- - the name of the parameter
java.sql.SQLException
- Feature not implemented for now.public void setLong(java.lang.String parameterName, long x) throws java.sql.SQLException
parameterName
- - the name of the parameterx
- - the parameter value
java.sql.SQLException
- Feature not implemented for now.public long getLong(java.lang.String parameterName) throws java.sql.SQLException
parameterName
- - the name of the parameter
java.sql.SQLException
- Feature not implemented for now.public void setFloat(java.lang.String parameterName, float x) throws java.sql.SQLException
parameterName
- - the name of the parameterx
- - the parameter value
java.sql.SQLException
- Feature not implemented for now.public float getFloat(java.lang.String parameterName) throws java.sql.SQLException
parameterName
- - the name of the parameter
java.sql.SQLException
- Feature not implemented for now.public void setDouble(java.lang.String parameterName, double x) throws java.sql.SQLException
parameterName
- - the name of the parameterx
- - the parameter value
java.sql.SQLException
- Feature not implemented for now.public double getDouble(java.lang.String parameterName) throws java.sql.SQLException
parameterName
- - the name of the parameter
java.sql.SQLException
- Feature not implemented for now.public void setBigDecimal(java.lang.String parameterName, java.math.BigDecimal x) throws java.sql.SQLException
parameterName
- - the name of the parameterx
- - the parameter value
java.sql.SQLException
- Feature not implemented for now.public java.math.BigDecimal getBigDecimal(java.lang.String parameterName) throws java.sql.SQLException
parameterName
- - the name of the parameter
java.sql.SQLException
- Feature not implemented for now.public void setString(java.lang.String parameterName, java.lang.String x) throws java.sql.SQLException
parameterName
- - the name of the parameterx
- - the parameter value
java.sql.SQLException
- Feature not implemented for now.public java.lang.String getString(java.lang.String parameterName) throws java.sql.SQLException
parameterName
- - the name of the parameter
java.sql.SQLException
- Feature not implemented for now.public void setBytes(java.lang.String parameterName, byte[] x) throws java.sql.SQLException
parameterName
- - the name of the parameterx
- - the parameter value
java.sql.SQLException
- Feature not implemented for now.public byte[] getBytes(java.lang.String parameterName) throws java.sql.SQLException
parameterName
- - the name of the parameter
java.sql.SQLException
- Feature not implemented for now.public void setDate(java.lang.String parameterName, java.sql.Date x) throws java.sql.SQLException
parameterName
- - the name of the parameterx
- - the parameter value
java.sql.SQLException
- Feature not implemented for now.public void setDate(java.lang.String parameterName, java.sql.Date x, java.util.Calendar cal) throws java.sql.SQLException
parameterName
- - the name of the parameterx
- - the parameter valuecal
- - the Calendar object the driver will use to construct the date
java.sql.SQLException
- Feature not implemented for now.public java.sql.Date getDate(java.lang.String parameterName) throws java.sql.SQLException
parameterName
- - the name of the parameter
java.sql.SQLException
- Feature not implemented for now.public java.sql.Date getDate(java.lang.String parameterName, java.util.Calendar cal) throws java.sql.SQLException
parameterName
- - the name of the parametercal
- - the Calendar object the driver will use to construct the date
java.sql.SQLException
- Feature not implemented for now.public void setTime(java.lang.String parameterName, java.sql.Time x) throws java.sql.SQLException
parameterName
- - the name of the parameterx
- - the parameter value
java.sql.SQLException
- Feature not implemented for now.public java.sql.Time getTime(java.lang.String parameterName) throws java.sql.SQLException
parameterName
- - the name of the parameter
java.sql.SQLException
- Feature not implemented for now.public java.sql.Time getTime(java.lang.String parameterName, java.util.Calendar cal) throws java.sql.SQLException
parameterName
- - the name of the parametercal
- - the Calendar object the driver will use to construct the time
java.sql.SQLException
- Feature not implemented for now.public void setTime(java.lang.String parameterName, java.sql.Time x, java.util.Calendar cal) throws java.sql.SQLException
parameterName
- - the name of the parameterx
- - the parameter valuecal
- - the Calendar object the driver will use to construct the time
java.sql.SQLException
- Feature not implemented for now.public void setTimestamp(java.lang.String parameterName, java.sql.Timestamp x) throws java.sql.SQLException
parameterName
- - the name of the parameterx
- - the parameter value
java.sql.SQLException
- Feature not implemented for now.public void setTimestamp(java.lang.String parameterName, java.sql.Timestamp x, java.util.Calendar cal) throws java.sql.SQLException
parameterName
- - the name of the parameterx
- - the parameter valuecal
- - the Calendar object the driver will use to construct the timestamp.
java.sql.SQLException
- Feature not implemented for now.public java.sql.Timestamp getTimestamp(java.lang.String parameterName) throws java.sql.SQLException
parameterName
- - the name of the parameter
java.sql.SQLException
- Feature not implemented for now.public java.sql.Timestamp getTimestamp(java.lang.String parameterName, java.util.Calendar cal) throws java.sql.SQLException
parameterName
- - the name of the parametercal
- - the Calendar object the driver will use to construct the Timestamp
java.sql.SQLException
- Feature not implemented for now.public void setAsciiStream(java.lang.String parameterName, java.io.InputStream x, int length) throws java.sql.SQLException
parameterName
- - the name of the parameterx
- - the Java input stream that contains the ASCII parameter valuelength
- - the number of bytes in the stream
java.sql.SQLException
- Feature not implemented for now.public void setBinaryStream(java.lang.String parameterName, java.io.InputStream x, int length) throws java.sql.SQLException
parameterName
- - the name of the parameterx
- - the Java input stream that contains the binary parameter valuelength
- - the number of bytes in the stream
java.sql.SQLException
- Feature not implemented for now.public void setCharacterStream(java.lang.String parameterName, java.io.Reader reader, int length) throws java.sql.SQLException
parameterName
- - the name of the parameterreader
- - the java.io.Reader object that contains the UNICODE datalength
- - the number of characters in the stream
java.sql.SQLException
- Feature not implemented for now.public void setObject(java.lang.String parameterName, java.lang.Object x, int targetSqlType, int scale) throws java.sql.SQLException
parameterName
- - the name of the parameterx
- - the object containing the input parameter valuetargetSqlType
- - the SQL type (as defined in java.sql.Types) to be sent to
the database. The scale argument may further qualify this type.scale
- - for java.sql.Types.DECIMAL or java.sql.Types.NUMERIC types, this
is the number of digits after the decimal point. For all other types, this value
will be ignored.
java.sql.SQLException
- Feature not implemented for now.public java.lang.Object getObject(java.lang.String parameterName) throws java.sql.SQLException
parameterName
- - the name of the parameter
java.sql.SQLException
- Feature not implemented for now.public java.lang.Object getObject(java.lang.String parameterName, java.util.Map map) throws java.sql.SQLException
parameterName
- - the name of the parametermap
- - the mapping from SQL type names to Java classes
java.sql.SQLException
- Feature not implemented for now.public void setObject(java.lang.String parameterName, java.lang.Object x, int targetSqlType) throws java.sql.SQLException
parameterName
- - the name of the parameterx
- - the object containing the input parameter valuetargetSqlType
- - the SQL type (as defined in java.sql.Types) to be sent to
the database.
java.sql.SQLException
- Feature not implemented for now.public void setObject(java.lang.String parameterName, java.lang.Object x) throws java.sql.SQLException
parameterName
- - the name of the parameterx
- - the object containing the input parameter value
java.sql.SQLException
- Feature not implemented for now.public final void setBigDecimal(int parameterIndex, java.math.BigDecimal x) throws java.sql.SQLException
parameterIndex
- the first parameter is 1, the second is 2, ...x
- the parameter value
java.sql.SQLException
- thrown on failure.public final java.math.BigDecimal getBigDecimal(int parameterIndex, int scale) throws java.sql.SQLException
java.sql.SQLException
- NoOutputParameters thrown.CallableStatement.getBigDecimal(int, int)
boolean setObjectConvert(int parameterIndex, java.lang.Object x) throws java.sql.SQLException
setObjectConvert
in class EmbedPreparedStatement
java.sql.SQLException
- value could not be set.public java.io.Reader getCharacterStream(int parameterIndex) throws java.sql.SQLException
java.io.Reader
object in the Java programming language.
Introduced in JDBC 4.0.
parameterIndex
- the first parameter is 1, the second is 2, ...
java.io.Reader
object that contains the parameter
value; if the value is SQL NULL
, the value returned
is null
in the Java programming language.
java.sql.SQLException
- if a database access error occurs or this method is
called on a closed CallableStatement
private java.io.InputStream getBinaryStream(int parameterIndex) throws java.sql.SQLException
parameterIndex
- first parameter is 1, second is 2 etc.
null
.
java.sql.SQLException
- if a database access error occurs.
|
Built on Thu 2011-03-10 11:54:14+0000, from revision ??? | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |