|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
oracle.jdbc.driver.OraclePreparedStatement
Oracle prepared statement class.
Method Summary | |
void |
addBatch()
Add a set of parameters to the batch. |
void |
addBatch(java.lang.String sql)
This method cannot be used in OraclePreparedStatement. |
void |
clearBatch()
Make the set of parameters in the current batch empty. |
void |
clearParameters()
In general, parameter values remain in force for repeated use of a Statement. |
void |
close()
Close the prepared statement. |
void |
closeWithKey(java.lang.String key)
The underlying cursor is not closed and the Statement handle is cached on the Key. |
void |
defineParameterType(int param_index,
int type,
int max_size)
Define the type under which you will bind the parameter and the maximum size (in characters) of data you will bind in binds. |
void |
defineParameterTypeBytes(int param_index,
int type,
int max_size)
Define the type under which you will bind the parameter and the maximum size (in bytes) of data you will bind in binds. |
void |
defineParameterTypeChars(int param_index,
int type,
int max_size)
Define the type under which you will bind the parameter and the maximum size (in characters) of data you will bind in binds. |
boolean |
execute()
Execute the statement. |
int[] |
executeBatch()
Submit a batch of parameters to the database for execution. |
java.sql.ResultSet |
executeQuery()
Execute the query statement. |
int |
executeUpdate()
Execute the update statement. |
int |
getExecuteBatch()
Retrieve the batch value (for Oracle-style batching only). |
java.sql.ResultSetMetaData |
getMetaData()
JDBC 2.0 Gets the number, types and properties of a ResultSet's columns. |
java.sql.ParameterMetaData |
getParameterMetaData()
|
OracleParameterMetaData |
OracleGetParameterMetaData()
Oracle extension Retrieves the number, types and properties of this oracle.jdbc.PreparedStatement object's parameters. |
int |
sendBatch()
Send any existing Oracle-style batch. |
void |
setArray(int paramIndex,
java.sql.Array arr)
JDBC 2.0. |
void |
setARRAY(int paramIndex,
ARRAY arr)
Oracle specific. |
void |
setAsciiStream(int paramIndex,
java.io.InputStream istream,
int length)
Sets the designated parameter to the given input stream, which will have the specified number of bytes. |
void |
setBfile(int paramIndex,
BFILE file)
Oracle specific. |
void |
setBFILE(int paramIndex,
BFILE file)
Oracle specific. |
void |
setBigDecimal(int paramIndex,
java.math.BigDecimal x)
Sets the designated parameter to a java.lang.BigDecimal value. |
void |
setBinaryStream(int paramIndex,
java.io.InputStream istream,
int length)
Sets the designated parameter to the given input stream, which will have the specified number of bytes. |
void |
setBlob(int paramIndex,
java.sql.Blob lob)
JDBC 2.0. |
void |
setBLOB(int paramIndex,
BLOB lob)
Oracle specific. |
void |
setBoolean(int paramIndex,
boolean x)
Sets the designated parameter to a Java boolean value. |
void |
setByte(int paramIndex,
byte x)
Sets the designated parameter to a Java byte value. |
void |
setBytes(int paramIndex,
byte[] x)
Sets the designated parameter to a Java array of bytes. |
void |
setCHAR(int paramIndex,
CHAR ch)
Oracle specific. |
void |
setCharacterStream(int paramIndex,
java.io.Reader reader,
int length)
JDBC 2.0 Sets the designated parameter to the given Reader
object, which is the given number of characters long. |
void |
setClob(int paramIndex,
java.sql.Clob lob)
JDBC 2.0. |
void |
setCLOB(int paramIndex,
CLOB lob)
Oracle specific. |
void |
setCustomDatum(int paramIndex,
CustomDatum x)
Deprecated. |
void |
setDate(int paramIndex,
java.sql.Date x)
Sets the designated parameter to a java.sql.Date value. |
void |
setDATE(int paramIndex,
DATE date)
Oracle specific. |
void |
setDate(int paramIndex,
java.sql.Date x,
java.util.Calendar cal)
JDBC 2.0 Sets the designated parameter to a java.sql.Date value, using the given Calendar object. |
void |
setDisableStmtCaching(boolean cache)
Don't Cache this object even when the corresponding Connection is Cache Enabled. |
void |
setDouble(int paramIndex,
double x)
Sets the designated parameter to a Java double value. |
void |
setExecuteBatch(int batchValue)
Set the batch value (for Oracle-style batching only). |
void |
setFixedCHAR(int paramIndex,
java.lang.String x)
Use this method when binding to a CHAR column in the where clause of a Select statement. |
void |
setFloat(int paramIndex,
float x)
Sets the designated parameter to a Java float value. |
void |
setFormOfUse(int paramIndex,
short formOfUse)
Sets the "Form Of Use". |
void |
setInt(int paramIndex,
int x)
Sets the designated parameter to a Java int value. |
void |
setINTERVALYM(int paramIndex,
INTERVALYM x)
Sets the designated parameter to an oracle.sql.INTERVALYM value. |
void |
setLong(int paramIndex,
long x)
Sets the designated parameter to a Java long value. |
void |
setNull(int paramIndex,
int sqlType)
Sets the designated parameter to SQL NULL. |
void |
setNull(int paramIndex,
int sqlType,
java.lang.String sqlName)
Implements JDBC 2.0 setNull for object types. |
void |
setNUMBER(int paramIndex,
NUMBER num)
Oracle specific. |
void |
setObject(int paramIndex,
java.lang.Object x)
Sets the value of the designated parameter with the given object. |
void |
setObject(int paramIndex,
java.lang.Object x,
int targetSqlType)
Sets the value of the designated parameter with the given object. |
void |
setObject(int paramIndex,
java.lang.Object x,
int targetSqlType,
int scale)
Sets the value of a parameter using an object. |
void |
setOPAQUE(int paramIndex,
OPAQUE opaque)
Oracle specific. |
void |
setOracleObject(int paramIndex,
Datum x)
Oracle specific. |
void |
setORAData(int paramIndex,
ORAData x)
Set the designated parameter to an oracle.sql.ORAData value. |
void |
setPlsqlIndexTable(int paramIndex,
java.lang.Object arrayData,
int maxLen,
int curLen,
int elemSqlType,
int elemMaxLen)
Oracle OCI driver specific. |
void |
setPreBindsCompelete()
|
void |
setRAW(int paramIndex,
RAW raw)
Oracle specific. |
void |
setRef(int paramIndex,
java.sql.Ref ref)
JDBC 2.0 Sets a Ref(<structured-type>) parameter. |
void |
setREF(int paramIndex,
REF ref)
Oracle specific. |
void |
setRefType(int paramIndex,
REF ref)
Oracle specific. |
void |
setROWID(int paramIndex,
ROWID rowid)
Oracle specific. |
void |
setShort(int paramIndex,
short x)
Sets the designated parameter to a Java short value. |
void |
setString(int paramIndex,
java.lang.String x)
Sets the designated parameter to a Java String value. |
void |
setSTRUCT(int paramIndex,
STRUCT struct)
Oracle specific. |
void |
setStructDescriptor(int paramIndex,
StructDescriptor desc)
Oracle specific. |
void |
setTime(int paramIndex,
java.sql.Time x)
Sets the designated parameter to a java.sql.Time value. |
void |
setTime(int paramIndex,
java.sql.Time x,
java.util.Calendar cal)
JDBC 2.0 Sets the designated parameter to a java.sql.Time value, using the given Calendar object. |
void |
setTimestamp(int paramIndex,
java.sql.Timestamp x)
Sets the designated parameter to a java.sql.Timestamp value. |
void |
setTIMESTAMP(int paramIdx,
TIMESTAMP x)
Sets the designated parameter to an oracle.sql.TIMESTAMP value. |
void |
setTimestamp(int paramIndex,
java.sql.Timestamp x,
java.util.Calendar cal)
JDBC 2.0 Sets the designated parameter to a java.sql.Timestamp value, using the given Calendar object. |
void |
setTIMESTAMPLTZ(int paramIdx,
TIMESTAMPLTZ x)
Sets the designated parameter to an oracle.sql.TIMESTAMPLTZ value. |
void |
setTIMESTAMPTZ(int paramIdx,
TIMESTAMPTZ x)
Sets the designated parameter to an oracle.sql.TIMESTAMPTZ value. |
void |
setUnicodeStream(int paramIndex,
java.io.InputStream istream,
int length)
Deprecated. |
void |
setURL(int parameterIndex,
java.net.URL x)
JDBC 3.0 Sets the designated parameter to the given java.net.URL value. |
Method Detail |
public void close() throws java.sql.SQLException
public void closeWithKey(java.lang.String key) throws java.sql.SQLException
key
- A key to tag to the statement to be retrieved laterpublic java.sql.ResultSet executeQuery() throws java.sql.SQLException
public int executeUpdate() throws java.sql.SQLException
public boolean execute() throws java.sql.SQLException
public int sendBatch() throws java.sql.SQLException
This API is used in the context of Oracle-style batching. It flushes
any batched executions before the batch value is reached. Executions
normally happen when the number of executions reaches the batch value,
which is set via the API setExecuteBatch()
. It does not
do anything if the statement does not use Oracle-style batching.
To use this API, the user must cast the PreparedStatement object to
oracle.jdbc.driver.OraclePreparedStatement
.
public void setExecuteBatch(int batchValue) throws java.sql.SQLException
The Oracle Jdbc driver can "batch" multiple executions of a single statement with different bind variables. Actual execution happens when the number of batched executions reaches the "batch value", which is set by this API.
The batch value for this prepared statement can be set at any time via this API. Changing the batch value will affect all future executes.
The batch value will automatically be set to 1 by the driver if any of the bind types is of type stream. This overrides any value that the user might have set. Binds that were performed before any setXXXStream() is called, and that have not been executed, will be flushed (i.e. executed).
To use this API, the user must cast the PreparedStatement object to
oracle.jdbc.driver.OraclePreparedStatement
.
batchValue
- batch value to be set. It must be greater than or
equal to 1.public final int getExecuteBatch()
public void defineParameterTypeBytes(int param_index, int type, int max_size) throws java.sql.SQLException
Similar to defineColumnType, before executing a Query you may choose to inform JDBC of the type and maximum length of the bind parameter. If not, based on the setXXX call, the maximum length of the type is taken, i.e., for a setString a 4k buffer is allocated. This API does not reduce the network round trip. It is purely a memory optimization API.
Note: You should use Types.CHAR as the type value if you are going bind later as setCHAR and use Types.VARCHAR if you are going to bind as setString for effective results. Also, you cannot use this for LONG types.
param_index
- Index of bind parameter.type
- Type to be assigned to bind parameter.
This type could be different from the
native type of the column. Appropriate
conversions will be done.max_size
- Maximum length of bind data in bytes.public void defineParameterTypeChars(int param_index, int type, int max_size) throws java.sql.SQLException
Similarly to defineColumnType()
. Before executing a Query
you may choose to inform JDBC of the type and maximum length of the bind
parameter. If not, based on the setXXX
call, the maximum
length of the type is taken, i.e., for a setString a 4k buffer is
allocated. This API does not reduce the network round trip. It is purely a
memory optimization API.
Note: You should use OracleTypes.CHAR
as the type
value if you are going bind later as setCHAR
and use
OracleTypes.VARCHAR
if you are going to bind as
setString
for effective results.
param_index
- Index of bind parameter (should be >=0)type
- Type to be assigned to bind parameter.
This type could be different from the
native type of the column. Appropriate
conversions will be done.max_size
- Maximum length of bind data in bytes
(should be >=0)public void defineParameterType(int param_index, int type, int max_size) throws java.sql.SQLException
public java.sql.ResultSetMetaData getMetaData() throws java.sql.SQLException
public void setNull(int paramIndex, int sqlType, java.lang.String sqlName) throws java.sql.SQLException
Note: To be portable, applications must give the SQL type code and the fully-qualified SQL type name when specifying a NULL user-defined or REF parameter. In the case of a user-named type the name is the type name of the parameter itself. For a REF parameter the name is the type name of the referenced type. Although it is intended for user-named and Ref parameters, this method may be used to set a null parameter of any JDBC type. If the parameter does not have a user-named or REF type, the given typeName is ignored.
parameterIndex
- the first parameter is 1, the second is 2, ...sqlType
- a value from java.sql.TypestypeName
- the fully-qualified name of an SQL user-named type,
ignored if the parameter is not a user-named type or REFpublic void setNull(int paramIndex, int sqlType) throws java.sql.SQLException
Note: You must specify the parameter's SQL type.
parameterIndex
- the first parameter is 1, the second is 2, ...sqlType
- the SQL type code defined in java.sql.Typespublic void setBoolean(int paramIndex, boolean x) throws java.sql.SQLException
parameterIndex
- the first parameter is 1, the second is 2, ...x
- the parameter valuepublic void setByte(int paramIndex, byte x) throws java.sql.SQLException
parameterIndex
- the first parameter is 1, the second is 2, ...x
- the parameter valuepublic void setShort(int paramIndex, short x) throws java.sql.SQLException
parameterIndex
- the first parameter is 1, the second is 2, ...x
- the parameter valuepublic void setInt(int paramIndex, int x) throws java.sql.SQLException
parameterIndex
- the first parameter is 1, the second is 2, ...x
- the parameter valuepublic void setLong(int paramIndex, long x) throws java.sql.SQLException
parameterIndex
- the first parameter is 1, the second is 2, ...x
- the parameter valuepublic void setFloat(int paramIndex, float x) throws java.sql.SQLException
parameterIndex
- the first parameter is 1, the second is 2, ...x
- the parameter valuepublic void setDouble(int paramIndex, double x) throws java.sql.SQLException
parameterIndex
- the first parameter is 1, the second is 2, ...x
- the parameter valuepublic void setBigDecimal(int paramIndex, java.math.BigDecimal x) throws java.sql.SQLException
parameterIndex
- the first parameter is 1, the second is 2, ...x
- the parameter valuepublic void setString(int paramIndex, java.lang.String x) throws java.sql.SQLException
parameterIndex
- the first parameter is 1, the second is 2, ...x
- the parameter valuepublic void setFixedCHAR(int paramIndex, java.lang.String x) throws java.sql.SQLException
paramIndex
- index of the bind variablex
- the literal/variable to be bound.public void setROWID(int paramIndex, ROWID rowid) throws java.sql.SQLException
parameterIndex
- the first parameter is 1, the second is 2, ...x
- the parameter valuepublic void setArray(int paramIndex, java.sql.Array arr) throws java.sql.SQLException
parameterIndex
- the first parameter is 1, the second is 2, ...x
- the parameter valuepublic void setARRAY(int paramIndex, ARRAY arr) throws java.sql.SQLException
parameterIndex
- the first parameter is 1, the second is 2, ...x
- the parameter valuepublic void setOPAQUE(int paramIndex, OPAQUE opaque) throws java.sql.SQLException
parameterIndex
- the first parameter is 1, the second is 2, ...x
- the parameter valuepublic void setStructDescriptor(int paramIndex, StructDescriptor desc) throws java.sql.SQLException
parameterIndex
- the first parameter is 1, the second is 2, ...x
- the parameter valuepublic void setPreBindsCompelete() throws java.sql.SQLException
public void setSTRUCT(int paramIndex, STRUCT struct) throws java.sql.SQLException
parameterIndex
- the first parameter is 1, the second is 2, ...x
- the parameter valuepublic void setRAW(int paramIndex, RAW raw) throws java.sql.SQLException
parameterIndex
- the first parameter is 1, the second is 2, ...x
- the parameter valuepublic void setCHAR(int paramIndex, CHAR ch) throws java.sql.SQLException
parameterIndex
- the first parameter is 1, the second is 2, ...x
- the parameter valuepublic void setDATE(int paramIndex, DATE date) throws java.sql.SQLException
parameterIndex
- the first parameter is 1, the second is 2, ...x
- the parameter valuepublic void setNUMBER(int paramIndex, NUMBER num) throws java.sql.SQLException
parameterIndex
- the first parameter is 1, the second is 2, ...x
- the parameter valuepublic void setBLOB(int paramIndex, BLOB lob) throws java.sql.SQLException
parameterIndex
- the first parameter is 1, the second is 2, ...x
- the parameter valuepublic void setBlob(int paramIndex, java.sql.Blob lob) throws java.sql.SQLException
parameterIndex
- the first parameter is 1, the second is 2, ...x
- the parameter valuepublic void setCLOB(int paramIndex, CLOB lob) throws java.sql.SQLException
parameterIndex
- the first parameter is 1, the second is 2, ...x
- the parameter valuepublic void setClob(int paramIndex, java.sql.Clob lob) throws java.sql.SQLException
parameterIndex
- the first parameter is 1, the second is 2, ...x
- the parameter valuepublic void setBFILE(int paramIndex, BFILE file) throws java.sql.SQLException
parameterIndex
- the first parameter is 1, the second is 2, ...x
- the parameter valuepublic void setBfile(int paramIndex, BFILE file) throws java.sql.SQLException
parameterIndex
- the first parameter is 1, the second is 2, ...x
- the parameter valuepublic void setBytes(int paramIndex, byte[] x) throws java.sql.SQLException
parameterIndex
- the first parameter is 1, the second is 2, ...x
- the parameter valuepublic void setDate(int paramIndex, java.sql.Date x) throws java.sql.SQLException
parameterIndex
- the first parameter is 1, the second is 2, ...x
- the parameter valuepublic void setTime(int paramIndex, java.sql.Time x) throws java.sql.SQLException
parameterIndex
- the first parameter is 1, the second is 2, ...x
- the parameter valuepublic void setTimestamp(int paramIndex, java.sql.Timestamp x) throws java.sql.SQLException
parameterIndex
- the first parameter is 1, the second is 2, ...x
- the parameter valuepublic void setINTERVALYM(int paramIndex, INTERVALYM x) throws java.sql.SQLException
paramIndex
- specifies the parameter index. Index starts from 1.x
- specifies the parameter value.public void setTIMESTAMP(int paramIdx, TIMESTAMP x) throws java.sql.SQLException
paramIdx
- specifies the parameter index. Index starts from 1.x
- specifies the parameter value.public void setTIMESTAMPTZ(int paramIdx, TIMESTAMPTZ x) throws java.sql.SQLException
paramIdx
- specifies the parameter index. Index starts from 1.x
- specifies the parameter value.public void setTIMESTAMPLTZ(int paramIdx, TIMESTAMPLTZ x) throws java.sql.SQLException
In order to use this method, the calling program must first invoke OracleConnection.setSessionTimeZone() to set the session time zone.
paramIdx
- specifies the parameter index. Index starts from 1.x
- specifies the parameter value.public void setAsciiStream(int paramIndex, java.io.InputStream istream, int length) throws java.sql.SQLException
Note: There are restrictions to use this method for CLOBs. Please see details in Oracle JDBC documents or Readme to avoid data lossage.
parameterIndex
- the first parameter is 1, the second is 2, ...istream
- the Java input stream that contains the ASCII parameter valuelength
- the number of bytes in the streampublic void setBinaryStream(int paramIndex, java.io.InputStream istream, int length) throws java.sql.SQLException
Note: There are restrictions to use this method for BLOBs. Please see details in Oracle JDBC documents or Readme to avoid data lossage.
parameterIndex
- the first parameter is 1, the second is 2, ...x
- the java input stream which contains the binary parameter valuelength
- the number of bytes in the streampublic void setUnicodeStream(int paramIndex, java.io.InputStream istream, int length) throws java.sql.SQLException
Note: There are restrictions to use this method for CLOBs. Please see details in Oracle JDBC documents or Readme to avoid data lossage.
parameterIndex
- the first parameter is 1, the second is 2, ...x
- the java input stream which contains the
UNICODE parameter valuelength
- the number of bytes in the streampublic void setCustomDatum(int paramIndex, CustomDatum x) throws java.sql.SQLException
This method is deprecated. It is recommended to use setORAData().
parameterIndex
- the first parameter is 1, the second is 2, ...x
- the parameter valuepublic void setORAData(int paramIndex, ORAData x) throws java.sql.SQLException
This is an Oracle specific method.
parameterIndex
- the first parameter is 1, the second is 2, ...x
- the parameter valuepublic void setObject(int paramIndex, java.lang.Object x, int targetSqlType, int scale) throws java.sql.SQLException
Sets the value of a parameter using an object. The second argument must be an object type.
The given Java object will be converted to the targetSqlType
before being sent to the database.
If the object has a custom mapping (is of a class implementing SQLData),
the JDBC driver should call its method writeSQL
to write it
to the SQL data stream.
parameterIndex
- the first parameter is 1, the second is 2, ...x
- the object containing the input parameter valuetargetSqlType
- the SQL type (as defined in java.sql.Types
or OracleTypes) to be sent to the database.scale
- for numeric types. Ignored for other types.Types
public void setObject(int paramIndex, java.lang.Object x, int targetSqlType) throws java.sql.SQLException
parameterIndex
- the first parameter is 1, the second is 2, ...x
- the object containing the input parameter valuetargetSqlType
- the SQL type (as defined in java.sql.Types) to be
sent to the databasepublic void setRefType(int paramIndex, REF ref) throws java.sql.SQLException
parameterIndex
- the first parameter is 1, the second is 2, ...x
- the parameter valuepublic void setRef(int paramIndex, java.sql.Ref ref) throws java.sql.SQLException
i
- the first parameter is 1, the second is 2, ...x
- an object representing data of an SQL REF Typepublic void setREF(int paramIndex, REF ref) throws java.sql.SQLException
parameterIndex
- the first parameter is 1, the second is 2, ...x
- the parameter valuepublic void setObject(int paramIndex, java.lang.Object x) throws java.sql.SQLException
parameterIndex
- the first parameter is 1, the second is 2, ...x
- the object containing the input parameter valuetargetSqlType
- the SQL type (as defined in java.sql.Types) to be
sent to the databasepublic void setOracleObject(int paramIndex, Datum x) throws java.sql.SQLException
parameterIndex
- the first parameter is 1, the second is 2, ...x
- the parameter valuepublic void setPlsqlIndexTable(int paramIndex, java.lang.Object arrayData, int maxLen, int curLen, int elemSqlType, int elemMaxLen) throws java.sql.SQLException
parameterIndex
- the first parameter is 1, the second is 2, ...arrayData
- a java arraymaxLen
- the maximum possible number of elements.curLen
- the current number of elementselemSqlType
- index table element SQL type (as defined in
java.sql.Types or OracleTypes).elemMaxLen
- maximum length of the element. If not specified,
maximum length allowed for
that type is used.public void clearParameters() throws java.sql.SQLException
In general, parameter values remain in force for repeated use of a Statement. Setting a parameter value automatically clears its previous value. However, in some cases it is useful to immediately release the resources used by the current parameter values; this can be done by calling clearParameters.
public void setCharacterStream(int paramIndex, java.io.Reader reader, int length) throws java.sql.SQLException
Reader
object, which is the given number of characters long.
When a very large UNICODE value is input to a LONG
parameter, it may be more practical to send it via a
java.io.Reader. JDBC will read the data from the stream
as needed, until it reaches end-of-file. The JDBC driver will
do any necessary conversion from UNICODE to the database char format.
Note: There are restrictions to use this method to access CLOBs in database. To avoid data lossage, please read Oracle JDBC documents or Reademe for details.
parameterIndex
- the first parameter is 1, the second is 2, ...x
- the java reader which contains the UNICODE datalength
- the number of characters in the streampublic void setDate(int paramIndex, java.sql.Date x, java.util.Calendar cal) throws java.sql.SQLException
Calendar
object. Since Oracle database
doesn't support timezone for DATE. This method set the same
value as setDate(idx, x).public void setTime(int paramIndex, java.sql.Time x, java.util.Calendar cal) throws java.sql.SQLException
Calendar
object. Since Oracle database
doesn't support timezone for DATE. This method set the same
value as setTime(idx, x).public void setTimestamp(int paramIndex, java.sql.Timestamp x, java.util.Calendar cal) throws java.sql.SQLException
Calendar
object. Since Oracle database
doesn't support timezone for DATE. This method set the same
value as setTimestamp(idx, x).public void addBatch() throws java.sql.SQLException
public void addBatch(java.lang.String sql) throws java.sql.SQLException
public void clearBatch() throws java.sql.SQLException
public int[] executeBatch() throws java.sql.SQLException
Commands are executed in the order in which they were added to the batch. This method closes the calling Statement object's current set if one is open. The statement's internal list of batch commands is reset to empty once this method returns.
public void setDisableStmtCaching(boolean cache)
cache
- Set it to true, if you don't want this
statement to be cached.public void setFormOfUse(int paramIndex, short formOfUse)
public void setURL(int parameterIndex, java.net.URL x) throws java.sql.SQLException
java.net.URL
value.
The driver converts this to an SQL DATALINK
value
when it sends it to the database.parameterIndex
- the first parameter is 1, the second is 2, ...x
- the java.net.URL
object to be setpublic java.sql.ParameterMetaData getParameterMetaData() throws java.sql.SQLException
public OracleParameterMetaData OracleGetParameterMetaData() throws java.sql.SQLException
oracle.jdbc.PreparedStatement
object's parameters.oracle.jdbc.OracleParameterMetaData
object
that contains information about the number, types and
properties of this PreparedStatement
object's parametersOracleParameterMetaData
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |