public abstract class EmbedCallableStatement20 extends EmbedCallableStatement
EmbedCallableStatement
wasNull
preparedStatement, rMetaData
applicationStatement, batchStatements, isPoolable, lcc, MaxFieldSize, maxRows, results, resultSetConcurrency, resultSetType, SQLText, timeoutMillis, updateCount
factory, localConn
Constructor and Description |
---|
EmbedCallableStatement20(EmbedConnection conn,
java.lang.String sql,
int resultSetType,
int resultSetConcurrency,
int resultSetHoldability) |
Modifier and Type | Method and Description |
---|---|
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(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(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.
|
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
|
addBatch, checkRequiresCallableStatement, executeStatement, getBigDecimal, getBigDecimal, 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
addBatch, clearParameters, closeActions, dataTypeConversion, execute, execute, execute, execute, execute, executeBatchElement, executeLargeUpdate, executeQuery, executeQuery, executeUpdate, executeUpdate, executeUpdate, executeUpdate, executeUpdate, finalize, getMetaData, getParameterJDBCType, getParameterSQLType, getParms, getTypes, getVersionCounter, newEmbedResultSetMetaData, setAsciiStream, setAsciiStream, setAsciiStream, setBigDecimal, setBinaryStream, setBinaryStream, setBinaryStream, setBlob, setBlob, setBlob, setBoolean, setBrokeredConnectionControl, setByte, setBytes, setCharacterStream, setCharacterStream, setCharacterStream, setClob, setClob, setClob, setDate, setDate, setDouble, setFloat, setInt, setLong, setNull, setNull, setObject, setObject, setObject, setShort, setString, setTime, setTime, setTimestamp, setTimestamp, setUnicodeStream, setURL, toString, transferParameters
addWarning, cancel, checkExecStatus, checkIfInMiddleOfBatch, checkStatus, clearBatch, clearResultSets, clearWarnings, close, closeMeOnCompletion, closeOnCompletion, executeBatch, executeLargeBatch, executeLargeUpdate, executeLargeUpdate, executeLargeUpdate, executeLargeUpdate, getConnection, getFetchDirection, getFetchSize, getGeneratedKeys, getLargeMaxRows, getLargeUpdateCount, getMaxFieldSize, getMaxRows, getMoreResults, getMoreResults, getParameterValueSet, getQueryTimeout, getResultSet, getResultSetConcurrency, getResultSetHoldability, getResultSetType, getSQLText, getUpdateCount, getWarnings, isClosed, isCloseOnCompletion, isPoolable, processDynamicResult, resultSetClosing, setApplicationStatement, setCursorName, setEscapeProcessing, setFetchDirection, setFetchSize, setLargeMaxRows, setMaxFieldSize, setMaxRows, setPoolable, setQueryTimeout, transferBatch
commitIfAutoCommit, commitIfNeeded, getCal, getConnectionSynchronization, getEmbedConnection, handleException, needCommit, newSQLException, newSQLException, newSQLException, restoreContextStack, restoreIntrFlagIfSeen, setupContextStack
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
getCharacterStream, getNCharacterStream, getNCharacterStream, getNClob, getNClob, getNString, getNString, getObject, getObject, getRowId, getRowId, getSQLXML, getSQLXML, registerOutParameter, registerOutParameter, registerOutParameter, registerOutParameter, registerOutParameter, registerOutParameter, setAsciiStream, setAsciiStream, setBinaryStream, setBinaryStream, setBlob, setBlob, setBlob, setCharacterStream, setCharacterStream, setClob, setClob, setClob, setNCharacterStream, setNCharacterStream, setNClob, setNClob, setNClob, setNString, setObject, setObject, setRowId, setSQLXML
clearParameters, execute, executeLargeUpdate, executeQuery, executeUpdate, getMetaData, getParameterMetaData, setAsciiStream, setAsciiStream, setAsciiStream, setBigDecimal, 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, setObject, setObject, setRowId, setShort, setSQLXML, setString, setTime, setTime, setTimestamp, setTimestamp, setUnicodeStream, setURL
addBatch, cancel, clearBatch, clearWarnings, close, closeOnCompletion, execute, execute, execute, execute, executeBatch, executeLargeBatch, executeLargeUpdate, executeLargeUpdate, executeLargeUpdate, executeLargeUpdate, executeQuery, executeUpdate, executeUpdate, executeUpdate, executeUpdate, getConnection, getFetchDirection, getFetchSize, getGeneratedKeys, getLargeMaxRows, getLargeUpdateCount, getMaxFieldSize, getMaxRows, getMoreResults, getMoreResults, getQueryTimeout, getResultSet, getResultSetConcurrency, getResultSetHoldability, getResultSetType, getUpdateCount, getWarnings, isClosed, isCloseOnCompletion, isPoolable, setCursorName, setEscapeProcessing, setFetchDirection, setFetchSize, setLargeMaxRows, setMaxFieldSize, setMaxRows, setPoolable, setQueryTimeout
closeOnCompletion, executeLargeBatch, executeLargeUpdate, executeLargeUpdate, executeLargeUpdate, executeLargeUpdate, getLargeMaxRows, getLargeUpdateCount, getMoreResults, getResultSetHoldability, isClosed, isCloseOnCompletion, setLargeMaxRows
public EmbedCallableStatement20(EmbedConnection conn, java.lang.String sql, int resultSetType, int resultSetConcurrency, int resultSetHoldability) throws java.sql.SQLException
java.sql.SQLException
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 classesjava.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 Typejava.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 arrayjava.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 typejava.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 parameterjava.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 parameterjava.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 parameterjava.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 parameterjava.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.Typesjava.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 typejava.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 valuejava.sql.SQLException
- Feature not implemented for now.public boolean getBoolean(java.lang.String parameterName) throws java.sql.SQLException
parameterName
- - the name of the parameterjava.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 valuejava.sql.SQLException
- Feature not implemented for now.public byte getByte(java.lang.String parameterName) throws java.sql.SQLException
parameterName
- - the name of the parameterjava.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 valuejava.sql.SQLException
- Feature not implemented for now.public short getShort(java.lang.String parameterName) throws java.sql.SQLException
parameterName
- - the name of the parameterjava.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 valuejava.sql.SQLException
- Feature not implemented for now.public int getInt(java.lang.String parameterName) throws java.sql.SQLException
parameterName
- - the name of the parameterjava.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 valuejava.sql.SQLException
- Feature not implemented for now.public long getLong(java.lang.String parameterName) throws java.sql.SQLException
parameterName
- - the name of the parameterjava.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 valuejava.sql.SQLException
- Feature not implemented for now.public float getFloat(java.lang.String parameterName) throws java.sql.SQLException
parameterName
- - the name of the parameterjava.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 valuejava.sql.SQLException
- Feature not implemented for now.public double getDouble(java.lang.String parameterName) throws java.sql.SQLException
parameterName
- - the name of the parameterjava.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 valuejava.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 parameterjava.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 valuejava.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 parameterjava.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 valuejava.sql.SQLException
- Feature not implemented for now.public byte[] getBytes(java.lang.String parameterName) throws java.sql.SQLException
parameterName
- - the name of the parameterjava.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 valuejava.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 datejava.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 parameterjava.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 datejava.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 valuejava.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 parameterjava.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 timejava.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 timejava.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 valuejava.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 parameterjava.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 Timestampjava.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 streamjava.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 streamjava.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 streamjava.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 parameterjava.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 classesjava.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 valuejava.sql.SQLException
- Feature not implemented for now.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.Apache Derby V10.10 Internals - Copyright © 2004,2014 The Apache Software Foundation. All Rights Reserved.