{?= call <procedure-name>[(<arg1>,<arg2>, ...)]}
{call <procedure-name>[(<arg1>,<arg2>, ...)]}
IN parameter values are set using the set methods inherited from
java.. The type of all OUT parameters must be
registered prior to executing the stored procedure; their values
are retrieved after execution via the get methods provided here.
A CallableStatement can return one java. object or
multiple ResultSet objects. Multiple
ResultSet objects are handled using operations
inherited from java..
For maximum portability, a call's ResultSet objects and
update counts should be processed prior to getting the values of output
parameters.
HSQLDB-Specific Information:
Beyond the XOpen/ODBC extended scalar functions, stored procedures are typically supported in ways that vary greatly from one DBMS implementation to the next. So, it is almost guaranteed that the code for a stored procedure written under a specific DBMS product will not work without at least some modification in the context of another vendor's product or even across a single vendor's product lines. Moving stored procedures from one DBMS product line to another almost invariably involves complex porting issues and often may not be possible at all. Be warned.One kind of HSQLDB stored procedures and functions is SQL/JRT, Java routines that map directly onto the static methods of compiled Java classes found on the class path of the engine at runtime. The CREATE PROCEDURE or CREATE FUNCTION statements are used in SQL to support the Java methods.
The other kind of HSQLDB stored procedures is SQL/PSM routines that are
written entirely in the SQL procedural language.
Overloaded methods are supported and resolved according to the type of
parameters.
With procedures, OUT and IN OUT parameters
are also supported.
In addition, HSQLDB stored procedure call mechanism allows the more general HSQLDB SQL expression evaluation mechanism. This extension provides the ability to evaluate simple SQL expressions, possibly containing Java method invocations.
With HSQLDB, executing a CALL statement that produces an opaque
(OTHER) or known scalar object reference has virtually the same effect as:
CREATE TABLE DUAL (dummy VARCHAR); INSERT INTO DUAL VALUES(NULL); SELECT <simple-expression> FROM DUAL;HSQLDB functions can return a single result set. HSQLDB procedures can return one or more result sets. Here is a very simple example of an HSQLDB stored procedure generating a user-defined result set:
package mypackage; import java.sql.ResultSet; import java.sql.SQLException; class MyLibraryClass { public static ResultSet mySp() throws SQLException { return ctx.getConnection().createStatement().executeQuery("select * from my_table"); } }(campbell-burnet@users)
JDBCConnection#prepareCall, JDBCResultSet
| Modifier and Type | Field and Description |
|---|---|
| private IntValueHashMap | parameterNameMap
parameter name maps to parameter index |
| private boolean |
| Access | Constructor and Description |
|---|---|
| public | JDBCCallableStatement(JDBCConnection
the connection on which this statement will execute c, String the SQL statement this object represents sql, int the type of result this statement will produce resultSetType, int (updatability) resultSetConcurrency, int (validity beyond commit) resultSetHoldability)Constructs a new JDBCCallableStatement with the specified connection and result type. |
| Modifier and Type | Method and Description |
|---|---|
| public synchronized void | close()
Overrides org. Implements java. Does the specialized work required to free this object's resources and that of its parent classes. |
| public void | closeOnCompletion()
Overrides org. Implements java. Specifies that this |
| public synchronized ResultSet | Returns: aResultSet object that contains the data produced by the
query; never nullOverrides org. Implements java. Executes the SQL query in this |
| pack-priv void | fetchResult()
Overrides org. Internal result producer for JDBCStatement (sqlExecDirect mode). |
| pack-priv int | Returns: index for nameto look up parameterName)Retrieves the parameter index corresponding to the given parameter name. |
| public Array | Returns: the parameter value as anArray object in
the Java programming language. If the value was SQL NULL, the
value null is returned.the first parameter is 1, the second is 2, and
so on parameterIndex)Implements java. Retrieves the value of the designated JDBC |
| public synchronized Array | Returns: the parameter value as anArray object in
Java programming language. If the value was SQL NULL,
the value null is returned.the name of the parameter parameterName)Implements java. Retrieves the value of a JDBC |
| public synchronized BigDecimal | Returns: the parameter value. If the value is SQLNULL, the result
is null.the first parameter is 1, the second is 2,
and so on parameterIndex, int the number of digits to the right of the decimal point scale)Implements java.
Deprecated
use
getBigDecimal(int parameterIndex)
or getBigDecimal(String parameterName)
Retrieves the value of the designated JDBC |
| public synchronized BigDecimal | Returns: the parameter value in full precision. If the value is SQLNULL, the result is null.the first parameter is 1, the second is 2,
and so on parameterIndex)Implements java. Retrieves the value of the designated JDBC |
| public synchronized BigDecimal | Returns: the parameter value in full precision. If the value is SQLNULL, the result is null.the name of the parameter parameterName)Implements java. Retrieves the value of a JDBC |
| public synchronized Blob | Returns: the parameter value as aBlob object in the
Java programming language. If the value was SQL NULL, the value
null is returned.the first parameter is 1, the second is 2, and so on parameterIndex)Implements java. Retrieves the value of the designated JDBC |
| public synchronized Blob | Returns: the parameter value as aBlob object in the
Java programming language. If the value was SQL NULL,
the value null is returned.the name of the parameter parameterName)Implements java. Retrieves the value of a JDBC |
| public synchronized boolean | Returns: the parameter value. If the value is SQLNULL,
the result is false.the first parameter is 1, the second is 2,
and so on parameterIndex)Implements java. Retrieves the value of the designated JDBC |
| public synchronized boolean | Returns: the parameter value. If the value is SQLNULL, the result
is false.the name of the parameter parameterName)Implements java. Retrieves the value of a JDBC |
| public synchronized byte | Returns: the parameter value. If the value is SQLNULL, the result
is 0.the first parameter is 1, the second is 2,
and so on parameterIndex)Implements java. Retrieves the value of the designated JDBC |
| public synchronized byte | Returns: the parameter value. If the value is SQLNULL, the result
is 0.the name of the parameter parameterName)Implements java. Retrieves the value of a JDBC |
| public synchronized byte[] | Returns: the parameter value. If the value is SQLNULL, the result
is null.the first parameter is 1, the second is 2,
and so on parameterIndex)Implements java. Retrieves the value of the designated JDBC |
| public synchronized byte[] | Returns: the parameter value. If the value is SQLNULL, the result is
null.the name of the parameter parameterName)Implements java. Retrieves the value of a JDBC |
| public Reader | Returns: ajava.io.Reader object that contains the parameter
value; if the value is SQL NULL, the value returned is
null in the Java programming language.the first parameter is 1, the second is 2, ... parameterIndex)Implements java. Retrieves the value of the designated parameter as a
|
| public synchronized Reader | Returns: ajava.io.Reader object that contains the parameter
value; if the value is SQL NULL, the value returned is
null in the Java programming languagethe name of the parameter parameterName)Implements java. Retrieves the value of the designated parameter as a
|
| public synchronized Clob | Returns: the parameter value as aClob object in the
Java programming language. If the value was SQL NULL, the
value null is returned.the first parameter is 1, the second is 2, and
so on parameterIndex)Implements java. Retrieves the value of the designated JDBC |
| public synchronized Clob | Returns: the parameter value as aClob object in the
Java programming language. If the value was SQL NULL,
the value null is returned.the name of the parameter parameterName)Implements java. Retrieves the value of a JDBC |
| private Object | Returns: an Object of the requested targetType, representing the value of the specified columnof the column value for which to perform the
conversion columnIndex, Type the org.hsqldb.types.Type object for targetType targetType)Internal value converter. |
| protected Object | |
| public synchronized Date | Returns: the parameter value. If the value is SQLNULL, the result
is null.the first parameter is 1, the second is 2,
and so on parameterIndex)Implements java. Retrieves the value of the designated JDBC |
| public synchronized Date | Returns: the parameter value. If the value is SQLNULL, the result
is null.the first parameter is 1, the second is 2,
and so on parameterIndex, Calendar the cal)Calendar object the driver will use
to construct the dateImplements java. Retrieves the value of the designated JDBC |
| public synchronized Date | Returns: the parameter value. If the value is SQLNULL, the result
is null.the name of the parameter parameterName)Implements java. Retrieves the value of a JDBC |
| public synchronized Date | Returns: the parameter value. If the value is SQLNULL,
the result is null.the name of the parameter parameterName, Calendar the cal)Calendar object the driver will use
to construct the dateImplements java. Retrieves the value of a JDBC |
| public synchronized double | Returns: the parameter value. If the value is SQLNULL, the result
is 0.the first parameter is 1, the second is 2,
and so on parameterIndex)Implements java. Retrieves the value of the designated JDBC |
| public synchronized double | Returns: the parameter value. If the value is SQLNULL,
the result is 0.the name of the parameter parameterName)Implements java. Retrieves the value of a JDBC |
| public synchronized float | Returns: the parameter value. If the value is SQLNULL, the result
is 0.the first parameter is 1, the second is 2,
and so on parameterIndex)Implements java. Retrieves the value of the designated JDBC |
| public synchronized float | Returns: the parameter value. If the value is SQLNULL,
the result is 0.the name of the parameter parameterName)Implements java. Retrieves the value of a JDBC |
| public synchronized int | Returns: the parameter value. If the value is SQLNULL, the result
is 0.the first parameter is 1, the second is 2,
and so on parameterIndex)Implements java. Retrieves the value of the designated JDBC |
| public synchronized int | Returns: the parameter value. If the value is SQLNULL,
the result is 0.the name of the parameter parameterName)Implements java. Retrieves the value of a JDBC |
| public synchronized long | Returns: the parameter value. If the value is SQLNULL, the result
is 0.the first parameter is 1, the second is 2,
and so on parameterIndex)Implements java. Retrieves the value of the designated JDBC |
| public synchronized long | Returns: the parameter value. If the value is SQLNULL,
the result is 0.the name of the parameter parameterName)Implements java. Retrieves the value of a JDBC |
| public Reader | Returns: ajava.io.Reader object that contains the parameter
value; if the value is SQL NULL, the value returned is
null in the Java programming language.the first parameter is 1, the second is 2, ... parameterIndex)Implements java. Retrieves the value of the designated parameter as a
|
| public synchronized Reader | Returns: ajava.io.Reader object that contains the parameter
value; if the value is SQL NULL, the value returned is
null in the Java programming languagethe name of the parameter parameterName)Implements java. Retrieves the value of the designated parameter as a
|
| public NClob | Returns: the parameter value as aNClob object in the
Java programming language. If the value was SQL NULL, the
value null is returned.the first parameter is 1, the second is 2, and
so on parameterIndex)Implements java. Retrieves the value of the designated JDBC |
| public synchronized NClob | Returns: the parameter value as aNClob object in the
Java programming language. If the value was SQL NULL,
the value null is returned.the name of the parameter parameterName)Implements java. Retrieves the value of a JDBC |
| public String | Returns: aString object that maps an
NCHAR, NVARCHAR or LONGNVARCHAR valueindex of the first parameter is 1, the second is 2, ... parameterIndex)Implements java. Retrieves the value of the designated |
| public synchronized String | Returns: aString object that maps an
NCHAR, NVARCHAR or LONGNVARCHAR valuethe name of the parameter parameterName)Implements java. Retrieves the value of the designated |
| public synchronized Object | Returns: Ajava.lang.Object holding the OUT parameter valuethe first parameter is 1, the second is 2,
and so on parameterIndex)Implements java. Retrieves the value of the designated parameter as an |
| public Object | Returns: ajava.lang.Object holding the OUT parameter valuethe first parameter is 1, the second is 2, and so on parameterIndex, Map<String, Class<?>> the mapping from SQL type names to Java classes map)Implements java. Returns an object representing the value of OUT parameter
|
| public synchronized Object | Returns: Ajava.lang.Object holding the OUT parameter value.the name of the parameter parameterName)Implements java. Retrieves the value of a parameter as an |
| public synchronized Object | Returns: ajava.lang.Object holding the OUT parameter valuethe name of the parameter parameterName, Map<String, Class<?>> the mapping from SQL type names to Java classes map)Implements java. Returns an object representing the value of OUT parameter
|
| public < the type of the class modeled by this Class object T> T | Returns: an instance oftype holding the OUT parameter valuethe first parameter is 1, the second is 2, and so on parameterIndex, Class<T> Class representing the Java data type to convert the
designated parameter to. type)Implements java. Returns an object representing the value of OUT parameter
|
| public < the type of the class modeled by this Class object T> T | Returns: an instance oftype holding the OUT parameter
valuethe name of the parameter parameterName, Class<T> Class representing the Java data type to convert
the designated parameter to. type)Implements java. Returns an object representing the value of OUT parameter
|
| public Ref | Returns: the parameter value as aRef object in the
Java programming language. If the value was SQL NULL, the value
null is returned.the first parameter is 1, the second is 2,
and so on parameterIndex)Implements java. Retrieves the value of the designated JDBC |
| public synchronized Ref | Returns: the parameter value as aRef object in the
Java programming language. If the value was SQL NULL,
the value null is returned.the name of the parameter parameterName)Implements java. Retrieves the value of a JDBC |
| public ResultSet | getResultSet()
Overrides org. Implements java. Retrieves the current result as a |
| public RowId | Returns: aRowId object that represents the JDBC ROWID
value is used as the designated parameter. If the parameter contains
a SQL NULL, then a null value is returned.the first parameter is 1, the second is 2,... parameterIndex)Implements java. Retrieves the value of the designated JDBC |
| public synchronized RowId | Returns: aRowId object that represents the JDBC ROWID
value is used as the designated parameter. If the parameter contains
a SQL NULL, then a null value is returned.the name of the parameter parameterName)Implements java. Retrieves the value of the designated JDBC |
| public synchronized short | Returns: the parameter value. If the value is SQLNULL, the result
is 0.the first parameter is 1, the second is 2,
and so on parameterIndex)Implements java. Retrieves the value of the designated JDBC |
| public synchronized short | Returns: the parameter value. If the value is SQLNULL, the result
is 0.the name of the parameter parameterName)Implements java. Retrieves the value of a JDBC |
| public SQLXML | Returns: aSQLXML object that maps an SQL XML valueindex of the first parameter is 1, the second is 2, ... parameterIndex)Implements java. Retrieves the value of the designated |
| public synchronized SQLXML | Returns: aSQLXML object that maps an SQL XML valuethe name of the parameter parameterName)Implements java. Retrieves the value of the designated |
| public synchronized String | Returns: the parameter value. If the value is SQLNULL,
the result
is null.the first parameter is 1, the second is 2,
and so on parameterIndex)Implements java. Retrieves the value of the designated JDBC |
| public synchronized String | Returns: the parameter value. If the value is SQLNULL, the result
is null.the name of the parameter parameterName)Implements java. Retrieves the value of a JDBC |
| public synchronized Time | Returns: the parameter value. If the value is SQLNULL, the result
is null.the first parameter is 1, the second is 2,
and so on parameterIndex)Implements java. Retrieves the value of the designated JDBC |
| public synchronized Time | Returns: the parameter value; if the value is SQLNULL, the result
is null.the first parameter is 1, the second is 2,
and so on parameterIndex, Calendar the cal)Calendar object the driver will use
to construct the timeImplements java. Retrieves the value of the designated JDBC |
| public synchronized Time | Returns: the parameter value. If the value is SQLNULL, the result
is null.the name of the parameter parameterName)Implements java. Retrieves the value of a JDBC |
| public synchronized Time | Returns: the parameter value; if the value is SQLNULL, the result is
null.the name of the parameter parameterName, Calendar the cal)Calendar object the driver will use
to construct the timeImplements java. Retrieves the value of a JDBC |
| public synchronized Timestamp | Returns: the parameter value. If the value is SQLNULL, the result
is null.the first parameter is 1, the second is 2,
and so on parameterIndex)Implements java. Retrieves the value of the designated JDBC |
| public synchronized Timestamp | Returns: the parameter value. If the value is SQLNULL, the result
is null.the first parameter is 1, the second is 2,
and so on parameterIndex, Calendar the cal)Calendar object the driver will use
to construct the timestampImplements java. Retrieves the value of the designated JDBC |
| public synchronized Timestamp | Returns: the parameter value. If the value is SQLNULL, the result
is null.the name of the parameter parameterName)Implements java. Retrieves the value of a JDBC |
| public synchronized Timestamp | Returns: the parameter value. If the value is SQLNULL, the result is
null.the name of the parameter parameterName, Calendar the cal)Calendar object the driver will use
to construct the timestampImplements java. Retrieves the value of a JDBC |
| private Object | |
| private Object | |
| public URL | Returns: ajava.net.URL object that represents the
JDBC DATALINK value used as the designated
parameterthe first parameter is 1, the second is 2,... parameterIndex)Implements java. Retrieves the value of the designated JDBC |
| public URL | Returns: the parameter value as ajava.net.URL object in the
Java programming language. If the value was SQL NULL, the
value null is returned.the name of the parameter parameterName)Implements java. Retrieves the value of a JDBC |
| public boolean | isCloseOnCompletion()
Overrides org. Implements java. Returns a value indicating whether this |
| public synchronized void | registerOutParameter(int
the first parameter is 1, the second is 2,
and so on parameterIndex, int the JDBC type code defined by sqlType)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.Implements java. Registers the OUT parameter in ordinal position
|
| public synchronized void | registerOutParameter(int
the first parameter is 1, the second is 2,
and so on parameterIndex, int the SQL type code defined by sqlType, int java.sql.Types.the desired number of digits to the right of the
decimal point. It must be greater than or equal to zero. scale)Implements java. Registers the parameter in ordinal position
|
| public synchronized void | registerOutParameter(int
the first parameter is 1, the second is 2,... parameterIndex, int a value from sqlType, String java.the fully-qualified name of an SQL structured type typeName)Implements java. Registers the designated output parameter. |
| public synchronized void | registerOutParameter(String
the name of the parameter parameterName, int the JDBC type code defined by sqlType)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.Implements java. Registers the OUT parameter named
|
| public synchronized void | registerOutParameter(String
the name of the parameter parameterName, int SQL type code defined by sqlType, int java.sql.Types.the desired number of digits to the right of the
decimal point. It must be greater than or equal to zero. scale)Implements java. Registers the parameter named
|
| public synchronized void | registerOutParameter(String
the name of the parameter parameterName, int a value from sqlType, String java.the fully-qualified name of an SQL structured type typeName)Implements java. Registers the designated output parameter. |
| public void | registerOutParameter(int
the first parameter is 1, the second is 2,
and so on parameterIndex, SQLType the JDBC type code defined by sqlType)SQLType to use to
register the OUT Parameter.
If the parameter is of JDBC type JDBCType.NUMERIC
or JDBCType.DECIMAL, the version of
registerOutParameter that accepts a scale value
should be used.Overrides default java. Registers the OUT parameter in ordinal position
|
| public void | registerOutParameter(int
the first parameter is 1, the second is 2,
and so on parameterIndex, SQLType the JDBC type code defined by sqlType, int SQLType to use to
register the OUT Parameter.the desired number of digits to the right of the
decimal point. It must be greater than or equal to zero. scale)Overrides default java. Registers the parameter in ordinal position
|
| public void | registerOutParameter(int
the first parameter is 1, the second is 2,... parameterIndex, SQLType the JDBC type code defined by sqlType, String SQLType to use to
register the OUT Parameter.the fully-qualified name of an SQL structured type typeName)Overrides default java. Registers the designated output parameter. |
| public void | registerOutParameter(String
the name of the parameter parameterName, SQLType the JDBC type code defined by sqlType)SQLType to use to
register the OUT Parameter.
If the parameter is of JDBC type JDBCType.NUMERIC
or JDBCType.DECIMAL, the version of
registerOutParameter that accepts a scale value
should be used.Overrides default java. Registers the OUT parameter named
|
| public void | registerOutParameter(String
the name of the parameter parameterName, SQLType the JDBC type code defined by sqlType, int SQLType to use to
register the OUT Parameter.the desired number of digits to the right of the
decimal point. It must be greater than or equal to zero. scale)Overrides default java. Registers the parameter named
|
| public void | registerOutParameter(String
the name of the parameter parameterName, SQLType the JDBC type code defined by sqlType, String SQLType to use to
register the OUT Parameter.the fully-qualified name of an SQL structured type typeName)Overrides default java. Registers the designated output parameter. |
| public synchronized void | setAsciiStream(String
the name of the parameter parameterName, InputStream the Java input stream that contains the ASCII parameter value x, int the number of bytes in the stream length)Implements java. Sets the designated parameter to the given input stream, which will have the specified number of bytes. |
| public synchronized void | setAsciiStream(String
the name of the parameter parameterName, InputStream the Java input stream that contains the ASCII parameter value x, long the number of bytes in the stream length)Implements java. Sets the designated parameter to the given input stream, which will have the specified number of bytes. |
| public synchronized void | setAsciiStream(String
the name of the parameter parameterName, InputStream the Java input stream that contains the ASCII parameter value x)Implements java. Sets the designated parameter to the given input stream. |
| public synchronized void | setBigDecimal(String
the name of the parameter parameterName, BigDecimal the parameter value x)Implements java. Sets the designated parameter to the given
|
| public synchronized void | setBinaryStream(String
the name of the parameter parameterName, InputStream the java input stream which contains the binary parameter value x, int the number of bytes in the stream length)Implements java. Sets the designated parameter to the given input stream, which will have the specified number of bytes. |
| public synchronized void | setBinaryStream(String
the name of the parameter parameterName, InputStream the java input stream which contains the binary parameter value x, long the number of bytes in the stream length)Implements java. Sets the designated parameter to the given input stream, which will have the specified number of bytes. |
| public synchronized void | setBinaryStream(String
the name of the parameter parameterName, InputStream the java input stream which contains the binary parameter value x)Implements java. Sets the designated parameter to the given input stream. |
| public synchronized void | setBlob(String
the name of the parameter to be set
the second is 2, ... parameterName, InputStream An object that contains the data to set the parameter
value to. inputStream, long the number of bytes in the parameter data. length)Implements java. Sets the designated parameter to a |
| public synchronized void | setBlob(String
the name of the parameter parameterName, Blob a x)Blob object that maps an SQL BLOB valueImplements java. Sets the designated parameter to the given |
| public synchronized void | setBlob(String
the name of the parameter parameterName, InputStream An object that contains the data to set the parameter
value to. inputStream)Implements java. Sets the designated parameter to an |
| public synchronized void | setBoolean(String
the name of the parameter parameterName, boolean the parameter value x)Implements java. Sets the designated parameter to the given Java |
| public synchronized void | setByte(String
the name of the parameter parameterName, byte the parameter value x)Implements java. Sets the designated parameter to the given Java |
| public synchronized void | setBytes(String
the name of the parameter parameterName, byte[] the parameter value x)Implements java. Sets the designated parameter to the given Java array of bytes. |
| public synchronized void | setCharacterStream(String
the name of the parameter parameterName, Reader the reader, int java.io.Reader object that
contains the UNICODE data used as the designated parameterthe number of characters in the stream length)Implements java. Sets the designated parameter to the given |
| public synchronized void | setCharacterStream(String
the name of the parameter parameterName, Reader the reader, long java.io.Reader object that
contains the UNICODE data used as the designated parameterthe number of characters in the stream length)Implements java. Sets the designated parameter to the given |
| public synchronized void | setCharacterStream(String
the name of the parameter parameterName, Reader the reader)java.io.Reader object that contains the
Unicode dataImplements java. Sets the designated parameter to the given |
| public synchronized void | setClob(String
the name of the parameter to be set parameterName, Reader An object that contains the data to set the parameter value to. reader, long the number of characters in the parameter data. length)Implements java. Sets the designated parameter to a |
| public synchronized void | setClob(String
the name of the parameter parameterName, Clob a x)Clob object that maps an SQL CLOB valueImplements java. Sets the designated parameter to the given |
| public synchronized void | setClob(String
the name of the parameter parameterName, Reader An object that contains the data to set the parameter value to. reader)Implements java. Sets the designated parameter to a |
| public synchronized void | setDate(String
the name of the parameter parameterName, Date the parameter value x)Implements java. Sets the designated parameter to the given |
| public synchronized void | setDate(String
the name of the parameter parameterName, Date the parameter value x, Calendar the cal)Calendar object the driver will use
to construct the dateImplements java. Sets the designated parameter to the given |
| public synchronized void | setDouble(String
the name of the parameter parameterName, double the parameter value x)Implements java. Sets the designated parameter to the given Java |
| public synchronized void | setFloat(String
the name of the parameter parameterName, float the parameter value x)Implements java. Sets the designated parameter to the given Java |
| public synchronized void | setInt(String
the name of the parameter parameterName, int the parameter value x)Implements java. Sets the designated parameter to the given Java |
| public synchronized void | setLong(String
the name of the parameter parameterName, long the parameter value x)Implements java. Sets the designated parameter to the given Java |
| public synchronized void | setNCharacterStream(String
the name of the parameter to be set parameterName, Reader the parameter value value, long the number of characters in the parameter data. length)Implements java. Sets the designated parameter to a |
| public synchronized void | setNCharacterStream(String
the name of the parameter parameterName, Reader the parameter value value)Implements java. Sets the designated parameter to a |
| public synchronized void | setNClob(String
the name of the parameter to be set parameterName, NClob the parameter value value)Implements java. Sets the designated parameter to a |
| public synchronized void | setNClob(String
the name of the parameter to be set parameterName, Reader An object that contains the data to set the parameter value to. reader, long the number of characters in the parameter data. length)Implements java. Sets the designated parameter to a |
| public synchronized void | setNClob(String
the name of the parameter parameterName, Reader An object that contains the data to set the parameter value to. reader)Implements java. Sets the designated parameter to a |
| public synchronized void | setNString(String
the name of the parameter to be set parameterName, String the parameter value value)Implements java. Sets the designated parameter to the given |
| public synchronized void | setNull(String
the name of the parameter parameterName, int the SQL type code defined in sqlType)java.sql.TypesImplements java. Sets the designated parameter to SQL |
| public synchronized void | setNull(String
the name of the parameter parameterName, int a value from sqlType, String java.sql.Typesthe fully-qualified name of an SQL user-defined type;
ignored if the parameter is not a user-defined type or
SQL typeName)REF valueImplements java. Sets the designated parameter to SQL |
| public synchronized void | setObject(String
the name of the parameter parameterName, Object the object containing the input parameter value x, int the SQL type (as defined in java.sql.Types) to be
sent to the database. The scale argument may further qualify this type. targetSqlType, int 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. scale)Implements java. Sets the value of the designated parameter with the given object. |
| public synchronized void | setObject(String
the name of the parameter parameterName, Object the object containing the input parameter value x, int the SQL type (as defined in java.sql.Types) to be
sent to the database targetSqlType)Implements java. Sets the value of the designated parameter with the given object. |
| public synchronized void | setObject(String
the name of the parameter parameterName, Object the object containing the input parameter value x)Implements java. Sets the value of the designated parameter with the given object. |
| public void | setObject(String
the name of the parameter parameterName, Object the object containing the input parameter value x, SQLType the SQL type to be
sent to the database. The scale argument may further qualify this type. targetSqlType, int for scaleOrLength)java.sql.JDBCType.DECIMAL
or java.sql.JDBCType.NUMERIC types,
this is the number of digits after the decimal point. For
Java Object types InputStream and Reader,
this is the length
of the data in the stream or reader. For all other types,
this value will be ignored.Overrides default java. Sets the value of the designated parameter with the given object. |
| public void | setObject(String
the name of the parameter parameterName, Object the object containing the input parameter value x, SQLType the SQL type to be sent to the database targetSqlType)Overrides default java. Sets the value of the designated parameter with the given object. |
| public synchronized void | setRowId(String
the name of the parameter parameterName, RowId the parameter value x)Implements java. Sets the designated parameter to the given |
| public synchronized void | setShort(String
the name of the parameter parameterName, short the parameter value x)Implements java. Sets the designated parameter to the given Java |
| public synchronized void | setSQLXML(String
the name of the parameter parameterName, SQLXML a xmlObject)SQLXML object that maps an SQL XML valueImplements java. Sets the designated parameter to the given |
| public synchronized void | setString(String
the name of the parameter parameterName, String the parameter value x)Implements java. Sets the designated parameter to the given Java |
| public synchronized void | setTime(String
the name of the parameter parameterName, Time the parameter value x)Implements java. Sets the designated parameter to the given |
| public synchronized void | setTime(String
the name of the parameter parameterName, Time the parameter value x, Calendar the cal)Calendar object the driver will use
to construct the timeImplements java. Sets the designated parameter to the given |
| public synchronized void | setTimestamp(String
the name of the parameter parameterName, Timestamp the parameter value x)Implements java. Sets the designated parameter to the given |
| public synchronized void | setTimestamp(String
the name of the parameter parameterName, Timestamp the parameter value x, Calendar the cal)Calendar object the driver will use
to construct the timestampImplements java. Sets the designated parameter to the given |
| public void | setURL(String
the name of the parameter parameterName, URL the parameter value val)Implements java. Sets the designated parameter to the given |
| private boolean | |
| public synchronized boolean | Returns: true if the last parameter read was SQL
NULL; false otherwiseImplements java. Retrieves whether the last OUT parameter read had the value of
SQL |