|
|
|
|
Quelle RowSet.java
Sprache: JAVA
|
|
* Copyright (java.lang.StringIndexOutOfBoundsException: Range [0, 15) out of bounds for length 0
DO ALTERORNOTICESORFILE
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
* particular file as subject to the "Classpath" exception as provided
*can containjava.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
*
* This code is distributed in the hope that* Ifthe limit is exceeded, the excess rows are silently dropped.
* ANY WARRANTY; without even thedefaultisforrowset be
FOR PARTICULAR the
* updatable.
* accompanied this code).
*
* You should have java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 8
* 2 along with this -java.lang.StringIndexOutOfBoundsException: Range [36, 35) out of bounds for length 60
* Inc., 51 Franklin St, Fifth *@return the currentmaximum number of rows that this {@ *{ thrown
*
* Please*
* or visit www.oracle.com * @return {@code true} if * object can contain; zero means
* questions.
*/
package *read tjava.lang.StringIndexOutOfBoundsException: Range [40, 39) out of bounds for length 59
import java.sql.*;
import java.io.*;
import java.math.*;
import java.util.*;
/**
* The interface that adds support to java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 22
.
* rowset which can used as a
/java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
configured andexecuted time
* <P>
* The {@code given {code boolean}.
*interface provides a *@ram {ode java.lang.StringIndexOutOfBoundsException: Range [31, 29) out of bounds for length 61
updatable
*some from the source Agroup *@ accesserror occurs
* {@* java.lang.StringIndexOutOfBoundsException: Range [29, 22) out of bounds for length 60
* * {@code} @ CHAR,
*This java.lang.StringIndexOutOfBoundsException: Range [16, 15) out of bounds for length 75
* a relational*
* <P>
* @ java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
* interface access
anevent on ,
* such as a change in its value.
*
Sets maximum of java.lang.StringIndexOutOfBoundsException: Range [38, 37) out of bounds for length 71
* implemented using the rest of the JDBC API. In other words, a
* {@code RowSet} implementation is a layer of software that executes "on top"
java.lang.StringIndexOutOfBoundsException: Range [38, 37) out of bounds for length 73
* be provided by anyone, including JDBC driver vendors who want to
* provide a {@code RowSet} implementation as part of their JDBC products.
*@java.lang.StringIndexOutOfBoundsException: Range [13, 12) out of bounds for length 59
* A {@code RowSet} object may make a connection with a data source and
* maintain that connection throughout its life cycle, in which case throws ifadatabase error
* called a <i>connectedjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
* a data source, get data from it, and then close the connection. Such a
* is called a <i>disconnected*@java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 5
* changesto its * @throws SQLExcepta
ust reestablish java.lang.StringIndexOutOfBoundsException: Range [76, 75) out of bounds for length 85
* <P>
* A disconnected rowset may have a {@code Reader} (a {@code RowSetReader} object If java.lang.StringIndexOutOfBoundsException: Range [30, 29) out of bounds for length 68
* and a writer (a {@code RowSetWriter} object) associated with it.
**param newquery limit seconds;zero means
* with data, including getting data from a non-relational data source. The
* writer can also
* made to the rowset's data back to the underlying data source.
* <P>
*Rowsetsareeasy use. The @ RowSet} interface extends the standard
* { /**
*escape processing for this {@ *This methodused to change the a,whichisjava.lang.StringIndexOutOfBoundsException: Index 68 out of bounds for length 68
* Thus, developers familiar
* with the JDBC API will have to* code java.lang.StringIndexOutOfBoundsException: Range [29, 28) out of bounds for length 51
* use rowsets. In * @see java.sql.ResultSet
* @ResultSet workjava.lang.StringIndexOutOfBoundsException: Index 80 out of bounds for length 80
*
* @since 1.4
*/
public interface RowSet extends ResultSet {
//-----------------------------------------------------------------------
// Properties
//-----------------------------------------------------------------------
//-----------------------------------------------------------------------
// The following properties may be used to create a Connection.
//-----------------------------------------------------------------------
/**
trieves *@eturn thecurrent query timeoutlimit in
* create a connection if it uses the {@ *
level ResultSet}java.lang.StringIndexOutOfBoundsException: Range [69, 70) out of bounds for length 69
* The default value is {@code null}.
*
* @return a string url
* @throws SQLException if a database access error occurs
* @see #setUrl
*/
String getUrl() throws SQLException;
/**
* /---------------------------
* {@code DriverManager} to create a connection.
*
* Setting this property is optional. If a URL is used, a JDBC driver
* that accepts the URL must be loaded before the
*rowset is toconnect adatabase. rowset java.lang.StringIndexOutOfBoundsException: Index 69 out of bounds for length 59
* internally to create a database connection when reading java.lang.StringIndexOutOfBoundsException: Index 63 out of bounds for length 0
* data. Either a URL or a data source name is used to create a
* whicheverwas to value most recently
*
* @param url a string value; may be {@code null}
*@SQLExceptionif databaseaccess
* @see #getUrl
*/
void setUrl(String ponejava.lang.StringIndexOutOfBoundsException: Range [28, 27) out of bounds for length 74
/**
* Retrieves the logical name that identifies the data source
*{code java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
*
* @return a data source name
* @see #setDataSourceName
tSQLException if a database access error occurs
*/
String getDataSourceName();
/**
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
{String}
* java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
* The value of the data * Sets the concurrency of thisc }objectto
* a {@code DataSource} object that has been registered with a naming
* service. thedesignated parameter java.lang.StringIndexOutOfBoundsException: Range [40, 39) out of bounds for length 57
* used to create a connection to the data *P c}
*
* @param name java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 0
* object; may be {@code null}
throws SQLException if a database access error occurs
* @see #getDataSourceName
*/
void setDataSourceName(String name) throws SQLException;
/**
*Retrieves the used tocreate database connection for this
* {@code RowSetg*Sets * @throwjava.lang.StringIndexOutOfBoundsException: Range [49, 46) out of bounds for length 82
* The username*@ince .java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17
@execute. It sqlType
the inin {@RowSet} '
*commandto { NULL.This the {code
* @return the username * shouldbe for userdefinedtypes()and{codeREF}
* @ee #setUsername
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
String getUsername();
/**
* Sets * @paramparameterName theparameter
*iven {@odeString}.
*
* @param name a user name
* @throws SQLException *aNULL @ REF} thecasea
* @see #getUsername
void setUsername(String name) throws SQLException;
/**
* void setNull java.lang.StringIndexOutOfBoundsException: Index 72 out of bounds for length 72
password propertyis set at run time before calling the method
* {@code execute}. It is not usually part of the * should be used for SQL user-defined types (UDTs) and {@code
*ofa {code RowSet} object
*
* @return the password for making a database connection
* @see #setPassword
*/
String getPassword();
*method betoseta java.lang.StringIndexOutOfBoundsException: Range [53, 52) out of bounds for length 70
* Sets the database password for this {@code RowSet} object to
* the given {@code String}.
*
* @param password the password string
* @throws SQLException if a database access error occurs
see #etPassword
*/
void setPassword(String password) throws SQLException;
/**
*the java.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 39
* {@code RowSet} object.
*
* eturn the transactionlevel;one of
* {@code Connection.TRANSACTION_READ_UNCOMMITTED},
* {@Connection},
* {@code Connection.TRANSACTION_REPEATABLE_READ}, or
*{ode .}
* @see #setTransactionIsolation
*/
int(;
/**
* Sets the transaction isolation level * the name is the type name of the parameteris typename .Fora@REF}
*
* @param level the transaction isolation level; one of
* {@code Connection
* {code Connection.TRANSACTION_READ_COMMITTED},
* {@code Connection.TRANSACTION_REPEATABLE_READ}, or throwsSQLException;
{codeConnection.TRANSACTION_SERIALIZABLE}
a databaseaccesserror
* @ version the{setNull
*/
voidjava.lang.StringIndexOutOfBoundsException: Range [31, 30) out of bounds for length 62
/**
* Retrieves the {@code Map} object associated typeNameparameteris.
* {@code RowSet} object, which specifies the custom mapping
* of SQL user-defined types, if any. The default is for the
* type map to be empty.
*
* * NULL or . case user-type
*java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
be mapped
*
* @throws ;
* @see #setTypeMap
*/
<Class>) *ajava.lang.StringIndexOutOfBoundsException: Range [21, 20) out of bounds for length 74
/**
* Installs the given {@code java.util.Map} object as the default
* Although is intendedfor - andRef parametersjava.lang.StringIndexOutOfBoundsException: Index 67 out of bounds for length 67
*be for definedand REFparameters.Examples
* @param map a {@code java.util.Map} object containing the names of
*SQLuser-defined types classes to are
* to be mapped
* @throws SQLException if a database access error occurs
s#java.lang.StringIndexOutOfBoundsException: Range [21, 22) out of bounds for length 21
*/
voidutil<Class>)java.lang.StringIndexOutOfBoundsException: Index 75 out of bounds for length 75
//-----------------------------------------------------------------------
// The following properties may be used to create a Statement. param fully nameofan SQLuser- type;
//-----------------------------------------------------------------------
/**
scommand java.lang.StringIndexOutOfBoundsException: Range [61, 60) out of bounds for length 61
*
* The command property contains a command string, which must be an SQL
* query, that can be executed to fill the rowset with data.
* The default value is {@ @ SQLException if a database access error occurs or
*
* @return the command string
* @see #setCommand
*/
String getCommand();
* this method
* SQL query.*ince 1.4
*
* This property is optional */
* when a rowset gets its data from a data source that does not java.lang.StringIndexOutOfBoundsException: Index 71 out of bounds for length 28
* commands, such as a spreadsheet.
*
* t if accesserroror
* {@code RowSet} object; may be {@code null}
@throws ifadatabase access error occurs
* @see #getCommand
*/
void setCommand(String cmd) throws SQLException;
/**
* Retrieves whether this {@code RowSet} object is read- 14
If updates possible,defaultis a to
* updatable.
* <P>
Attemptsto update read-only rowset will result in an
* {@code SQLException} being thrown.
*
* @return {@
* only;
* @see #setReadOnly
*/
boolean isReadOnly;
/**
* Sets whether this {@code RowSet} object is read-only to the
* given {@code boolean}.
*
* @param value {@code true} if readonly c }if
* updatable
*@hrows SQLExceptionifadatabase access error occurs
* @see #isReadOnly
*/
void(boolean )SQLException
/*
* Retrieves the maximum number of bytes that may be returned
* for certain column
Thislimit applies thename ofthe parameter
* {@code VARBINARY}, {@code LONGVARBINARYBINARY}, {@code CHAR},
*{code } @java.lang.StringIndexOutOfBoundsException: Range [29, 28) out of bounds for length 56
* and {@code NVARCHAR} columns.
* If the limit is exceeded, the excess data is silently * this method is called on a closed {@code CallableStatement
*
java.lang.StringIndexOutOfBoundsException: Range [13, 12) out of bounds for length 73
*isno
* @throws SQLException if a database access error occurs
*@ee#setMaxFieldSize
*/
int getMaxFieldSize() throws SQLException;
/**
* Sets the maximum number /
* value to the given number of bytes.
* This limit applies only to {@code BINARY},
* {@code VARBINARY}, *to @java.lang.StringIndexOutOfBoundsException: Range [49, 46) out of bounds for length 82
* {@code VARCHAR}, { void setBoolean(String {odeTINYINT value java.lang.StringIndexOutOfBoundsException: Range [49, 48) out of bounds for length 68
* {NVARCHAR @xthe
*If limit is exceeded, the excess data is silently discarded.
*
* @param max the new max column size limit in bytes; zero means unlimited
* @throws * Sets the designatedjava.lang.StringIndexOutOfBoundsException: Range [37, 36) out of bounds for length 74
* @see #getMaxFieldSize
*/
void setMaxFieldSize(int} java.lang.StringIndexOutOfBoundsException: Range [44, 43) out of bounds for length 72
/**
* Retrieves the maximum number of rows that this {@java.lang.StringIndexOutOfBoundsException: Index 58 out of bounds for length 6
* object can contain.
* If the limit is exceeded, the excess rows databasejava.lang.StringIndexOutOfBoundsException: Range [49, 48) out of bounds for length 64
java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
* @* @since14
* object can contain; zero means unlimited
* @throws SQLException if a database access error occurs
*@#etMaxRows
*/
getMaxRows)
/**
* Sets the maximum number of * #
can contain the number.
rows are silentlydropped.
*
* @param max the new maximum number of /**
* @throws SQLException if a database access error* tothe givenJava @code value.driverconverts
* @see #getMaxRows
*/
void setMaxRows(int max) throws SQLException;
/**
* void ( java.lang.StringIndexOutOfBoundsException: Range [36, 34) out of bounds for length 65
/**
* If escape scanning is enabled, which is the default, the driver will do
* escape * SQL{codeSMALLINTvalue it tothe
*
* @return {@code true} if escape processing is enabled;
*{ false}if is
*throwsif
* @see #setEscapeProcessing
*/
) java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 52
/**
java.lang.StringIndexOutOfBoundsException: Range [28, 27) out of bounds for length 64
* off. If *@ java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
* escape substitution*/
* @param enable {@code true} to enable escapejava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
* {@code false} to disable it
* @throws SQLException if a database access error occurs
* @see #getEscapeProcessing
*/
void setEscapeProcessing(boolean * Sets the designated parameter in thiscode RowSet}object'
/**
* Retrieves the maximum number of seconds the driver will wait for
* java.lang.StringIndexOutOfBoundsException: Range [28, 27) out of bounds for length 28
If this limit is exceeded, an {@code SQLException} is thrown.
*
* @return the current query timeout limit in seconds; zero means
* unlimited
* @throws * The this
@ee setQueryTimeout
*/
int void (nt ) java.lang.StringIndexOutOfBoundsException: Index 61 out of bounds for length 61
/**
* Sets the maximum * Sets the designatedparameter to the java.lang.StringIndexOutOfBoundsException: Range [50, 49) out of bounds for length 73
* a statement to execute to the given java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 6
* If this limit is exceeded, an {@code SQLException} is thrown.
*
* @param seconds the new query timeout limit in seconds; zero means
* that there is no limit
* @throws SQLException if a database access error occurs
* @see #getQueryTimeout
*/
void *this
/**
* Sets the type of this {@code RowSet} object to java.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 17
*This the type a is
* default read-only and non-scrollable *Sets * @param parameterInd is 1second java.lang.StringIndexOutOfBoundsException: Range [67, 66) out of bounds for length 73
*
* @param type one of the {@code
* {@code ResultSet.TYPE_FORWARD_ONLY},
* {@code ResultSet.TYPE_SCROLL_INSENSITIVE}, or
@ResultSet * @throws SQLException if a database access
* @throws SQLException if a database access error occurs
*@ee ..esultSetg
*/
intthrowsSQLException;
/*
* Sets the concurrency of this {@code RowSet} object to the given*
* to *aram the of java.lang.StringIndexOutOfBoundsException: Range [44, 43) out of bounds for length 53
* of a rowset, which is by default {@code ResultSet.CONCUR_READ_ONLY
* java.lang.StringIndexOutOfBoundsException: Range [28, 27) out of bounds for length 53
* @param *@hrowsjava.lang.StringIndexOutOfBoundsException: Range [28, 27) out of bounds for length 64
oncurrencylevel:{code ResultSet
* {@code ResultSet.CONCUR_UPDATABLE}
*@ java.lang.StringIndexOutOfBoundsException: Range [26, 25) out of bounds for length 59
* @see ResultSet#getConcurrency
*/
void setConcurrency(int concurrency) throws SQLException;
java.lang.StringIndexOutOfBoundsException: Index 75 out of bounds for length 75
// Parameters
//-----------------------------------------------------------------------
/**
* The {@ * @# ifjava.lang.StringIndexOutOfBoundsException: Range [54, 53) out of bounds for length 82
*bythe @ RowSet ' .
Parameters are set at run time, as opposed to design time.
*/
/**
* Sets the designated parameter in this {@code RowSet} object's SQL
* command to SQL {@code NULL}.
*
* <P><B>Note:</B> You must specify the parameter's SQL type.
*
* @param parameterIndex the first parameter is 1, the second is 2, ...
* @param sqlType a SQL type code defined by {@code java.sql.Types}
**java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
*/
void setNull( Thejava.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 0
/**
* Sets the designated parameter to SQL {@code NULL}.
*
* <P><B>Note:</B> You must specify the parameter's SQL type.
*
* @ this method is called java.lang.StringIndexOutOfBoundsException: Range [41, 40) out of bounds for length 66
* @param sqlType the SQL type code defined in {@code java.sql.Types}
**/
* this method is void setFloat(String parameterName, float x) throws SQLException;
*@java.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 82
* this method
* @since 1.4
*/
void setNull(String parameterName, int sqlType) throws SQLException;
/**
* Sets the designated parameter in this {@code RowSet} object's SQL
* command to SQL {@code NULL}. This version void setFloat(tring, float ;
* should be thegivenJava {double value.java.lang.StringIndexOutOfBoundsException: Range [49, 48) out of bounds for length 72
* parameters. Examples of UDTs include: *an{codeDOUBLE sending todatabase
* {@code JAVA_OBJECT}, and named array types.
* *Setsthe java.lang.StringIndexOutOfBoundsException: Range [27, 26) out of bounds for length 76
* <P><B>Note:</B> To be portable, applications must give the
*SQL type qualifiedSQLtype when
* a NULL UDT or {@code REF} parameter. In to givenjava.lang.StringIndexOutOfBoundsException: Range [55, 54) out of bounds for length 76
nameis the typeofthe . For @ode }
* parameter, the name is the type name of the *
aram java.lang.StringIndexOutOfBoundsException: Range [30, 29) out of bounds for length 35
* it may ignore it.
*
* Although it is intended for UDT and {@code Thethis
@ SQLException if a database access error occurs
@java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
* the typeName parameter* 14
*
*
* @param paramIndex the first parameter is 1, the The java.lang.StringIndexOutOfBoundsException: Range [32, 26) out of bounds for length 68
* @param sqlType a value from {@code java.sql.Types}
* @param typeName the fully qualified *anSQL{ java.lang.StringIndexOutOfBoundsException: Range [34, 33) out of bounds for length 68
* *
parameter is1 is ,..
* @throws SQLException if a database java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 17
*/
( /
throws SQLException;
/**
* Sets the designated *Sets
*versionthe{codesetNull} should
* be used for user-defined types and REF type parameters. Examples
* of user-defined types include: STRUCT, DISTINCT, JAVA_OBJECT, and
* named array types.
*
* <P><B>Note:</B> To be portable, applications must give the
* SQL type code and the fully-qualified SQL type name when specifying
* called aclosed {@ode CallableStatement}
* the name is the type name of the parameter *Sets the thegiven @Stringjava.lang.StringIndexOutOfBoundsException: Index 76 out of bounds for length 76
* parameter, the name is the type name of /**
*
itmay * @param paramethejava.lang.StringIndexOutOfBoundsException: Range [37, 36) out of bounds for length 53
*
* Although is intended foruserdefined and
* this method may be used to set a null parameter of *{ methodjava.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 66
* If the parameter does not have*@java.lang.StringIndexOutOfBoundsException: Range [14, 13) out of bounds for length 17
* typeName is ignored.
*
*
aram
* @param sqlType a value from {@code java.sql. thearray{@ java.lang.StringIndexOutOfBoundsException: Range [52, 51) out of bounds for length 77
param thethe ofan SQL java.lang.StringIndexOutOfBoundsException: Range [76, 75) out of bounds for length 76
* ignored if the parameter * The driverconvertsthis
*SQL @code REF}
* @throws SQLException if a database access error occurs or
* this method is called on a closed {@code CallableStatement}
hifthejava.lang.StringIndexOutOfBoundsException: Range [66, 65) out of bounds for length 82
* this method
* @since 1.4
*/
void /
throws void setBytes(int paramete,byte[) ;
/**
* Sets/**
ava {@ode } The java.lang.StringIndexOutOfBoundsException: Range [66, 65) out of bounds for length 73
* an SQL {@code BIT} value before sending it to the database.
*
param parameterIndexthe first parameter is 1, the second is 2, ...
* @param x the parameter value
SQLException if a database access error occurs
*/
void setBoolean(int parameterIndex, boolean x)* sjava.lang.StringIndexOutOfBoundsException: Range [14, 13) out of bounds for length 17
/**
*
to SQL @ @
*
java.lang.StringIndexOutOfBoundsException: Range [32, 31) out of bounds for length 53
* @param x the parameter value
* @throws SQLException if a database access error occurs or
* this method is called on a closed {@code CallableStatement}
* @see #getBoolean
@ JDBC not
* this method
* @since 1.4
*/
java.lang.StringIndexOutOfBoundsException: Range [73, 72) out of bounds for length 73
/**
* Sets the designated parameter in this {@code RowSet} object's command
* to the given Java {@code byte} value. The driver converts this to
SQL{@ TINYINT}value beforesending to database
*
* @param parameterIndex the first java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 5
* @param x the parameter value
* @throws SQLException if a database access error occurs
*/
void setByte(int parameterIndex, byte x) throws SQLException;
/**
*Setsthe designated * an SQL {@code TIMESTAMP} value sending java.lang.StringIndexOutOfBoundsException: Range [71, 69) out of bounds for length 80
* The driver converts this
* to an SQL {@code TINYINT} value when it sends it to the java.lang.StringIndexOutOfBoundsException: Index 71 out of bounds for length 4
*
* @java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 5
* @param x the parameter value
* @throws SQLException if a database access error occurs or
closed {@code CallableStatement}
* @throws SQLFeatureNotSupportedException if the JDBC driver does not support
* this method
* @see # database.
* @
*/
voidsetByteString , byte x)SQLException;
/**
* @odeRowSet}'
* to the given Java {@code short} value. The driver converts this methodcalledajava.lang.StringIndexOutOfBoundsException: Range [41, 40) out of bounds for length 66
* an SQL {@code SMALLINT} value before sending it java.lang.StringIndexOutOfBoundsException: Range [0, 55) out of bounds for length 7
*
* @param parameterIndex the first parameter is 1, the second is the inthis{code }
* @param x the parameter value
* @throws SQLException if a database access error occurs
*/
void*until endfile
/
* java.lang.StringIndexOutOfBoundsException: Range [36, 26) out of bounds for length 75
* The driver converts this
* to an SQL {@code SMALLINT} value when it sends it to the database.
*
* @param parameterName the name of the parameter
* @param x the parameter value
*@java.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 64
* this method is called on a closed {@code CallableStatement}
* @throws * @throws SQLException if a databaseaccesserroroccurs
* this method
* java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
* @since paramx Java void setDate(int parameterIndex,x SQLException
*/
void setShort
/**
*Sets the designatedin this @codeRowSet} objects command
* to the given Java {@code int} value. The driver converts this to
* an SQL {@code INTEGER} value before sending it to the database.
*
* @param parameterIndex the first parameter is 1, the second is 2, ...
* @param x the parameter {@javaio..willbe from stream
* @throws SQLException if a database access error occurs
*/
void setInt(int parameterIndex, int x) throws SQLException;
/**
* Sets the designated parameter to the given Java {@code int} value.
* The driver converts this
* to an SQL {@ java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
*@java.lang.StringIndexOutOfBoundsException: Range [28, 27) out of bounds for length 53
* @param x the parameter value
* @throws SQLException if a database access error occurs or
* this method is called on a closed {@code CallableStatement}
* @throws SQLFeatureNotSupportedException if the JDBC driver does not support
* this method
* @see #getInt
* @since 1.4
*/
t ;
/**
parameter in {@ode RowSet object's
* to the given Java { @aram java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 18
* an SQL {@code BIGINT} value before sending it to the database.
*
* @param parameterIndex the first parameter is 1, the second is 2/**
* @param x {@java. java.lang.StringIndexOutOfBoundsException: Range [52, 51) out of bounds for length 52
* @throws SQLException if a database access error occurs
*/
void setLong(int parameterIndex, long x) throws SQLException;
/**
* Sets the designated parameter to the given Java {@code long} value.
* The driver converts this
* oanSQL @code } it sendsit to thedatabase
*
* @param parameterName the name of the parameter
* @param x the parameter value
* @throws SQLException if a database access error occurs or
* this method is called on a closed * @SQLFeatureNotSupportedExceptionif does support
* @seegetTimestamp
* * @since14
* @see #getLong
* @since 1.4
*/
voidStringparameterName x) ;
/**
/**
Sets the parameter {@ode RowSet}object's command
* an SQL {@code REAL} value before sending it to the database.
*
* @param parameterIndex the first parameter is 1, the second is 2, ...
value
* @throws SQLException if a database access error occurs
*/
void setFloat(int parameterIndex, float* {code java.objectdata be fromstream
/**
* Sets the designated parameter to as -file .
* The driver converts this
*toan {code FLOAT} value when it sends it to the database.
*
* @param parameterName the name of the parameter
* @param x the parameter value
* @throws SQLException if a database access error occurs or
* this method is called on a closed {@code CallableStatement}
* the driverdoes not support
* this method
* @see # * @throws SQLExcepif a database erroroccurs
* @since 1.4
*/
void setFloat(String java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 24
* Sets the designated parameter in this {@code RowSet} *
* to *the specified number of bytes.
* an SQL {@code DOUBLE} value before sending it to the database. When very ASCIIvalue input {@odeLONGVARCHAR}
*
* @param parameterIndex the first parameter is 1, {@iojava.lang.StringIndexOutOfBoundsException: Range [34, 33) out of bounds for length 69
* @param x the parameter value
wsSQLException a java.lang.StringIndexOutOfBoundsException: Range [47, 46) out of bounds for length 59
*/
setDouble parameterIndex x throws *Javaorownthatjava.lang.StringIndexOutOfBoundsException: Range [61, 60) out of bounds for length 64
/**
*Sets parameter to thegiven {java.lang.StringIndexOutOfBoundsException: Range [69, 68) out of bounds for length 76
* The driver java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 4
an{ java.lang.StringIndexOutOfBoundsException: Range [38, 37) out of bounds for length 71
*
* @param parameterName the name of the parameter
paramx parameter java.lang.StringIndexOutOfBoundsException: Range [35, 36) out of bounds for length 35
* @throws SQLException if a database access error occurs or
* this method is called on a closed {@code CallableStatement}
* @throws SQLFeatureNotSupportedException if the JDBC driver does not support
* this method
* @see #getDouble
*@since @java.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 64
*/
voidjava.lang.StringIndexOutOfBoundsException: Range [19, 18) out of bounds for length 71
/**
* Sets the designated parameter in this {@code RowSet} object's command
* to the given {@code java.math.BigDecimal} value.
* The driver converts this to
databasejava.lang.StringIndexOutOfBoundsException: Index 68 out of bounds for length 68
*
* @ voidsetAsciiStream(String parameterName, java.io.InputStream x, int length)
**
* @throws SQLException if a database access error * Sets the designated parameter in this {@code RowSet}* doanyjava.lang.StringIndexOutOfBoundsException: Range [35, 34) out of bounds for length 76
*/
void setBigDecimal(int parameterIndex, BigDecimal x) throws SQLException;
/**
* Sets the designated parameter to the given
@ math pjava.lang.StringIndexOutOfBoundsException: Range [28, 27) out of bounds for length 53
*driverconvertsthistoan java.lang.StringIndexOutOfBoundsException: Range [57, 56) out of bounds for length 68
* it sends it to the database.
*
name the thejava.lang.StringIndexOutOfBoundsException: Range [35, 34) out of bounds for length 72
*@ lengthof stream
* @hrows(parameterIndex,.ojava.lang.StringIndexOutOfBoundsException: Range [64, 62) out of bounds for length 65
{ java.lang.StringIndexOutOfBoundsException: Index 66 out of bounds for length 66
* @throws SQLFeatureNotSupportedException if the /**
method
* @see #getBigDecimal
* @since 1.4
*/
void setBigDecimal(String parameterName, BigDecimal x) throws SQLException;
* Sets the designated parameter in this {@codejava..,
*to given {code } . length throwsSQLException
* database, the driver converts this to an SQL {@code VARCHAR} or
* {java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
* to the driver's limits on {@code VARCHAR} values.
*
* @param parameterIndex the first parameter is 1, the second is 2, ...
* @param x the parameter value
* @throws SQLException if a database access
*/
setString(int parameterIndex,String) throws SQLException;
/**
* Sets the designated Java java.lang.StringIndexOutOfBoundsException: Range [26, 25) out of bounds for length 66
* to an SQL {@code VARCHAR} or {@ *
* (depending on the argument's
* size relative to the driver doany ASCII the java.lang.StringIndexOutOfBoundsException: Range [60, 59) out of bounds for length 72
* when it sends it to the database.
*
* @param parameterName the name of the parameter
* @param x the parameter value
* @throws SQLException if a database * <P><B>Note:</B> Consult your JDBC driver do to if
* this method is called on a closed {@code CallableStatement}
* @throws java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 4
* this method
* @see #getString
*/
* * java.lang.StringIndexOutOfBoundsException: Range [23, 22) out of bounds for length 75
/**
* Sets the designated parameter in this {@code RowSet} object's command
* to the given Java array of {@code byte} values. Before sending it to the
* database, the driver converts this to an SQL {@code VARBINARY} or
*@ java.lang.StringIndexOutOfBoundsException: Range [33, 32) out of bounds for length 75
* to the driver's limits on {@code VARBINARY} values.
*
* @param parameterIndex the first parameter is 1, the second is 2, ...
* @param x the parameter value
* @throws SQLException if a database access error occurs
setBytesi, byte ]throws SQLExceptionjava.lang.StringIndexOutOfBoundsException: Index 66 out of bounds for length 66
/**
* Sets the designated parameter to the given Java array of * standardinterface.
* The driver converts this to an SQL {@code VARBINARY} or
LONGVARBINARY}(depending the 's size
* to the driver's limits on {@code VARBINARY} values) when it sends
* it to the database.
*
* @param parameterName the name of the parameter
* @param x the parameter value
* @throws SQLException if a database access error occurs or
method on {code }
* @throws SQLFeatureNotSupportedException if the JDBC driver does not support length)throws SQLException standard .
*method
* @see #getBytes
@ * {@codesetAsciiStream hichtakes a java.lang.StringIndexOutOfBoundsException: Range [61, 60) out of bounds for length 61
*/
void setBytes(String parameterName, byte x[]) throws SQLException;
/**
the designated in this @ode }' command
* the {@odeDate} valuevalue. java.lang.StringIndexOutOfBoundsException: Range [58, 57) out of bounds for length 74
* default {@code java.util.Calendar} to calculate the date.
@ the first 1,thesecond is ,..
* @param x the parameter value
* @throws SQLException if a database access error occurs
*/
void setDate(int parameterIndex, java.sql.Date x) throws SQLException;
/**
* Sets the designated parameter in this {@code RowSet} object <>B>ote:/>This object bestandard
* to the given {@code java.sql.Time} value. The driver converts this to
* an SQL {@code TIME} value before sending it to {codejava.io.nputStream} object.Thedata beread from the
* default {@code java.util.Calendar} to calculate it.
* @param parameterIndex the first parameter is 1, the second is 2, ...
* @param x the parameter value
*@hrowsSQLException if a database access error occurs
*/
void setTime(int parameterIndex, java.sql.Time x) throws SQLException;
/**
* Sets the designated parameter in this {@code RowSet} object's command
* to the given {@code java.sql.Timestamp} value. The driver converts this to
* an SQL {@code TIMESTAMP} value before sending it to the database, using the
* default {@code java.util.Calendar} to calculate it.
*
*@ java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 31
* @param x the parameter value
*parameter, it be more practical
*/
void setTimestamp( * s needed until end-fileis * When a very large binary value is
;
/**
* Sets the designated parameter to the given { <P><>Note:/> either standard
* java.lang.StringIndexOutOfBoundsException: Range [17, 18) out of bounds for length 17
hen it sends to
* * @param x t Javainput java.lang.StringIndexOutOfBoundsException: Range [36, 35) out of bounds for length 75
*
* @param parameterName the name of the parameter
@ the value
* @throws SQLException if a database access error occurs or
on a closed code }
* @throws SQLFeatureNotSupportedException if the JDBC driver does not support
* this method
* @see #getTimestamp
* @since 1.4
*/
void setTimestamp(String parameterName, java.sql.Timestamp x)
throws SQLException;
/**
* Sets the designated parameter in this {@code RowSet} object's command
* to the given *
*Itmay more to very value via a
* {@code *asneeded until-of- is reached.The occurs
* parameter. The driver will read the data from the stream
* as needed until it reaches end-of-file.
*
* <P><B>Note:</B> This stream object can either be a standard
*Javastream or own subclass that the
* standard interface.
*
the 2,.java.lang.StringIndexOutOfBoundsException: Index 73 out of bounds for length 73
* @param x *{@code setAsciiStream} which takes a length parameter.
* @param length the number of bytes in the stream
* @throws SQLException if a database access error occurs
*/
(ioInputStream , intjava.lang.StringIndexOutOfBoundsException: Index 76 out of bounds for length 76
throws SQLException;
/**
* Sets the designated parameter to the given input stream, which will have
* the specified number of bytes.
* When a very large ASCII value is input to a /
* {@code java.io. /**
of-is driverwill
* do any necessary * <P><B>Note:</B> Consult driver documentationdetermine if
*
* <P><B>Note:</B> This stream object can * {@code setCharacterStream} which takes a length.
* Java stream object or your own subclass that implements the
java.lang.StringIndexOutOfBoundsException: Range [26, 25) out of bounds for length 26
*
* @param x the Java input stream that contains the ASCII parameter value
*@param length
* @throws SQLException if a database access error occurs or
* this method is called * Java stream object or yourown subclassthatjava.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 15
on if notsupport
* this method
* @since 1 * might be moreefficientto versionjava.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 51
*/
void setAsciiStream(String parameterName, java.io.InputStream x, int length)
throws
/**
* Sets the designated parameter in this {@code RowSet} object's command
* to the given {@code java.io.InputStream} value.
* It * as neededas endof- is . The driver
* {@code java.io.InputStream} rather than as a {@code LONGVARBINARY}
* parameter. The driver will read the data from the stream
java.lang.StringIndexOutOfBoundsException: Range [0, 7) out of bounds for length 0
*
* <P><B>Note:</B> This stream object can either be a standard
* Java stream object or your own subclass that implements the
* standard interface.
*
* @param parameterIndex the first parameter is 1, the second is 2, .. P<N<B>your JDBC if
px streamwhichthe parametervalue
* @param length the number of bytes in the stream
* @throws SQLException if a database access error occurs
*/
void setBinaryStream(int parameterIndex, java.io.InputStream x,
int length) throws SQLException;
/**
* Sets the designated parameter to the given input stream, which will have
* void setCharacterStream,
* When a very large binary value is input to a {@code * might bejava.lang.StringIndexOutOfBoundsException: Range [24, 23) out of bounds for length 53
* parameter, it may be more practical to send it via a
* {@code java.io.InputStream} object. The data will be read from the stream
* as needed until end-of-file is reached.
*
* <P><B>Note:</B> This stream object can either standard
*Javastreamor ownthatimplementsthe
* standard interface.
*
*@aram thename theparameter
* @param x the java input stream which contains the binary parameter value
* @aram length number in stream
* @throws SQLException if a database access error occurs or
* this method is called on a closed {@code CallableStatement *java.lang.StringIndexOutOfBoundsException: Range [12, 11) out of bounds for length 12
* @throws SQLFeatureNotSupportedException if the JDBC driver does not support
* this method
* @since 1.4
*/
void setBinaryStream(String parameterName, java.io.InputStream x,
length)throwsSQLException
/**
parameterin this @RowSet object's
* to the given {@code java.io.Reader} value.
*may be to send large UNICODE value via
* {@code java.io.Reader} rather than as a {@code LONGVARCHAR}
* parameter. The driver will read the data from the stream
until java.lang.StringIndexOutOfBoundsException: Range [32, 31) out of bounds for length 44
*
* <P><B>Note:</B> This stream the in @ode java.lang.StringIndexOutOfBoundsException: Range [57, 56) out of bounds for length 74
* Java stream object or your own subclass that implements the
* * Unicodedata
*
* @param parameterIndex the first parameter is 1, the second is 2, ...
contains data
* to be set
* @param length the number of characters in * @1.6
java.lang.StringIndexOutOfBoundsException: Range [13, 12) out of bounds for length 59
*/
void setCharacterStream(int parameterIndex **
Readerreader,
int length) * When a very large UNICODE value input to {code LONGVARCHAR}
/**
* *{cjava.lang.StringIndexOutOfBoundsException: Range [12, 11) out of bounds for length 66
* object, which is the given number of characters long.
* When a very large UNICODE value is input to a {@code LONGVARCHAR}
* parameter, it may it might be more java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 8
* {@code java.io.Reader} object. The data will be read from the stream
* as throws if a or
versionUNICODE to the database format.
*
* <P><B>Note * @ince 1.6
* Java stream object or your void setCharacterStream(String parameterName
* standard interface.
*
* @param parameterName the name of the parameter
* @param reader the {@code java.io.Reader} object that
* contains the UNICODE data used as the designated parameter
* @param length the number of characters in the stream
* @throws SQLException if a database access error occurs or
* this method is called on a closed {@code CallableStatement* driver does the conversion Java character formatto
* @throws SQLFeatureNotSupportedException if the JDBC driver does
* this method
* @since 1.4
*/
voidString
io reader
int length) throws SQLException;
/**
* Sets the designated parameter in this {@code RowSet} object's command
* to the given input stream.
* When a very large ASCII * or {@code java.sql.T.java.lang.StringIndexOutOfBoundsException: Range [47, 46) out of bounds for length 54
* parameter, it may be more practical to send it via a
* {@code java.io.InputStream}. Data will be read from the stream
* do any necessary conversion from ASCII to the database char format.
*
* <P><B>Note:</B> This stream object can either be a standard
* Java stream object or your own subclass that implements the
* standard interface.
* <P><B>Note:</B> Consult your JDBC driver Setsthe the the java.lang.StringIndexOutOfBoundsException: Range [65, 64) out of bounds for length 83
* it might be more efficient to use a version of
* {@code setAsciiStream} which takes
*
.
* @param x the Java input stream that contains the ASCII parameter value
* @throws SQLException if a database
* this method is called on a closed {@code PreparedStatement}
* @throws SQLFeatureNotSupportedException interface {code)
s .6
*/
setAsciiStream parameterIndex,iox
throws SQLException;
/**
* the designated java.lang.StringIndexOutOfBoundsException: Range [37, 36) out of bounds for length 63
* When a very large ASCII value is input to a {@code LONGVARCHAR}
* parameter, it may be more practical to send it via a
* {@code java.io.InputStream}. Data will be read from the stream
* as needed until end- * or {@code Array}, the java.lang.StringIndexOutOfBoundsException: Range [43, 42) out of bounds for length 71
* necessary conversion from ASCII to database <java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
*
* <P><B>Note:</B> This stream object specific java.lang.StringIndexOutOfBoundsException: Range [25, 24) out of bounds for length 36
* Java stream object or your own subclass that implements* @x the objectcontainingtheinputvalue
* standard interface.
* <P><B>Note:</B> Consult your JDBC driver documentation to determine if
* it might be more efficient to use a version of
* {@code setAsciiStream} which takes a length * the rowset should call the method {@code SQLData java.lang.StringIndexOutOfBoundsException: Range [16, 15) out of bounds for length 63
*
* @param parameterName the name of the parameter
* @param x the Java input stream that contains the ASCII parameter value
* @throws SQLException if a database access error occurs or
* this method is called on a closed {@code CallableStatement}
throws if driver does {@Struct} @.net,
* @since 1.6
*/
void setAsciiStream(String parameterName, java.io.InputStream x)
throws SQLException;
{@odeREF @ode ROWID,{code
/**
* Sets the designated parameter in this {@code RowSet} object's command
* to the given input stream.
* When a very large binary value is input to a {@code LONGVARBINARY}
* parameter, it may be more practical to send it via a
* {@code java @aram xjava.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 7
* stream as needed until end-of-file is
*
* <P><B>Note:</B> This stream object can either be a standard
* Java stream object or your own subclass that implements the
* standard interface.
* <P><B>Note:</B> Consult your JDBC driver documentation to determine if
* it might be more efficient to use a version of
* {@code setBinaryStream} which takes a length parameter.
*
* @param parameterIndex the first parameter is 1, the second is 2, ...
* @param x the java input stream which contains the binary parameter value
error
* this method is called on a closed {@code PreparedStatement}
if java.lang.StringIndexOutOfBoundsException: Range [82, 81) out of bounds for length 93
* @since 1.6
*/
void setBinaryStream(int parameterIndex, java.io.InputStream x)
database accesserror
/**
* Sets the designated parameter to the given input stream.
is to {@ode java.lang.StringIndexOutOfBoundsException: Index 73 out of bounds for length 73
* parameter, it may be more practical to send it via a
* {@code java.io.InputStream} object. The data will be read from the
* stream as needed until end-of-file is reached.
*
* <P><B>Note:</B> This stream object can either be a standard
that implements the
* standard interface. * to the
<>>: your driver to if
* it might be more efficient to use a version of
* {@code setBinaryStream} which takes a length parameter.
*
* @param parameterName the name of the parameter
@param x the java input stream which contains the binary parameter value
* @ *{NCLOB,{codeNVARCHAR @ode ,
* this method is called on a closed {@code CallableStatement}
@ java.lang.StringIndexOutOfBoundsException: Range [60, 59) out of bounds for length 95
* @since 1.6
*/
void setBinaryStream(String parameterName, java.io.InputStream x)
throws SQLException;
/**
* Sets the designated parameter in this {@code RowSet} object's command
* thethe {Reader
* object.
* When tothe scaleargumentmay java.lang.StringIndexOutOfBoundsException: Range [60, 59) out of bounds for length 78
* parameter, it may be more practical to send it via a
* {@code java.io.Reader} object. The data will be read from the stream
* as needed until end-of-file is reached. The JDBC driver will
* do any necessary conversion from UNICODE to the database char format.
*
* <P><B>Note:</B> This stream object can either be a standard
* Java stream object or your own subclass that implements the
* standard interface.
* <P><B>Note:</B> Consult your JDBC driver documentation to determine if
* it might be more efficient to use a version of
* {@code setCharacterStream} which takes a length parameter.
* @param parameterIndex the first parameter is 1, the second is see Types
* @param reader the {@code java.io.Reader} object that contains the
*Unicode data
*t if database java.lang.StringIndexOutOfBoundsException: Index 62 out of bounds for length 62
* this method is called on a closed {@code PreparedStatement}
* @throws SQLFeatureNotSupportedException if the JDBC driver does not support this method
* @since 1.6
*/
void
java.io.Reader reader)
/**
* Sets the designated parameter to the given {@code Reader}
* object.
* When a very large UNICODE value is input @throwsjava.lang.StringIndexOutOfBoundsException: Range [28, 27) out of bounds for length 62
* parameter, it may be more practical to send it via a
. . The data willberead the stream
* as needed until end-of-file is reached. The JDBC driver will
any from tothe database format.
*
* <P><B>Note:< to be thedatabase
* Java stream object or your own subclass that implements the
*standard interface.
* <P><B>Note:</B> Consult your JDBC * {@code java.lang} equivalent objects shoulused
*mightbe more a
* {@code setCharacterStream} which takes a length parameter.
*
* @param parameterName the name of the parameter
* @param reader the { , except thatit assumes a scale zero.
java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 26
* @throws SQLException if a * @param x the object containingthe input parameter value
* this method is called on a closed {@code CallableStatement}
* @throws SQLFeatureNotSupportedException if the JDBC driver does not support this method
* @since 1.6
*/
erName
java.io.Reader reader) throws SQLException;
/**
* Sets the designated parameter in this {@java.lang.StringIndexOutOfBoundsException: Range [0, 49) out of bounds for length 43
* to a {@code Reader} object. The
* {@code *value of the *this java.lang.StringIndexOutOfBoundsException: Range [19, 18) out of bounds for length 66
*driver the necessary conversion fromcharacterformat to
* the national character set in the database.
* <P><B>Note:</B> This stream object can either be a standard
* Java stream object or your own subclass that implements the
* standard interface.
* *or {code and driver not
* it might be more efficient to use a version of
* {@code setNCharacterStream} which takes a length parameter.
* @param parameterIndex of the first parameter is 1, the second is 2, ...
* @param value the parameter value
* @throws SQLException if the driver does not support national
* character sets; if the driver can detect that a data conversion
* error could occur ; if a database access error occurs; or
* this method is called on a closed {@code PreparedStatement}
theJDBCdriverdoesnot java.lang.StringIndexOutOfBoundsException: Range [82, 81) out of bounds for length 93
* @since 1.6
*/
void setNCharacterStream(int parameterIndex, Reader value) throws SQLException;
/**
* Sets the designated parameter in this {@code RowSet} object's command
* with the given Java {@code Object}. For integral values, the
*{ode lang}objects beused(or java.lang.StringIndexOutOfBoundsException: Index 70 out of bounds for length 70
* an instance of the class {@code Integer} for an {@code int}).
*
* If the second argument is an {@code InputStream} then represents before tothe * or {@code Array}, the driver should passitto databaseas
*thenumberof @param x an object representingBLOB
*{@ode }then {code }must number characters specified
*objectis java.lang.StringIndexOutOfBoundsException: Range [41, 40) out of bounds for length 85
* {@code SQLException} when the prepared java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
*
* <p>The given Java object will be converted to the targetSqlType/**
* before being sent to the database.
* <P>
* If the object is of {code }must contain the number
* the rowset should call the method {@code SQLData.java.lang.StringIndexOutOfBoundsException: Index 60 out of bounds for length 22
* to write the object to an {@code SQLOutput setObject(tringparameterName*This differs the @ setBinaryStream (,InputStream,int)
*,onjava.lang.StringIndexOutOfBoundsException: Range [16, 15) out of bounds for length 65
thedriver have do work determine whether theparameter
* {@code Struct}, {@code java.net.URL},
*or{c ,the driver pass to databasea
* value of the corresponding* @aram parameterIndex of first parameter is 1,
*
*
* p java.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 67
* abstract data types.
*
* @param parameterIndex the first parameter is 1, the second is 2, ...
* @param x the object containing the input
* @param targetSqlType the SQL type (as defined in method iscalledona closed {code PreparedStatement}java.lang.StringIndexOutOfBoundsException: Index 67 out of bounds for length 67
*tobe sent to the database. The scale argument may qualify this
* type.
*@aram scaleOrLength for {code java.ql.ypes.ECIMAL}
* or {@code java.sql.Types.NUMERIC types},
* this is the number of digits after the decimal point. For
* Java Object types {@code InputStream} and {@code Reader},
* this is the length
* of the data in the stream or {@code Reader}. For all other types,
* thisthrows SQLException;
* @throws SQLException if a database access error occurs
* @see java.* Sets the designated parameter to a {code InputStream} object.
*/
void
* methodjava.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 78
/**
* Sets the value of the designated parameter with the given object. The second
* argument must be an object type; *pjava.lang.StringIndexOutOfBoundsException: Range [12, 11) out of bounds for length 60
{code lang} equivalentshouldbeused.
*
* <p>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 {@code SQLData}),
JDBC should call themethod @ writeSQL}to writeit
* to the SQL data stream.
* If, on the other hand, the object is of a java.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 27
* {@code Ref}, {@code Blob}, {@code Clob}, {@code NClob},
* {@code Struct}, {@code java.net.URL},
* or {@code Array}, the driver should * this method is called on a closed {@codejava.lang.StringIndexOutOfBoundsException: Range [67, 65) out of bounds for length 69
**Sets the designated parameter to a {@code InputStream} object.
* <P>
* Note that this method may be used to pass database*
* specific abstract data types.
*
*@aram parameterName the parameter
* @param x the object containing thethrows SQLException
* @param targetSqlType the SQL type (as defined in java.sql.Types) to be
* sent to the database. The scale argument may further qualify this type.
* @param 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.
* @throws SQLException if a database *value .
* this method is called on a closed {@code CallableStatement}
* @throws SQLFeatureNotSupportedException if {@code targetSqlType} is
* a {@code *sent to serverasa { BLOB} When @ setBinaryStream}method is ,
@java.lang.StringIndexOutOfBoundsException: Range [14, 13) out of bounds for length 60
* {@code NCLOB}, {@code NVARCHAR}, * should sent the server as a {code LONGVARBINARY} a{code
* {@code REF}, {@code ROWID}, {@code SQLXML}
*the second is 2,..
* this data type
* @see Types
* @see #getObject
* @since 1.4
*/
void setObject *SQLException ifparameterIndex notcorrespond
throws*to aparametermarkerintheSQLstatement orifthelengthspecified
/**
* Sets the designated parameter in this {@code RowSet} object's command
* with a Java {@code Object}. For integral values, the
java.lang.StringIndexOutOfBoundsException: Range [21, 20) out of bounds for length 65
@hrows SQLFeatureNotSupportedException if the JDBCdriver does not
* of this method
*values havethe scale in java.lang.StringIndexOutOfBoundsException: Range [42, 41) out of bounds for length 50
P
thoughitsupported,itis not recommended this method
* be called with floating point input values.
/**
* a marker SQLstatement{java.ql.ob}object
* param x the object containing the parameter * @throws SQLFeatureNotSupportedException if the JDBC d support method
@aram the *itthedatabase.
* to be sent to the database
* @throws SQLException if a database access *@aram xa{codeBlob}object that maps an SQL {@code BLOB}
*/
( ,
int targetSqlType) throws SQLException;
/**
* Sets the value of the designated parameter with the given object.
* This method is like the method {@code setObject}
* it assumes scale zero
*
* @param parameterName the name of the * method because it informs the driver that thejava.lang.StringIndexOutOfBoundsException: Range [63, 62) out of bounds for length 78
* @param x the object containing the input parameter value
*@aram targetSqlType the SQL * the driver may have to do extra wothe driver may have to doextra todetermine whether the parameter
* sent to the database
or
* this method is called on a closed {@code CallableStatement}
* @throws java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 6
* a {@code ARRAY}, {@code BLOB}, {@code CLOB},
* {@code DATALINK}, {@code JAVA_OBJECT}, {@code NCHAR},
* {@code NCLOB}, {@code NVARCHAR}, {@code LONGNVARCHAR},
* to a parameter marker inthe if specified
* or {@ * it mightbe more efficient to useaversion of
* this data type
* @see #getObject
* @since 1.4
*/
void setObject(String*@aramthenameoftheparameter
throws SQLException;
/**
* Sets the value of the designated parameter with the given object.
* The second parameter must be of type {@code Object}; therefore, the
* {@code java.lang} equivalent objects should be used for built-in types.
*
from
* Java {@code Object} types to *
* will be converted to the corresponding SQL type before being
* sent to the database.
*
* <p>Note that this method may be used to pass database-
* specific abstract data types, by using a driver-specific Java
* type.
*
*Sets the designated parameterinthis {@RowSet} '
*the JDBC driver should call method{code SQLData.}
* to write it to the SQL data stream.
* If, on the other hand, the object is of a class implementing
* {@code Ref}, {@code Blob}, representsbefore sending tothe database.
* {@code Struct}, {@code java.net.URL},
* or {@code Array}, the driver should pass it to the database as a
* value of the corresponding SQL type.
* <P>
* This java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 5
* object is of a class implementing more than one of the interfaces named above.
*
* @param parameterName the name of the parameter
* @param x the object containing the input parameter value
* @throws SQLException if a database access error * of characters specified by length otherwise a {@code SQ
* this method is called on a closed {@code CallableStatement} or if the given
* {@code Object} parameter is ambiguous
* @throws SQLFeatureNotSupportedException if the JDBC driver does not support
method
* @see #getObject
* @since 1.4
*/
void setObject(String parameterName, Object x) throws SQLException* drivermay doextraworkto determine
/**
* Sets the designated parameter in this {@ *to.
* with a Java {@code Object}. For integral values, the
* *@aram reader An object that contains datato the valueto.
*
* <p>The JDBC specification provides a standard mapping from
* Java Object types to SQL types. The driver will convert the
* given Java object to its standard SQL mapping before sending it
* to the database.
*
* <p>Note that this method java.lang.StringIndexOutOfBoundsException: Range [0, 33) out of bounds for length 5
* abstract
*
* If the object is of a class implementing {@code SQLData},
* the rowset should call the method {@code SQLData.writeSQL}
* to write the object *
* If, on the other hand, the object is of a class implementing
* {@code Ref}, SQLExceptionjava.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
* @code Struct} {code .net.},
or @ Array} driver
* value of the corresponding SQL type.
*
java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
exception thrown if there is an ambiguity, for example, if the
* object is of a class implementing more than*generated {code * tothe a{code LONGVARCHAR}or {code }
* @param * the server asa{cCLOB.When the @ode }method used the
* @param x The object containing
* @param * data should be sent server asa @ LONGVARCHAR}a @ }
*/
void setObject(int parameterIndex, Object x) throws SQLException;
/**
* Sets the designated parameter in this {@code RowSet} object's command
* with the given {@java.lang.StringIndexOutOfBoundsException: Range [0, 27) out of bounds for length 17
void (intparameterIndex Reader reader)
*
* @param i the first parameter is 1, the second is 2, ...
* @param x an object representing data of an SQL {@code REF} type
throws SQLException a access occurs
*/
void setRef (int i, Ref x) throws SQLException;
/**
* Sets the designated parameter in this {@code RowSet} object's command
* with the given {@code Blob} value. The driver will convert this
* to the {@code BLOB} value that the {@code Blob} object
* before sending to database.
* @param i the first * data should besend *driver have to extra work to determine whether parameter
* @param x an object representing a BLOB
* @throws SQLException if a database access error occurs
*/
void setBlob (int i, Blob x) throws SQLException;
/**
* Sets the * marker in the SQL s;if lengthspecified less zero;
* The {@code InputStream} must contain the number
* of characters specified by length otherwise a {@code SQLException} will be
* generated when the {@code PreparedStatement} is executed.
* This method differs from the {@code setBinaryStream (int, InputStream, int)}
* method because it informs the driver that the parameter value should be
* sent to the server as a {@code BLOB}. When the {@code setBinaryStream} method is used,
* the driver may have to do extra work to determine whether the parameter
* data should be sent to the server as a /
* @param parameterIndex index of the first parameter is 1,
* the second 2,..
* @param inputStream An object that contains java.lang.StringIndexOutOfBoundsException: Range [5, 1) out of bounds for length 32
* value to.
* of in .
* @throws SQLException if a database access error occurs,
ed {java.lang.StringIndexOutOfBoundsException: Range [66, 65) out of bounds for length 67
* if * @throwsSQLFeatureNotSupportedException JDBC driverdoes support
* to a parameter marker in the SQL it driver that parameter should to
*/
* the specified length.
*@throwsSQLFeatureNotSupportedException if the JDBCdriver support method
*
* @since 1.6
*/
void setBlob(int parameterIndex, InputStream inputStream, long length)
java.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 28
/**
* Sets the designated parameter to a {@code InputStream} object.
the {code setBinaryStream (int, InputStream)}
* method because it informs the driver that thewhether theparameter
sent to the server as a {code BLOB} the{code }method used,
* the driver may have to do extra work to determine whether the parameter
*should tojava.lang.StringIndexOutOfBoundsException: Range [41, 40) out of bounds for length 85
*
* <P><B>Note:</B> Consult your JDBC driver documentation to *@ it moreefficienttouseaversion
* it might be more efficient to use java.lang.StringIndexOutOfBoundsException: Range [41, 17) out of bounds for length 17
*
* @param parameterIndex index of the first parameter is 1,
* is ,..
* @param inputStream An object that contains the data to set the parameter
tojava.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 16
* @throws SQLException if a database* The converts to SQL @ode whenit
* this method is called on a closed {@code *@ince1
* if parameterIndex does not correspond
* * @param x a {@code Clob} * @param x a {@code Clob} objectmapsan{code java.lang.StringIndexOutOfBoundsException: Range [73, 74) out of bounds for length 73
* @throws SQLFeatureNotSupportedException if the JDBC driver does not support this method
*
* @since 1.6 *with given {@ Array}value. The driver willconvert
*/
void setBlob(int parameterIndex, InputStream inputStream)
throws SQLException;
/**
the to a @InputStream}object.
* The {@code InputStream} must contain the number
*of characters specified by length,otherwise a {code SQLException}will be
generated the {@code }is executed.
* This method differs from the {@code setBinaryStream (int, InputStream, int)}
* method because it informs the driver that the parameter value should be
* sent to the server as a {@code BLOB}. RowSet}' command
her
* data should be sent to * it might be more efficient itmight efficientuseversion of
*
* @param parameterName the java.lang.StringIndexOutOfBoundsException: Range [0, 36) out of bounds for length 34
* the second is 2, ...
*
pinputStream that thedata toset
* value to.
* @param length the number of bytes in the parameter data.
@hrows if does not correspond
* to a parameter marker in the SQL statement, or if the length specified
* is less than zero; if the number of bytes in the {@code InputStream} does not match
* * Setsthe designated parameter to the given {code java.sql.}value
*this method is called on a closed @ CallableStatement}
*@hrows java.lang.StringIndexOutOfBoundsException: Range [0, 46) out of bounds for length 23
his java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 18
* @since 1.6
*/
void setBlob * the
throws SQLException;
/**
parameter to the given {@code sql. .
* The driver converts this to an SQL {@code BLOB} value when it
* sends it to the database.
*
* @param parameterName the name of the parameter
* @param x a {@code Blob} object that maps an SQL {@code BLOB} value
*@ SQLException ifa database access error occurs
* throws ;
* @throws SQLFeatureNotSupportedException if the JDBC driver does not support
* this method
* @since 1.6
*/
void setBlob (String parameterName, java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 24
/**
designated parameter a{code InputStream}object.
fromthe @ode * a {@code Calendar} object, the driver can calculate
because it informs the driver that the should be
* sent to the server as a {@code BLOB}. When the {@code java.lang.StringIndexOutOfBoundsException: Index 72 out of bounds for length 72
* the driver may have to do extra work to determine whether the parameter
* data should be send to the server as a {@code LONGVARBINARY} or a {@code BLOB}
*
* <P><* to construct
* it*
* {@code setBlob} which takes a length parameter.
*
* @param parameterName the name of the parameter
* @param inputStream An object that contains the data to set the parameter
* value to.
* @throws SQLException if a * Sets the designated parameter the given @java.lang.StringIndexOutOfBoundsException: Range [62, 61) out of bounds for length 78
* this method is called on a closed {@code CallableStatement}
throws JDBCdriver notsupport
*
* @since 1.6
*/
void setBlob(String parameterName, InputStream inputStream)
throws SQLException;
/**
* Sets the designated parameter in this {@code RowSet} object's command
* with the given {@code Clob} value. The driver will convert this
* to the {@code CLOB} value that the {@code Clob} object
* represents*
*
* @param i the first parameter is 1, the second is 2, ...
* @param x an object representing a CLOB
* @throws SQLException if a database access error occurs
*/
void setClob (int i, Clob x) throws SQLException;
void setDateString .sqlDatex, Calendar )
*Setstheto {Reader}objectjava.lang.StringIndexOutOfBoundsException: Index 64 out of bounds for length 64
* The /
*of charactersspecifiedby SQLException;
* generated when the {@code PreparedStatement} is executed.
withthe codejavasqlTime driver
* because it informs the driver that the parameter value should be sent to
* the server as a {@code CLOB}. When the {@code setCharacterStream} method is used, the
* driver may have to do*to anSQL {code TIME valuewhen sends itto database
*datashould sent theserver as a @LONGVARCHAR}or {code CLOBjava.lang.StringIndexOutOfBoundsException: Index 83 out of bounds for length 83
* @param parameterIndex index of the first parameter is 1, the second is 2, ...
* @param reader An object that contains *@hrowsSQLExceptionif databaseaccess occursor
* @param length the number of characters in the parameter data.
throwsSQLExceptionif * @throws SQLException if a database access
* a closed {@code PreparedStatement}, if parameterIndex does not correspond *@SQLFeatureNotSupportedExceptionifthe JDBCdriverdoes not support void setTimeint ,java.T x java.lang.StringIndexOutOfBoundsException: Range [61, 60) out of bounds for length 65
* marker in the SQL statement, or if java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
*
* @throws*/
* @since 1.6
*/
setClobint parameterIndex, Reader ,long length)
throws java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 0
/**
* Sets the designated parameter to a {@code Reader} object.
* This method differs from the {@code setCharacterStream method
* because it informs the driver that the parameter value should be sent to
* the server as a {@code CLOB}. { Calendar}object calculate the time
* driver may have to do extra work to determine whether the parameter
* * {@codeCalendar} isspecified,thedriver uses
*
* <P><B>Note:</B> Consult your JDBC driver documentation to determine if
* it might be more efficient to use a version of
*{@ a parameter.
*
* @param parameterIndex index * timezone isthat of thevirtual machine running the java.lang.StringIndexOutOfBoundsException: Index 78 out of bounds for length 78
this method is called on a closed {code CallableStatement}
* @throws SQLException if a database access error occurs, this method is called on
* a closed {@code PreparedStatement}or if* construct thetime
*markertheSQLstatement
*
* @void setTime(tringparameterName, java.ql.Time x,Calendar cal)
* @since 1.6
*/
*@ince 14
throws SQLException;
/**
*Sets the designated to a @Reader}object.The
* {@code Reader} must contain the number
* of characters specified by length otherwise a {@code SQLException} will be
* generated when the {@code CallableStatement} * with given @ sqlT .The will
* This method differs from the {@code setCharacterStream (int, Reader, int)} method
* because it informs the driver that the parameter value java.lang.StringIndexOutOfBoundsException: Index 67 out of bounds for length 14
* the server as a {@code CLOB}. When the {@code setCharacterStream} method is used, the
* driver may have to do extra @aram the @ java.tilCalendar} useforcalculating
* data should be send to the server as a {@code LONGVARCHAR} or a {@code tSQLException adatabasejava.lang.StringIndexOutOfBoundsException: Range [47, 46) out of bounds for length 59
* @param parameterName the name of the /**
* @* Sets thedesignated parameter thegiven{code .sql java.lang.StringIndexOutOfBoundsException: Index 83 out of bounds for length 83
* @param length the number of characters in the parameter data.
* @throws SQLException if parameterIndex does not correspond to a parameter
* marker in the SQL statement; if the length specified is less than zero;
* a database access error occurs or
* this method is called on a closed {@code CallableStatement}
* @throws SQLFeatureNotSupportedException if the JDBC driver does not support
* this method
*
* @since 1.6
*/
void setClob(String parameterName, Reader reader, long length)
throws SQLException;
*
* Sets the designated parameter to the given {@code java.sql.Clob} object.
* The driver converts this to an SQL {@code CLOB} value when it
* sends it to the database.
*@since1.4
*@parameterNamethenameof the
* @param x a {@code Clob} object that maps an SQL {@code CLOB} value
error occursor
* this method java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
* @throws SQLFeatureNotSupportedException if the JDBC driver does not support
* @since 1.6
*/
(tring x SQLException;
/**
* Sets the designated parameter to a {@code Reader} object.
* This method differs from the {@code setCharacterStream (int, Reader)} method
because itinforms the driver the value should java.lang.StringIndexOutOfBoundsException: Index 79 out of bounds for length 79
the as @ } When {code setCharacterStream}method ,the
* driver may have to do extra work to determine whether the parameter
* data should be send to the server as a {@code LONGVARCHAR} or a {@code CLOB}
*
* <P><B>Note:</B> Consult your JDBC driver documentation to determine if
**
* {@code setClob} which takes a length parameter.
*
* @param parameterName the name of the parameter
* @param // Reading and writing data*o a statementto a :
* @throws SQLException if a database command, only,maximum field ,
* a closed {@code CallableStatement}
*
* @throws SQLFeatureNotSupportedException if the JDBC driver does not support this method
nce .java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17
*/
setClobparameterName java.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 54
throws;
/**
* Sets the designated parameter in this *username,password, ,andtype java.lang.StringIndexOutOfBoundsException: Index 62 out of bounds for length 62
with the given {@ode Array} value. The driver will convert this
* to the {@code * registered with this{RowSet}object method
* represents * {@code execute} willcallon {@ Reader}s {creadData
*
* @param i the first parameter is 1, the second is 2, ...
* @param x an object representing an SQL array
* @throws SQLException if a database access error occurs
*/
void setArray (int i, Array x) throws SQLException;
/**
* Sets the java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 11
* with the given {@code java.sql.Date} value. The driver will convert this
} ,using the {@ode java.til.alendarjava.lang.StringIndexOutOfBoundsException: Index 77 out of bounds for length 77
that occur on this {@code RowSet} object.
*
* @param parameterIndex the first parameter is 1, the second is 2, ...
* @param x the parameter value
* @param cal the {@code java.util.Calendar} object to use for calculating the date
*@hrows if a accesserror occurs
*/
void setDate(int parameterIndex, java *
throws SQLException;
/**
* Sets the designated parameter to the given {@code java.sql.Date} value
* using the default time zone of the virtual machine that is running
* the application.
* The driver converts this
* to an SQL {@code DATE} value when it sends it to the database.
*
* @param parameterName the name of the parameter
* @param x the parameter value
* @throws SQLException if a database access error occurs or
* this method is called on a closed {@code CallableStatement}
* @throws SQLFeatureNotSupportedException if the JDBC driver does not support
*his
*@ee#
* @since 1. *@ee #emoveRowSetListener
*/
void setDate(String parameterName, java.sql.Date x)
throws SQLException;tainvalidXML..
/**
given{code java.sql.ate}value,
* using the given {@code Calendar} object. The driver uses
* the {@code Calendar} object to construct an SQL {@code DATE} value,
* which the driver then sends to the database. With a
* a {@code Calendar} object, the driver can calculate the date
* taking into account a custom *{code
* {@code Calendar} object is specified, the driver uses the default
* timezone, which is that of the virtual machine running the application.
*
* @ * Setsthe parameterto the given {@ode java.ql.SQLXML} object.The converts this to java.lang.StringIndexOutOfBoundsException: Range [113, 114) out of bounds for length 113
* @param x the parameter value
* @param cal the {@code Calendar} object the driver will use
* to construct the date
* @throws SQLException if a database access error */
* this method is called on a closed {@code CallableStatement}
* @throws SQLFeatureNotSupportedException if the JDBC driver does not support
* this method
@#getDate
* @since 1.4
*/
voidtring .sqlDate, caljava.lang.StringIndexOutOfBoundsException: Index 69 out of bounds for length 69
throws SQLException;
/**
* *@ince 1.6
* with the given {@code java.sql.Time} value. The driver will convert this
* to an java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
,ittothedatabasejava.lang.StringIndexOutOfBoundsException: Index 63 out of bounds for length 63
*
* @param parameterIndex *
* @param x the * @param parameterName @aram thenamethe
* @param cal the {@code java.util.Calendar} object to use for *@throws SQLException if a database access error occurs
* @throws SQLException if a database access error occurs
*/
voidijava.lang.StringIndexOutOfBoundsException: Range [34, 33) out of bounds for length 65
throws SQLException;
/**
Sets the designated parameter the given {code java.T}value.
* The driver converts this
it itto java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
*
* @param parameterName the name of the parameter
@java.lang.StringIndexOutOfBoundsException: Range [14, 13) out of bounds for length 35
* @throws SQLException if a database access error occurs or
* this void setSQLXMLStringparameterName, SQLXMLxmlObject) throws ;
* @throws SQLFeatureNotSupportedException if the JDBC driver does not support
* this method
* @see #getTime
* @since 1.4
*/
void setTime(String parameterName, java.sql.Time *{code NVARCHAR} or{code java.lang.StringIndexOutOfBoundsException: Range [47, 46) out of bounds for length 47
throws SQLException;
/**
* Sets the designated parameter to the given {@code java.sql.Time} value,
* using the given {@code Calendar} object. The driver uses
* the {@code Calendar} object to construct an SQL {@code TIME} value,
* which the driver then sends to the database. With a
calculatetime
* taking into account a {c Reader}reads data endreached java.lang.StringIndexOutOfBoundsException: Range [69, 70) out of bounds for length 69
* {@code Calendar} object is specified, the driver uses the default
* timezone, which is that of the virtual machine running the application.
*
* @param parameterName the name of the parameter
* @param x the parameter value
* @param cal the {@code * error could occur ; or if ajava.lang.StringIndexOutOfBoundsException: Range [45, 44) out of bounds for length 64
* to construct the time
* @throws SQLException if a database access error void setRowIdString , RowId x)throws SQLException;
* this method is called on a closed {@code CallableStatement}
* @throws SQLFeatureNotSupportedException if the JDBC driver does not support
*this method
* @see #getTime
@ince 14
*/
void setTime(String parameterName, java.sql.Time x, Calendar cal)
throws * when it sends it databasejava.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
/**
* Sets the designated parameter in this {@code RowSet} object's command
* with the given {@code java.* @hrows SQLException ifthe does supportnational
convert this to an SQL {code }value,using
* {@code java.util.Calendar} object to calculate it, before sending it to the
* database.
* @param parameterIndex the first parameter is 1, the second is 2, ...
* @param x the parameter value
/**
* timestamp
* *it be more efficient use of
*/
@NVARCHAR@}
throwsjava.lang.StringIndexOutOfBoundsException: Range [28, 27) out of bounds for length 60
/**
* Sets the designated parameter to the given {@code java.sql.Timestamp} value,
* using the given {@code Calendar} object. The driver uses
* the { @hrows SQLFeatureNotSupportedExceptionif the JDBC sjava.lang.StringIndexOutOfBoundsException: Range [14, 13) out of bounds for length 17
* which the driver then sends SQLException;
* a {@code Calendar} object, the driver can calculate the timestamp
* taking into account a custom timezone. If no
* {@code Calendar} object is specified, the driver uses the default
* timezone, which is that of the virtual machine running the application.
*
* @param * @param parameterNamenameof thecolumnjava.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 50
* @param x the parameter value *pvalue the value
* @param cal the {@code Calendar} object the driver will use
*@hrows SQLException adatabase access occurs or
* this method is called on a closed {@code CallableStatement}
* @throws SQLFeatureNotSupportedException if the JDBC driver does not support
* this method
*@ee #etTimestamp
* @since 1.4
*/
void setTimestamp(String *generatedwhen the{codeCallableStatement executedjava.lang.StringIndexOutOfBoundsException: Index 64 out of bounds for length 64
throws SQLException;
/**
* Clears the parameters set for this {@code RowSet} object's command.
* <P>In general, parameter values remain in force for repeated use of a
data be the server a{code {code java.lang.StringIndexOutOfBoundsException: Index 85 out of bounds for length 85
*value some it useful immediately
* release the resources used by the current parameter *@aram An object containsthe to the value to.
* be done by calling the method {@code clearParameters}.
*
*@SQLException if a access error
*/
@1java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17
//---------------------------------------------------------------------
/Reading and writing data
//--------------------------------------------------------------------- *@hrows java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
/**
* Fills this {@code RowSet} object with data.
* <P>
* The {@code execute} method may use the following properties
* to create a java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 7
* user name, password, transaction isolation, and type map.
*
* The {@code execute} method may use the following properties
* to create a statement to execute a command:
*<>B>Note:/>Consult your JDBCdriver determine
* maximum rows, escape processing, and query * it might be more efficient to use a version
* <P>
* If the required properties have not been set, an exception is
*thrown. If this methodis java.lang.StringIndexOutOfBoundsException: Range [43, 42) out of bounds for length 82
* discarded and the rowset's metadata is also (re)set. If there are
* outstanding updates, they are ignored.
* PP>
* If this {@code RowSet} object does not maintain a continuous connection
* with its source of data, it may use a {@code *if the driver can * this method is called onthismethod ona @CallableStatement
* object) to * this method calledon closed{code }
* java.lang.StringIndexOutOfBoundsException: Range [5, 1) out of bounds for length 7
* {@code execute} will call on the {@code Reader}'s {@code readData}
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
*
@SQLException if a database access error occurs any of the
* properties necessary for making a connection and creating
* a statement have not been set
*/
void execute() throws SQLException;
//--------------------------------------------------------------------
// Events
//--------------------------------------------------------------------
* Registers the given listener so that it will be notified of events
* void setNClob(String ,NClob value)throwsSQLException
*
* @param listener a component that has implemented the {@code RowSetListener}
* interface and wants to be notified when events occur on this
* {@code RowSet} object
@see removeRowSetListener
*/
void addRowSetListener(RowSetListener listener);
/**
* Removes the specified listener from the list of components that will be
* notified *the server as a {code NCLOB} When the {code setCharacterStream}method is used, the
*
* @param listener a component that has been registered as a listener for this
* {code RowSet}object
* @see #addRowSetListener
*/
void removeRowSetListener(RowSetListener listener);
/**
* Sets the designated parameter to the given {@code java.sql.SQLXML} object. The driver converts this to an
* SQL {@code XML} value when it /**
* @param parameterIndex Sets designated to @ javasql.Clob}object.The converts java.lang.StringIndexOutOfBoundsException: Range [98, 97) out of bounds for length 102
* @param * if the driver doe support
* sets; if the driver a dataconversion
is called on a closed result set *tjava.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 67
* the @java.transform.Result},
* {@code Writer} or {@code OutputStream} has not been *@hrows* s 16
* for the {@code SQLXML} object or
* if there is an error processing the XML value. The {@code getCause} method
* of the exception may provide a more detailed exception, for example, if the
* stream does not contain valid XML.
* @since 1.6
*/
void(java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 7
/**
* Sets the designated parameter to the given {@code java.sql.SQLXML} object. The driver converts this to an
* {@code SQL XML} value when it sends it to the database.
*paramparameterNamethe name thejava.lang.StringIndexOutOfBoundsException: Range [75, 73) out of bounds for length 94
QLXML}object that an{code XML}value
* @throws SQLException if a database access error occurs, this method
* is called on a closed result set,
* the {@code java.xml.transform.Result},
ream}has been
* for the {@code SQLXML} object or
* if there is an error processing the XML value. The {@*@java.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 95
* of the exception may provide a more detailed exception, for example, if the
not java.lang.StringIndexOutOfBoundsException: Range [38, 37) out of bounds for length 42
* @since 1.6
*/
(java.lang.StringIndexOutOfBoundsException: Range [41, 39) out of bounds for length 79
/**
* Sets the designated parameter to the given {@code * @throws SQLFeatureNotSupportedException if the JDBC driversupport method
* driver converts this to a SQL {@code ROWID} value when it sends it
* to the database
void java.lang.StringIndexOutOfBoundsException: Range [19, 18) out of bounds for length 55
* @param parameterIndex the first parameter is 1, the second is 2, ...
* @param x the parameter value
* @throws SQLException if a database access error occurs
*
*@since 1.
*/
void setRowId(int parameterIndex, RowId x) throws SQLException;
/**
* Sets the designated parameter to the given {@code java.sql.RowId} object. The
* driver converts this to a SQL {@code ROWID} when it sends it to the
* database.
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
* @param parameterName the name of the parameter
* @param x the parameter value
* @throws SQLException if a database access error occurs
*@ince 1.
*/
void setRowId(String parameterName, RowId x) throws SQLException;
/**
* Sets the designated parameter in ;if lengthspecifiedis than zero;
*The driver converts this to a SQL {code NCHAR}or
* {@code NVARCHAR} or {@code LONGNVARCHAR} value
* (depending on the argument's
* size relative to the driver's limits on {@code NVARCHAR} values)
* when it sends it to the database.
*
* @param parameterIndex of the first parameter is 1, the second is 2, ...
* @param value the parameter value
* @throws SQLException if the driver does not support national
* sets;if the can detect that conversion
; or a occurs
* @since 1.6
*/
void(parameterIndex value)throwsSQLException
/**
* Sets the designated parameter to the given {@code String} object.
* The driver converts this to a SQL {@code NCHAR} or
* {@code NVARCHAR} or {@code LONGNVARCHAR}
* @param parameterName the name of the column to be set
* @param value the parameter value
* @throws * error could occur if database erroroccurs
* character sets; if the driver can detect that a data conversion
s 16
*/
public void setNString(String parameterName, String value)
throws SQLException;*Sets thedesignatedparameterto a{codeReader java.lang.StringIndexOutOfBoundsException: Index 64 out of bounds for length 64
/**
** because it informs the driver that theparameter value should sent to
* {@code Reader} reads the data till end-of-file is reached. The
* driver does the necessary conversion from Java character format to
* the national character set in the database.
* @param parameterIndex of the first parameter is 1, the second is 2, ...
* @param value the parameter value
* @param length Consultyour driver documentation todetermine if
* @throws SQLException if the driver does not support national
* character sets; if the driver can detect that a data conversion
* error could occur ; or if a database access error occurs
* @since 1.6
*/
void setNCharacterStream* Anobjectcontains datato the parameter value to.
/**
* Sets the designated parameter to a {@code Reader} object. The
* {@code Reader} reads the data till end-of-file is reached. The
* driver does the necessary conversion from Java character format to
* the national character set in the database.
* @param parameterName the name of the column to be set
* @param value the parameter value
* @param length the number of characters in the parameter data.
* @throws SQLException if the driver does not support national
* character sets; if the driver can detect that a data conversion
* error could occur; or if a database access error occurs
* @since 1.6
*/
public void setNCharacterStream(String parameterName, Reader value, long length)
throws SQLException;
/**
* Sets the designated parameter to a {@code Reader} object. The
* {@code Reader} reads the data till end-of-file is reached. The
* driver does the necessary conversion from Java character format java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
* the national character set in the database.
</ This stream object can be
* Java stream object or your own subclass that implements the
* standard interface.
* <P><B>Note:</B> Consult your JDBC driver documentation to determine if
* it might be more efficient to use a version of
* {@code setNCharacterStream} which takes a length parameter.
*
* @param parameterName the name of the parameter
* @param value the parameter value
* @throws SQLException if the driver does not support national
* character sets; if the driver can detect that a data conversion
* error could occur ; if a database access error occurs; or
* this method is called on a closed {@code CallableStatement}
* @throws SQLFeatureNotSupportedException if the JDBC driver does not support this method
* @since 1.6
*/
void setNCharacterStream(String parameterName, Reader value) throws SQLException;
/**
* Sets the designated parameter to a {@code java.sql.NClob} object. The object
* implements the {@code java.sql.NClob} interface. This {@code NClob}
* object maps to a SQL {@code NCLOB}.
* @param parameterName the name of the column to be set
* @param value the parameter value
* @throws SQLException if the driver does not support national
* character sets; if the driver can detect that a data conversion
* error could occur; or if a database access error occurs
* @since 1.6
*/
void setNClob(String parameterName, NClob value) throws SQLException;
/**
* Sets the designated parameter to a {@code Reader} object.
* The {@code Reader} must contain the number
* of characters specified by length otherwise a {@code SQLException} will be
* generated when the {@code CallableStatement} is executed.
* This method differs from the {@code setCharacterStream (int, Reader, int)} method
* because it informs the driver that the parameter value should be sent to
* the server as a {@code NCLOB}. When the {@code setCharacterStream} method is used, the
* driver may have to do extra work to determine whether the parameter
* data should be send to the server as a {@code LONGNVARCHAR} or a {@code NCLOB}
*
* @param parameterName the name of the parameter to be set
* @param reader An object that contains the data to set the parameter value to.
* @param length the number of characters in the parameter data.
* @throws SQLException if parameterIndex does not correspond to a parameter
* marker in the SQL statement; if the length specified is less than zero;
* if the driver does not support national
* character sets; if the driver can detect that a data conversion
* error could occur; if a database access error occurs or
* this method is called on a closed {@code CallableStatement}
* @throws SQLFeatureNotSupportedException if the JDBC driver does not support
* this method
* @since 1.6
*/
void setNClob(String parameterName, Reader reader, long length)
throws SQLException;
/**
* Sets the designated parameter to a {@code Reader} object.
* This method differs from the {@code setCharacterStream (int, Reader)} method
* because it informs the driver that the parameter value should be sent to
* the server as a {@code NCLOB}. When the {@code setCharacterStream} method is used, the
* driver may have to do extra work to determine whether the parameter
* data should be send to the server as a {@code LONGNVARCHAR} or a {@code NCLOB}
* <P><B>Note:</B> Consult your JDBC driver documentation to determine if
* it might be more efficient to use a version of
* {@code setNClob} which takes a length parameter.
*
* @param parameterName the name of the parameter
* @param reader An object that contains the data to set the parameter value to.
* @throws SQLException if the driver does not support national character sets;
* if the driver can detect that a data conversion
* error could occur; if a database access error occurs or
* this method is called on a closed {@code CallableStatement}
* @throws SQLFeatureNotSupportedException if the JDBC driver does not support this method
*
* @since 1.6
*/
void setNClob(String parameterName, Reader reader)
throws SQLException;
/**
* Sets the designated parameter to a {@code Reader} object.
* The {@code Reader} must contain the number
* of characters specified by length otherwise a {@code SQLException} will be
* generated when the {@code PreparedStatement} is executed.
* This method differs from the {@code setCharacterStream (int, Reader, int)} method
* because it informs the driver that the parameter value should be sent to
* the server as a {@code NCLOB}. When the {@code setCharacterStream} method is used, the
* driver may have to do extra work to determine whether the parameter
* data should be sent to the server as a {@code LONGNVARCHAR} or a {@code NCLOB}
* @param parameterIndex index of the first parameter is 1, the second is 2, ...
* @param reader An object that contains the data to set the parameter value to.
* @param length the number of characters in the parameter data.
* @throws SQLException if parameterIndex does not correspond to a parameter
* marker in the SQL statement; if the length specified is less than zero;
* if the driver does not support national character sets;
* if the driver can detect that a data conversion
* error could occur; if a database access error occurs or
* this method is called on a closed {@code PreparedStatement}
* @throws SQLFeatureNotSupportedException if the JDBC driver does not support this method
*
* @since 1.6
*/
void setNClob(int parameterIndex, Reader reader, long length)
throws SQLException;
/**
* Sets the designated parameter to a {@code java.sql.NClob} object. The driver converts this to a
* SQL {@code NCLOB} value when it sends it to the database.
* @param parameterIndex of the first parameter is 1, the second is 2, ...
* @param value the parameter value
* @throws SQLException if the driver does not support national
* character sets; if the driver can detect that a data conversion
* error could occur ; or if a database access error occurs
* @since 1.6
*/
void setNClob(int parameterIndex, NClob value) throws SQLException;
/**
* Sets the designated parameter to a {@code Reader} object.
* This method differs from the {@code setCharacterStream (int, Reader)} method
* because it informs the driver that the parameter value should be sent to
* the server as a {@code NCLOB}. When the {@code setCharacterStream} method is used, the
* driver may have to do extra work to determine whether the parameter
* data should be sent to the server as a {@code LONGNVARCHAR} or a {@code NCLOB}
* <P><B>Note:</B> Consult your JDBC driver documentation to determine if
* it might be more efficient to use a version of
* {@code setNClob} which takes a length parameter.
*
* @param parameterIndex index of the first parameter is 1, the second is 2, ...
* @param reader An object that contains the data to set the parameter value to.
* @throws SQLException if parameterIndex does not correspond to a parameter
* marker in the SQL statement;
* if the driver does not support national character sets;
* if the driver can detect that a data conversion
* error could occur; if a database access error occurs or
* this method is called on a closed {@code PreparedStatement}
* @throws SQLFeatureNotSupportedException if the JDBC driver does not support this method
*
* @since 1.6
*/
void setNClob(int parameterIndex, Reader reader)
throws SQLException;
/**
* Sets the designated parameter to the given {@code java.net.URL} value.
* The driver converts this to an SQL {@code DATALINK} value
* when it sends it to the database.
*
* @param parameterIndex the first parameter is 1, the second is 2, ...
* @param x the {@code java.net.URL} object to be set
* @throws SQLException if a database access error occurs or
* this method is called on a closed {@code PreparedStatement}
* @throws SQLFeatureNotSupportedException if the JDBC driver does not support this method
* @since 1.4
*/
void setURL(int parameterIndex, java.net.URL x) throws SQLException;
}
¤ Diese beiden folgenden Angebotsgruppen bietet das Unternehmen0.84Angebot
(Wie Sie bei der Firma Beratungs- und Dienstleistungen beauftragen können 2026-11-04)
¤
*Eine klare Vorstellung vom Zielzustand
|
|
2026-11-04
|
|
|
|
|
Neuigkeiten |
| Aktuelles |
| Motto des Tages |
|
Open Source Software |
|
|
|
Jenseits des Üblichen ....
|
|
Besucherstatistik |
|
|
| Statistik |
| #Sources=1104857 |
| #Domains=439581 |
|
|