| Access | Constructor and Description |
|---|---|
| public | EmbedCallableStatement42(EmbedConnection conn, String sql, int resultSetType, int resultSetConcurrency, int resultSetHoldability)
Creates a new instance of EmbedCallableStatement42 |
| Modifier and Type | Method and Description |
|---|---|
| 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 void | setObject(int
the first parameter is 1, the second is 2, ... parameterIndex, 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 void | setObject(int
the first parameter is 1, the second is 2, ... parameterIndex, 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 sqlType)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. The scale argument may further qualify this type. sqlType, 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. |
| EmbedCallableStatement42 | back to summary |
|---|---|
| public EmbedCallableStatement42(EmbedConnection conn, String sql, int resultSetType, int resultSetConcurrency, int resultSetHoldability) throws SQLException Creates a new instance of EmbedCallableStatement42 | |
| registerOutParameter | back to summary |
|---|---|
| public void registerOutParameter(int parameterIndex, SQLType sqlType) throws SQLException Overrides default java. Doc from java. Registers the OUT parameter in ordinal position
The JDBC type specified by
If the JDBC type expected to be returned to this output parameter
is specific to this particular database,
The default implementation will throw
| |
| registerOutParameter | back to summary |
|---|---|
| public void registerOutParameter(int parameterIndex, SQLType sqlType, int scale) throws SQLException Overrides default java. Doc from java. Registers the parameter in ordinal position
The JDBC type specified by
This version of
The default implementation will throw
| |
| registerOutParameter | back to summary |
|---|---|
| public void registerOutParameter(int parameterIndex, SQLType sqlType, String typeName) throws SQLException Overrides default java. Doc from java. Registers the designated output parameter.
This version of
the method All OUT parameters must be registered before a stored procedure is executed. For a user-defined parameter, the fully-qualified SQL
type name of the parameter should also be given, while a Note When reading the value of an out parameter, you must use the getter method whose Java type corresponds to the parameter's registered SQL type.
The default implementation will throw
| |
| registerOutParameter | back to summary |
|---|---|
| public void registerOutParameter(String parameterName, SQLType sqlType) throws SQLException Overrides default java. Doc from java. Registers the OUT parameter named
The JDBC type specified by
If the JDBC type expected to be returned to this output parameter
is specific to this particular database,
The default implementation will throw
| |
| registerOutParameter | back to summary |
|---|---|
| public void registerOutParameter(String parameterName, SQLType sqlType, int scale) throws SQLException Overrides default java. Doc from java. Registers the parameter named
The JDBC type specified by
This version of
The default implementation will throw
| |
| registerOutParameter | back to summary |
|---|---|
| public void registerOutParameter(String parameterName, SQLType sqlType, String typeName) throws SQLException Overrides default java. Doc from java. Registers the designated output parameter. This version of
the method All OUT parameters must be registered before a stored procedure is executed. For a user-named parameter the fully-qualified SQL type name of the parameter should also be given, while a REF parameter requires that the fully-qualified type name of the referenced type be given. A JDBC driver that does not need the type code and type name information may ignore it. To be portable, however, applications should always provide these values for user-named and REF parameters. Although it is intended for user-named and REF parameters, this method may be used to register a parameter of any JDBC type. If the parameter does not have a user-named or REF type, the typeName parameter is ignored.Note When reading the value of an out parameter, you
must use the
The default implementation will throw
| |
| setObject | back to summary |
|---|---|
| public void setObject(int parameterIndex, Object x, SQLType targetSqlType) throws SQLException Overrides default java. Doc from java. Sets the value of the designated parameter with the given object.
This method is similar to
The default implementation will throw
| |
| setObject | back to summary |
|---|---|
| public void setObject(int parameterIndex, Object x, SQLType targetSqlType, int scaleOrLength) throws SQLException Overrides default java. Doc from java. Sets the value of the designated parameter with the given object.
If the second argument is an The given Java object will be converted to the given targetSqlType
before being sent to the database.
If the object has a custom mapping (is of a class implementing the
interface Note that this method may be used to pass database-specific abstract data types.
The default implementation will throw
| |
| setObject | back to summary |
|---|---|
| public void setObject(String parameterName, Object x, SQLType sqlType) throws SQLException Overrides default java. Doc from java. Sets the value of the designated parameter with the given object.
This method is similar to
The default implementation will throw
| |
| setObject | back to summary |
|---|---|
| public void setObject(String parameterName, Object x, SQLType sqlType, int scaleOrLength) throws SQLException Overrides default java. Doc from java. Sets the value of the designated parameter with the given object.
If the second argument is an The given Java object will be converted to the given targetSqlType
before being sent to the database.
If the object has a custom mapping (is of a class implementing the
interface Note that this method may be used to pass database-specific abstract data types.
The default implementation will throw
| |