ISQLServerResultSet, Serializable, AutoCloseable, ResultSet, Wrapperpublic class SQLServerResultSet extends Object implements ISQLServerResultSet, Serializable
| Modifier and Type | Field | Description |
|---|---|---|
protected static Logger |
loggerExternal |
CONCUR_SS_OPTIMISTIC_CC, CONCUR_SS_OPTIMISTIC_CCVAL, CONCUR_SS_SCROLL_LOCKS, TYPE_SS_DIRECT_FORWARD_ONLY, TYPE_SS_SCROLL_DYNAMIC, TYPE_SS_SCROLL_KEYSET, TYPE_SS_SCROLL_STATIC, TYPE_SS_SERVER_CURSOR_FORWARD_ONLYCLOSE_CURSORS_AT_COMMIT, CONCUR_READ_ONLY, CONCUR_UPDATABLE, FETCH_FORWARD, FETCH_REVERSE, FETCH_UNKNOWN, HOLD_CURSORS_OVER_COMMIT, TYPE_FORWARD_ONLY, TYPE_SCROLL_INSENSITIVE, TYPE_SCROLL_SENSITIVE| Modifier and Type | Method | Description |
|---|---|---|
boolean |
absolute(int row) |
Moves the cursor to the given row number in this
ResultSet object. |
void |
afterLast() |
|
void |
beforeFirst() |
|
void |
cancelRowUpdates() |
|
void |
clearWarnings() |
Clears result set warnings.
|
void |
close() |
|
void |
deleteRow() |
|
int |
findColumn(String columnName) |
Finds a column index given a column name.
|
boolean |
first() |
Moves the cursor to the first row in this
ResultSet object. |
Array |
getArray(int i) |
|
Array |
getArray(String colName) |
|
InputStream |
getAsciiStream(int columnIndex) |
|
InputStream |
getAsciiStream(String columnName) |
|
BigDecimal |
getBigDecimal(int columnIndex) |
|
BigDecimal |
getBigDecimal(int columnIndex,
int scale) |
Deprecated.
|
BigDecimal |
getBigDecimal(String columnName) |
|
BigDecimal |
getBigDecimal(String columnName,
int scale) |
Deprecated.
|
InputStream |
getBinaryStream(int columnIndex) |
|
InputStream |
getBinaryStream(String columnName) |
|
Blob |
getBlob(int i) |
|
Blob |
getBlob(String colName) |
|
boolean |
getBoolean(int columnIndex) |
|
boolean |
getBoolean(String columnName) |
|
byte |
getByte(int columnIndex) |
|
byte |
getByte(String columnName) |
|
byte[] |
getBytes(int columnIndex) |
|
byte[] |
getBytes(String columnName) |
|
Reader |
getCharacterStream(int columnIndex) |
|
Reader |
getCharacterStream(String columnName) |
|
Clob |
getClob(int columnIndex) |
|
Clob |
getClob(String colName) |
|
int |
getConcurrency() |
|
String |
getCursorName() |
|
Date |
getDate(int columnIndex) |
|
Date |
getDate(int columnIndex,
Calendar cal) |
|
Date |
getDate(String columnName) |
|
Date |
getDate(String colName,
Calendar cal) |
|
Timestamp |
getDateTime(int columnIndex) |
Returns the value of the designated column in the current row of this ResultSet object as a java.sql.Timestamp
object in the Java programming language.
|
Timestamp |
getDateTime(int columnIndex,
Calendar cal) |
Returns the value of the designated column in the current row of this ResultSet object as a java.sql.Timestamp
object in the Java programming language.
|
Timestamp |
getDateTime(String columnName) |
Returns the value of the designated column in the current row of this ResultSet object as a java.sql.Timestamp
object in the Java programming language.
|
Timestamp |
getDateTime(String colName,
Calendar cal) |
Returns the value of the designated column in the current row of this ResultSet object as a java.sql.Timestamp
object in the Java programming language.
|
DateTimeOffset |
getDateTimeOffset(int columnIndex) |
Returns the value of the designated column as a microsoft.sql.DateTimeOffset object, given a zero-based column
ordinal.
|
DateTimeOffset |
getDateTimeOffset(String columnName) |
Returns the value of the column specified as a microsoft.sql.DateTimeOffset object, given a column name.
|
double |
getDouble(int columnIndex) |
|
double |
getDouble(String columnName) |
|
int |
getFetchDirection() |
|
int |
getFetchSize() |
|
float |
getFloat(int columnIndex) |
|
float |
getFloat(String columnName) |
|
Geography |
getGeography(int columnIndex) |
Returns the value of the designated column in the current row of this ResultSet object as a
com.microsoft.sqlserver.jdbc.Geography object in the Java programming language.
|
Geography |
getGeography(String columnName) |
Returns the value of the designated column in the current row of this ResultSet object as a
com.microsoft.sqlserver.jdbc.Geography object in the Java programming language.
|
Geometry |
getGeometry(int columnIndex) |
Returns the value of the designated column in the current row of this ResultSet object as a
com.microsoft.sqlserver.jdbc.Geometry object in the Java programming language.
|
Geometry |
getGeometry(String columnName) |
Returns the value of the designated column in the current row of this ResultSet object as a
com.microsoft.sqlserver.jdbc.Geometry object in the Java programming language.
|
int |
getHoldability() |
|
int |
getInt(int columnIndex) |
|
int |
getInt(String columnName) |
|
long |
getLong(int columnIndex) |
|
long |
getLong(String columnName) |
|
ResultSetMetaData |
getMetaData() |
|
BigDecimal |
getMoney(int columnIndex) |
Returns the value of the column specified as a java.math.BigDecimal object.
|
BigDecimal |
getMoney(String columnName) |
Returns the value of the column specified as a java.math.BigDecimal object.
|
Reader |
getNCharacterStream(int columnIndex) |
|
Reader |
getNCharacterStream(String columnLabel) |
|
NClob |
getNClob(int columnIndex) |
|
NClob |
getNClob(String columnLabel) |
|
String |
getNString(int columnIndex) |
|
String |
getNString(String columnLabel) |
|
Object |
getObject(int columnIndex) |
|
<T> T |
getObject(int columnIndex,
Class<T> type) |
|
Object |
getObject(int i,
Map<String,Class<?>> map) |
|
Object |
getObject(String columnName) |
|
<T> T |
getObject(String columnName,
Class<T> type) |
|
Object |
getObject(String colName,
Map<String,Class<?>> map) |
|
Ref |
getRef(int i) |
|
Ref |
getRef(String colName) |
|
int |
getRow() |
|
RowId |
getRowId(int columnIndex) |
|
RowId |
getRowId(String columnLabel) |
|
SensitivityClassification |
getSensitivityClassification() |
Returns the Data Classification information for the current ResultSet For SQL Servers that do not support Data
Classification or results that do not fetch any classified columns, this data can be null.
|
protected int |
getServerCursorId() |
|
short |
getShort(int columnIndex) |
|
short |
getShort(String columnName) |
|
Timestamp |
getSmallDateTime(int columnIndex) |
Returns the value of the designated column in the current row of this ResultSet object as a java.sql.Timestamp
object in the Java programming language.
|
Timestamp |
getSmallDateTime(int columnIndex,
Calendar cal) |
Returns the value of the designated column in the current row of this ResultSet object as a java.sql.Timestamp
object in the Java programming language.
|
Timestamp |
getSmallDateTime(String columnName) |
Returns the value of the designated column in the current row of this ResultSet object as a java.sql.Timestamp
object in the Java programming language.
|
Timestamp |
getSmallDateTime(String colName,
Calendar cal) |
Returns the value of the designated column in the current row of this ResultSet object as a java.sql.Timestamp
object in the Java programming language.
|
BigDecimal |
getSmallMoney(int columnIndex) |
Returns the value of the column specified as a java.math.BigDecimal object.
|
BigDecimal |
getSmallMoney(String columnName) |
Returns the value of the column specified as a java.math.BigDecimal object.
|
SQLXML |
getSQLXML(int columnIndex) |
|
SQLXML |
getSQLXML(String columnLabel) |
|
Statement |
getStatement() |
|
String |
getString(int columnIndex) |
|
String |
getString(String columnName) |
|
protected com.microsoft.sqlserver.jdbc.TDSReader |
getTDSReader() |
|
Time |
getTime(int columnIndex) |
|
Time |
getTime(int columnIndex,
Calendar cal) |
|
Time |
getTime(String columnName) |
|
Time |
getTime(String colName,
Calendar cal) |
|
Timestamp |
getTimestamp(int columnIndex) |
|
Timestamp |
getTimestamp(int columnIndex,
Calendar cal) |
|
Timestamp |
getTimestamp(String columnName) |
|
Timestamp |
getTimestamp(String colName,
Calendar cal) |
|
int |
getType() |
|
InputStream |
getUnicodeStream(int columnIndex) |
Deprecated.
|
InputStream |
getUnicodeStream(String columnName) |
Deprecated.
|
String |
getUniqueIdentifier(int columnIndex) |
Returns the value of the designated column in the current row of this ResultSet object as a String object in the
Java programming language.
|
String |
getUniqueIdentifier(String columnLabel) |
Returns the value of the designated column in the current row of this ResultSet object as a String object in the
Java programming language.
|
URL |
getURL(int columnIndex) |
|
URL |
getURL(String sColumn) |
|
SQLWarning |
getWarnings() |
|
void |
insertRow() |
|
boolean |
isAfterLast() |
|
boolean |
isBeforeFirst() |
Returns if the cursor is before the first row in this result set.
|
boolean |
isClosed() |
|
boolean |
isFirst() |
Returns whether the cursor is on the first row of this
ResultSet object. |
protected boolean |
isForwardOnly() |
|
boolean |
isLast() |
Returns whether the cursor is on the last row of this
ResultSet object. |
boolean |
isWrapperFor(Class<?> iface) |
|
boolean |
last() |
Moves the cursor to the last row in this
ResultSet object. |
void |
moveToCurrentRow() |
|
void |
moveToInsertRow() |
|
boolean |
next() |
Moves the cursor to the first row of this ResultSet object initially, then subsequent calls move the cursor to
the second row, the third row, and so on.
|
boolean |
previous() |
Moves the cursor to the previous row in this
ResultSet object. |
void |
refreshRow() |
|
boolean |
relative(int rows) |
|
boolean |
rowDeleted() |
|
boolean |
rowInserted() |
|
boolean |
rowUpdated() |
|
void |
setFetchDirection(int direction) |
|
void |
setFetchSize(int rows) |
|
String |
toString() |
|
<T> T |
unwrap(Class<T> iface) |
|
void |
updateArray(int columnIndex,
Array x) |
|
void |
updateArray(String columnName,
Array x) |
|
void |
updateAsciiStream(int columnIndex,
InputStream x) |
|
void |
updateAsciiStream(int index,
InputStream x,
int length) |
|
void |
updateAsciiStream(int columnIndex,
InputStream x,
long length) |
|
void |
updateAsciiStream(String columnLabel,
InputStream x) |
|
void |
updateAsciiStream(String columnName,
InputStream x,
int length) |
|
void |
updateAsciiStream(String columnName,
InputStream streamValue,
long length) |
|
void |
updateBigDecimal(int index,
BigDecimal x) |
|
void |
updateBigDecimal(int index,
BigDecimal x,
Integer precision,
Integer scale) |
Updates the designated column with a
java.math.BigDecimal value. |
void |
updateBigDecimal(int index,
BigDecimal x,
Integer precision,
Integer scale,
boolean forceEncrypt) |
Updates the designated column with a
java.math.BigDecimal value. |
void |
updateBigDecimal(String columnName,
BigDecimal x) |
|
void |
updateBigDecimal(String columnName,
BigDecimal x,
boolean forceEncrypt) |
Updates the designated column with a
java.sql.BigDecimal value. |
void |
updateBigDecimal(String columnName,
BigDecimal x,
Integer precision,
Integer scale) |
Updates the designated column with a
java.sql.BigDecimal value. |
void |
updateBigDecimal(String columnName,
BigDecimal x,
Integer precision,
Integer scale,
boolean forceEncrypt) |
Updates the designated column with a
java.sql.BigDecimal value. |
void |
updateBinaryStream(int columnIndex,
InputStream x) |
|
void |
updateBinaryStream(int columnIndex,
InputStream streamValue,
int length) |
|
void |
updateBinaryStream(int columnIndex,
InputStream x,
long length) |
|
void |
updateBinaryStream(String columnLabel,
InputStream x) |
|
void |
updateBinaryStream(String columnName,
InputStream streamValue,
int length) |
|
void |
updateBinaryStream(String columnLabel,
InputStream x,
long length) |
|
void |
updateBlob(int columnIndex,
InputStream inputStream) |
|
void |
updateBlob(int columnIndex,
InputStream inputStream,
long length) |
|
void |
updateBlob(int columnIndex,
Blob blobValue) |
|
void |
updateBlob(String columnLabel,
InputStream inputStream) |
|
void |
updateBlob(String columnLabel,
InputStream inputStream,
long length) |
|
void |
updateBlob(String columnName,
Blob blobValue) |
|
void |
updateBoolean(int index,
boolean x) |
|
void |
updateBoolean(int index,
boolean x,
boolean forceEncrypt) |
Updates the designated column with a
boolean value. |
void |
updateBoolean(String columnName,
boolean x) |
|
void |
updateBoolean(String columnName,
boolean x,
boolean forceEncrypt) |
Updates the designated column with a
boolean value. |
void |
updateByte(int index,
byte x) |
|
void |
updateByte(int index,
byte x,
boolean forceEncrypt) |
Updates the designated column with a
byte value. |
void |
updateByte(String columnName,
byte x) |
|
void |
updateByte(String columnName,
byte x,
boolean forceEncrypt) |
Updates the designated column with a
byte value. |
void |
updateBytes(int index,
byte[] x) |
|
void |
updateBytes(int index,
byte[] x,
boolean forceEncrypt) |
Updates the designated column with a
byte array value. |
void |
updateBytes(String columnName,
byte[] x) |
|
void |
updateBytes(String columnName,
byte[] x,
boolean forceEncrypt) |
Updates the designated column with a byte array value.
|
void |
updateCharacterStream(int columnIndex,
Reader x) |
|
void |
updateCharacterStream(int columnIndex,
Reader readerValue,
int length) |
|
void |
updateCharacterStream(int columnIndex,
Reader x,
long length) |
|
void |
updateCharacterStream(String columnLabel,
Reader reader) |
|
void |
updateCharacterStream(String columnName,
Reader readerValue,
int length) |
|
void |
updateCharacterStream(String columnLabel,
Reader reader,
long length) |
|
void |
updateClob(int columnIndex,
Reader reader) |
|
void |
updateClob(int columnIndex,
Reader reader,
long length) |
|
void |
updateClob(int columnIndex,
Clob clobValue) |
|
void |
updateClob(String columnLabel,
Reader reader) |
|
void |
updateClob(String columnLabel,
Reader reader,
long length) |
|
void |
updateClob(String columnName,
Clob clobValue) |
|
void |
updateDate(int index,
Date x) |
|
void |
updateDate(int index,
Date x,
boolean forceEncrypt) |
Updates the designated column with a
java.sql.Date value. |
void |
updateDate(String columnName,
Date x) |
|
void |
updateDate(String columnName,
Date x,
boolean forceEncrypt) |
Updates the designated column with a
java.sql.Date value. |
void |
updateDateTime(int index,
Timestamp x) |
Updates the designated column with a
java.sql.Timestamp value. |
void |
updateDateTime(int index,
Timestamp x,
Integer scale) |
Updates the designated column with a
java.sql.Timestamp value. |
void |
updateDateTime(int index,
Timestamp x,
Integer scale,
boolean forceEncrypt) |
Updates the designated column with a
java.sql.Timestamp value. |
void |
updateDateTime(String columnName,
Timestamp x) |
Updates the designated column with a
java.sql.Timestamp value. |
void |
updateDateTime(String columnName,
Timestamp x,
int scale) |
Updates the designated column with a
java.sql.Timestamp value. |
void |
updateDateTime(String columnName,
Timestamp x,
int scale,
boolean forceEncrypt) |
Updates the designated column with a
java.sql.Timestamp value. |
void |
updateDateTimeOffset(int index,
DateTimeOffset x) |
Updates the value of the column specified to the DateTimeOffset Class value, given a zero-based column ordinal.
|
void |
updateDateTimeOffset(int index,
DateTimeOffset x,
Integer scale) |
Updates the value of the column specified to the DateTimeOffset Class value, given a zero-based column ordinal.
|
void |
updateDateTimeOffset(int index,
DateTimeOffset x,
Integer scale,
boolean forceEncrypt) |
Updates the value of the column specified to the DateTimeOffset Class value, given a zero-based column ordinal.
|
void |
updateDateTimeOffset(String columnName,
DateTimeOffset x) |
Updates the value of the column specified to the DateTimeOffset Class value, given a column name.
|
void |
updateDateTimeOffset(String columnName,
DateTimeOffset x,
int scale) |
Updates the value of the column specified to the DateTimeOffset Class value, given a column name.
|
void |
updateDateTimeOffset(String columnName,
DateTimeOffset x,
int scale,
boolean forceEncrypt) |
Updates the value of the column specified to the DateTimeOffset Class value, given a column name.
|
void |
updateDouble(int index,
double x) |
|
void |
updateDouble(int index,
double x,
boolean forceEncrypt) |
Updates the designated column with a
double value. |
void |
updateDouble(String columnName,
double x) |
|
void |
updateDouble(String columnName,
double x,
boolean forceEncrypt) |
Updates the designated column with a
double value. |
void |
updateFloat(int index,
float x) |
|
void |
updateFloat(int index,
float x,
boolean forceEncrypt) |
Updates the designated column with a
float value. |
void |
updateFloat(String columnName,
float x) |
|
void |
updateFloat(String columnName,
float x,
boolean forceEncrypt) |
Updates the designated column with a
float value. |
void |
updateInt(int index,
int x) |
|
void |
updateInt(int index,
int x,
boolean forceEncrypt) |
Updates the designated column with an
int value. |
void |
updateInt(String columnName,
int x) |
|
void |
updateInt(String columnName,
int x,
boolean forceEncrypt) |
Updates the designated column with an
int value. |
void |
updateLong(int index,
long x) |
|
void |
updateLong(int index,
long x,
boolean forceEncrypt) |
Updates the designated column with a
long value. |
void |
updateLong(String columnName,
long x) |
|
void |
updateLong(String columnName,
long x,
boolean forceEncrypt) |
Updates the designated column with a
long value. |
void |
updateMoney(int index,
BigDecimal x) |
Updates the designated column with a
money value. |
void |
updateMoney(int index,
BigDecimal x,
boolean forceEncrypt) |
Updates the designated column with a
money value. |
void |
updateMoney(String columnName,
BigDecimal x) |
Updates the designated column with a
money value. |
void |
updateMoney(String columnName,
BigDecimal x,
boolean forceEncrypt) |
Updates the designated column with a
money value. |
void |
updateNCharacterStream(int columnIndex,
Reader x) |
|
void |
updateNCharacterStream(int columnIndex,
Reader x,
long length) |
|
void |
updateNCharacterStream(String columnLabel,
Reader reader) |
|
void |
updateNCharacterStream(String columnLabel,
Reader reader,
long length) |
|
void |
updateNClob(int columnIndex,
Reader reader) |
|
void |
updateNClob(int columnIndex,
Reader reader,
long length) |
|
void |
updateNClob(int columnIndex,
NClob nClob) |
|
void |
updateNClob(String columnLabel,
Reader reader) |
|
void |
updateNClob(String columnLabel,
Reader reader,
long length) |
|
void |
updateNClob(String columnLabel,
NClob nClob) |
|
void |
updateNString(int columnIndex,
String nString) |
|
void |
updateNString(int columnIndex,
String nString,
boolean forceEncrypt) |
Updates the designated column with a
String value. |
void |
updateNString(String columnLabel,
String nString) |
|
void |
updateNString(String columnLabel,
String nString,
boolean forceEncrypt) |
Updates the designated column with a
String value. |
void |
updateNull(int index) |
|
void |
updateNull(String columnName) |
|
void |
updateObject(int index,
Object obj) |
|
void |
updateObject(int index,
Object x,
int scale) |
|
void |
updateObject(int index,
Object x,
int precision,
int scale) |
Updates the designated column with an
Object value. |
void |
updateObject(int index,
Object x,
int precision,
int scale,
boolean forceEncrypt) |
Updates the designated column with an
Object value. |
protected void |
updateObject(int index,
Object x,
Integer scale,
com.microsoft.sqlserver.jdbc.JDBCType jdbcType,
Integer precision,
boolean forceEncrypt) |
|
void |
updateObject(int index,
Object obj,
SQLType targetSqlType) |
|
void |
updateObject(int index,
Object obj,
SQLType targetSqlType,
int scale) |
|
void |
updateObject(int index,
Object obj,
SQLType targetSqlType,
int scale,
boolean forceEncrypt) |
Updates the designated column with an Object value.
|
void |
updateObject(String columnName,
Object x) |
|
void |
updateObject(String columnName,
Object x,
int scale) |
|
void |
updateObject(String columnName,
Object x,
int precision,
int scale) |
Updates the designated column with an
Object value. |
void |
updateObject(String columnName,
Object x,
int precision,
int scale,
boolean forceEncrypt) |
Updates the designated column with an
Object value. |
void |
updateObject(String columnName,
Object obj,
SQLType targetSqlType) |
|
void |
updateObject(String columnName,
Object obj,
SQLType targetSqlType,
int scale) |
|
void |
updateObject(String columnName,
Object obj,
SQLType targetSqlType,
int scale,
boolean forceEncrypt) |
Updates the designated column with an Object value.
|
void |
updateRef(int columnIndex,
Ref x) |
|
void |
updateRef(String columnName,
Ref x) |
|
void |
updateRow() |
|
void |
updateRowId(int columnIndex,
RowId x) |
|
void |
updateRowId(String columnLabel,
RowId x) |
|
void |
updateShort(int index,
short x) |
|
void |
updateShort(int index,
short x,
boolean forceEncrypt) |
Updates the designated column with a
short value. |
void |
updateShort(String columnName,
short x) |
|
void |
updateShort(String columnName,
short x,
boolean forceEncrypt) |
Updates the designated column with a
short value. |
void |
updateSmallDateTime(int index,
Timestamp x) |
Updates the designated column with a
java.sql.Timestamp value. |
void |
updateSmallDateTime(int index,
Timestamp x,
Integer scale) |
Updates the designated column with a
java.sql.Timestamp value. |
void |
updateSmallDateTime(int index,
Timestamp x,
Integer scale,
boolean forceEncrypt) |
Updates the designated column with a
java.sql.Timestamp value. |
void |
updateSmallDateTime(String columnName,
Timestamp x) |
Updates the designated column with a
java.sql.Timestamp value. |
void |
updateSmallDateTime(String columnName,
Timestamp x,
int scale) |
Updates the designated column with a
java.sql.Timestamp value. |
void |
updateSmallDateTime(String columnName,
Timestamp x,
int scale,
boolean forceEncrypt) |
Updates the designated column with a
java.sql.Timestamp value. |
void |
updateSmallMoney(int index,
BigDecimal x) |
Updates the designated column with a
smallmoney value. |
void |
updateSmallMoney(int index,
BigDecimal x,
boolean forceEncrypt) |
Updates the designated column with a
smallmoney value. |
void |
updateSmallMoney(String columnName,
BigDecimal x) |
Updates the designated column with a
smallmoney value. |
void |
updateSmallMoney(String columnName,
BigDecimal x,
boolean forceEncrypt) |
Updates the designated column with a
smallmoney value. |
void |
updateSQLXML(int columnIndex,
SQLXML xmlObject) |
|
void |
updateSQLXML(String columnLabel,
SQLXML x) |
|
void |
updateString(int columnIndex,
String stringValue) |
|
void |
updateString(int columnIndex,
String stringValue,
boolean forceEncrypt) |
Updates the designated column with a
String value. |
void |
updateString(String columnName,
String x) |
|
void |
updateString(String columnName,
String x,
boolean forceEncrypt) |
Updates the designated column with a
String value. |
void |
updateTime(int index,
Time x) |
|
void |
updateTime(int index,
Time x,
Integer scale) |
Updates the designated column with a
java.sql.Time value. |
void |
updateTime(int index,
Time x,
Integer scale,
boolean forceEncrypt) |
Updates the designated column with a
java.sql.Time value. |
void |
updateTime(String columnName,
Time x) |
|
void |
updateTime(String columnName,
Time x,
int scale) |
Updates the designated column with a
java.sql.Time value. |
void |
updateTime(String columnName,
Time x,
int scale,
boolean forceEncrypt) |
Updates the designated column with a
java.sql.Time value. |
void |
updateTimestamp(int index,
Timestamp x) |
|
void |
updateTimestamp(int index,
Timestamp x,
int scale) |
Updates the designated column with a
java.sql.Timestamp value. |
void |
updateTimestamp(int index,
Timestamp x,
int scale,
boolean forceEncrypt) |
Updates the designated column with a
java.sql.Timestamp value. |
void |
updateTimestamp(String columnName,
Timestamp x) |
|
void |
updateTimestamp(String columnName,
Timestamp x,
int scale) |
Updates the designated column with a
java.sql.Timestamp value. |
void |
updateTimestamp(String columnName,
Timestamp x,
int scale,
boolean forceEncrypt) |
Updates the designated column with a
java.sql.Timestamp value. |
void |
updateUniqueIdentifier(int index,
String x) |
Updates the designated column with a
String value. |
void |
updateUniqueIdentifier(int index,
String x,
boolean forceEncrypt) |
Updates the designated column with a
String value. |
void |
updateUniqueIdentifier(String columnName,
String x) |
Updates the designated column with a
Stringvalue. |
void |
updateUniqueIdentifier(String columnName,
String x,
boolean forceEncrypt) |
Updates the designated column with a
Stringvalue. |
boolean |
wasNull() |
protected static final Logger loggerExternal
protected int getServerCursorId()
protected com.microsoft.sqlserver.jdbc.TDSReader getTDSReader()
public SensitivityClassification getSensitivityClassification()
ISQLServerResultSetgetSensitivityClassification in interface ISQLServerResultSetpublic boolean isWrapperFor(Class<?> iface) throws SQLException
isWrapperFor in interface WrapperSQLExceptionpublic <T> T unwrap(Class<T> iface) throws SQLException
unwrap in interface WrapperSQLExceptionpublic boolean isClosed()
throws SQLException
isClosed in interface ResultSetSQLExceptionprotected boolean isForwardOnly()
public void close()
throws SQLServerException
close in interface AutoCloseableclose in interface ResultSetSQLServerExceptionpublic int findColumn(String columnName) throws SQLServerException
findColumn in interface ResultSetcolumnName - the name of the columnSQLServerException - If any errors occur.public void clearWarnings()
throws SQLServerException
clearWarnings in interface ResultSetSQLServerException - when an error occurspublic boolean relative(int rows)
throws SQLException
relative in interface ResultSetSQLExceptionpublic boolean next()
throws SQLServerException
next in interface ResultSetSQLServerExceptionpublic boolean wasNull()
throws SQLServerException
wasNull in interface ResultSetSQLServerExceptionpublic boolean isBeforeFirst()
throws SQLException
isBeforeFirst in interface ResultSetSQLExceptionpublic boolean isAfterLast()
throws SQLException
isAfterLast in interface ResultSetSQLExceptionpublic boolean isFirst()
throws SQLException
ResultSet object.
This method should be called only on ResultSet objects that are scrollable: TYPE_SCROLL_SENSITIVE,
TYPE_SCROLL_INSENSITIVE, TYPE_SS_SCROLL_STATIC, TYPE_SS_SCROLL_KEYSET, TYPE_SS_SCROLL_DYNAMIC.
Note:Support for the isFirst method is optional for ResultSets with a
result set type of TYPE_FORWARD_ONLY
isFirst in interface ResultSettrue if the cursor is on the first row; false otherwiseSQLException - if a database access error occurs or this method is called on a closed result setpublic boolean isLast()
throws SQLException
ResultSet object. Note:
Calling the method isLast may be expensive because the JDBC driver might need to fetch ahead one row
in order to determine whether the current row is the last row in the result set.
This method should be called only on ResultSet objects that are scrollable: TYPE_SCROLL_SENSITIVE, TYPE_SCROLL_INSENSITIVE, TYPE_SS_SCROLL_STATIC, TYPE_SS_SCROLL_KEYSET, TYPE_SS_SCROLL_DYNAMIC.
Note: Support for theisLast method is optional for ResultSets with a
result set type of TYPE_FORWARD_ONLYisLast in interface ResultSettrue if the cursor is on the last row; false otherwiseSQLException - if a database access error occurs or this method is called on a closed result setpublic void beforeFirst()
throws SQLException
beforeFirst in interface ResultSetSQLExceptionpublic void afterLast()
throws SQLException
afterLast in interface ResultSetSQLExceptionpublic boolean first()
throws SQLException
ResultSet object.
This method should be called only on ResultSet objects that are scrollable: TYPE_SCROLL_SENSITIVE, TYPE_SCROLL_INSENSITIVE, TYPE_SS_SCROLL_STATIC, TYPE_SS_SCROLL_KEYSET, TYPE_SS_SCROLL_DYNAMIC.
first in interface ResultSettrue if the cursor is on a valid row; false if there are no rows in the result
setSQLException - if a database access error occurs; this method is called on a closed result set or the result set type
is TYPE_FORWARD_ONLYpublic boolean last()
throws SQLException
ResultSet object.
This method should be called only on ResultSet objects that are scrollable: TYPE_SCROLL_SENSITIVE,
TYPE_SCROLL_INSENSITIVE, TYPE_SS_SCROLL_STATIC, TYPE_SS_SCROLL_KEYSET, TYPE_SS_SCROLL_DYNAMIC.last in interface ResultSettrue if the cursor is on a valid row; false if there are no rows in the result
setSQLException - if a database access error occurs; this method is called on a closed result set or the result set type
is TYPE_FORWARD_ONLYpublic int getRow()
throws SQLException
getRow in interface ResultSetSQLExceptionpublic boolean absolute(int row)
throws SQLException
ResultSet object.
This method should be called only on ResultSet objects that are scrollable: TYPE_SCROLL_SENSITIVE, TYPE_SCROLL_INSENSITIVE, TYPE_SS_SCROLL_STATIC, TYPE_SS_SCROLL_KEYSET, TYPE_SS_SCROLL_DYNAMIC.
If the row number is positive, the cursor moves to the given row number with respect to the beginning of the result set. The first row is row 1, the second is row 2, and so on.
If the given row number is negative, the cursor moves to an absolute row position with respect to the end of the
result set. For example, calling the method absolute(-1) positions the cursor on the last row;
calling the method absolute(-2) moves the cursor to the next-to-last row, and so on.
If the row number specified is zero, the cursor is moved to before the first row.
An attempt to position the cursor beyond the first/last row in the result set leaves the cursor before the first row or after the last row.
Note: Calling absolute(1) is the same as calling first(). Calling
absolute(-1) is the same as calling last().
absolute in interface ResultSetrow - the number of the row to which the cursor should move. A value of zero indicates that the cursor will be
positioned before the first row; a positive number indicates the row number counting from the beginning of
the result set; a negative number indicates the row number counting from the end of the result settrue if the cursor is moved to a position in this ResultSet object;
false if the cursor is before the first row or after the last rowSQLException - if a database access error occurs; this method is called on a closed result set or the result set type
is TYPE_FORWARD_ONLYpublic boolean previous()
throws SQLException
ResultSet object.
This method should be called only on ResultSet objects that are scrollable: TYPE_SCROLL_SENSITIVE,
TYPE_SCROLL_INSENSITIVE, TYPE_SS_SCROLL_STATIC, TYPE_SS_SCROLL_KEYSET, TYPE_SS_SCROLL_DYNAMIC.previous in interface ResultSettrue if the cursor is now positioned on a valid row; false if the cursor is
positioned before the first rowSQLException - if a database access error occurs; this method is called on a closed result set or the result set type
is TYPE_FORWARD_ONLYpublic SQLWarning getWarnings() throws SQLException
getWarnings in interface ResultSetSQLExceptionpublic void setFetchDirection(int direction)
throws SQLException
setFetchDirection in interface ResultSetSQLExceptionpublic int getFetchDirection()
throws SQLException
getFetchDirection in interface ResultSetSQLExceptionpublic void setFetchSize(int rows)
throws SQLServerException
setFetchSize in interface ResultSetSQLServerExceptionpublic int getFetchSize()
throws SQLException
getFetchSize in interface ResultSetSQLExceptionpublic int getType()
throws SQLServerException
getType in interface ResultSetSQLServerExceptionpublic int getConcurrency()
throws SQLServerException
getConcurrency in interface ResultSetSQLServerExceptionpublic InputStream getAsciiStream(int columnIndex) throws SQLServerException
getAsciiStream in interface ResultSetSQLServerExceptionpublic InputStream getAsciiStream(String columnName) throws SQLServerException
getAsciiStream in interface ResultSetSQLServerException@Deprecated public BigDecimal getBigDecimal(int columnIndex, int scale) throws SQLServerException
getBigDecimal in interface ResultSetSQLServerException@Deprecated public BigDecimal getBigDecimal(String columnName, int scale) throws SQLServerException
getBigDecimal in interface ResultSetSQLServerExceptionpublic InputStream getBinaryStream(int columnIndex) throws SQLServerException
getBinaryStream in interface ResultSetSQLServerExceptionpublic InputStream getBinaryStream(String columnName) throws SQLServerException
getBinaryStream in interface ResultSetSQLServerExceptionpublic boolean getBoolean(int columnIndex)
throws SQLServerException
getBoolean in interface ResultSetSQLServerExceptionpublic boolean getBoolean(String columnName) throws SQLServerException
getBoolean in interface ResultSetSQLServerExceptionpublic byte getByte(int columnIndex)
throws SQLServerException
getByte in interface ResultSetSQLServerExceptionpublic byte getByte(String columnName) throws SQLServerException
getByte in interface ResultSetSQLServerExceptionpublic byte[] getBytes(int columnIndex)
throws SQLServerException
getBytes in interface ResultSetSQLServerExceptionpublic byte[] getBytes(String columnName) throws SQLServerException
getBytes in interface ResultSetSQLServerExceptionpublic Date getDate(int columnIndex) throws SQLServerException
getDate in interface ResultSetSQLServerExceptionpublic Date getDate(String columnName) throws SQLServerException
getDate in interface ResultSetSQLServerExceptionpublic Date getDate(int columnIndex, Calendar cal) throws SQLServerException
getDate in interface ResultSetSQLServerExceptionpublic Date getDate(String colName, Calendar cal) throws SQLServerException
getDate in interface ResultSetSQLServerExceptionpublic double getDouble(int columnIndex)
throws SQLServerException
getDouble in interface ResultSetSQLServerExceptionpublic double getDouble(String columnName) throws SQLServerException
getDouble in interface ResultSetSQLServerExceptionpublic float getFloat(int columnIndex)
throws SQLServerException
getFloat in interface ResultSetSQLServerExceptionpublic float getFloat(String columnName) throws SQLServerException
getFloat in interface ResultSetSQLServerExceptionpublic Geometry getGeometry(int columnIndex) throws SQLServerException
ISQLServerResultSetgetGeometry in interface ISQLServerResultSetcolumnIndex - the first column is 1, the second is 2, ...SQLServerException - when an error occurspublic Geometry getGeometry(String columnName) throws SQLServerException
ISQLServerResultSetgetGeometry in interface ISQLServerResultSetcolumnName - the name of the columnSQLServerException - when an error occurspublic Geography getGeography(int columnIndex) throws SQLServerException
ISQLServerResultSetgetGeography in interface ISQLServerResultSetcolumnIndex - the first column is 1, the second is 2, ...SQLServerException - when an error occurspublic Geography getGeography(String columnName) throws SQLServerException
ISQLServerResultSetgetGeography in interface ISQLServerResultSetcolumnName - the name of the columnSQLServerException - when an error occurspublic int getInt(int columnIndex)
throws SQLServerException
getInt in interface ResultSetSQLServerExceptionpublic int getInt(String columnName) throws SQLServerException
getInt in interface ResultSetSQLServerExceptionpublic long getLong(int columnIndex)
throws SQLServerException
getLong in interface ResultSetSQLServerExceptionpublic long getLong(String columnName) throws SQLServerException
getLong in interface ResultSetSQLServerExceptionpublic ResultSetMetaData getMetaData() throws SQLServerException
getMetaData in interface ResultSetSQLServerExceptionpublic Object getObject(int columnIndex) throws SQLServerException
getObject in interface ResultSetSQLServerExceptionpublic <T> T getObject(int columnIndex,
Class<T> type)
throws SQLException
getObject in interface ResultSetSQLExceptionpublic Object getObject(String columnName) throws SQLServerException
getObject in interface ResultSetSQLServerExceptionpublic <T> T getObject(String columnName, Class<T> type) throws SQLException
getObject in interface ResultSetSQLExceptionpublic short getShort(int columnIndex)
throws SQLServerException
getShort in interface ResultSetSQLServerExceptionpublic short getShort(String columnName) throws SQLServerException
getShort in interface ResultSetSQLServerExceptionpublic String getString(int columnIndex) throws SQLServerException
getString in interface ResultSetSQLServerExceptionpublic String getString(String columnName) throws SQLServerException
getString in interface ResultSetSQLServerExceptionpublic String getNString(int columnIndex) throws SQLException
getNString in interface ResultSetSQLExceptionpublic String getNString(String columnLabel) throws SQLException
getNString in interface ResultSetSQLExceptionpublic String getUniqueIdentifier(int columnIndex) throws SQLServerException
ISQLServerResultSetgetUniqueIdentifier in interface ISQLServerResultSetcolumnIndex - the first column is 1, the second is 2, ...SQLServerException - when an error occurspublic String getUniqueIdentifier(String columnLabel) throws SQLServerException
ISQLServerResultSetgetUniqueIdentifier in interface ISQLServerResultSetcolumnLabel - the name of the columnSQLServerException - when an error occurspublic Time getTime(int columnIndex) throws SQLServerException
getTime in interface ResultSetSQLServerExceptionpublic Time getTime(String columnName) throws SQLServerException
getTime in interface ResultSetSQLServerExceptionpublic Time getTime(int columnIndex, Calendar cal) throws SQLServerException
getTime in interface ResultSetSQLServerExceptionpublic Time getTime(String colName, Calendar cal) throws SQLServerException
getTime in interface ResultSetSQLServerExceptionpublic Timestamp getTimestamp(int columnIndex) throws SQLServerException
getTimestamp in interface ResultSetSQLServerExceptionpublic Timestamp getTimestamp(String columnName) throws SQLServerException
getTimestamp in interface ResultSetSQLServerExceptionpublic Timestamp getTimestamp(int columnIndex, Calendar cal) throws SQLServerException
getTimestamp in interface ResultSetSQLServerExceptionpublic Timestamp getTimestamp(String colName, Calendar cal) throws SQLServerException
getTimestamp in interface ResultSetSQLServerExceptionpublic Timestamp getDateTime(int columnIndex) throws SQLServerException
ISQLServerResultSetgetDateTime in interface ISQLServerResultSetcolumnIndex - the first column is 1, the second is 2, ...SQLServerException - when an error occurspublic Timestamp getDateTime(String columnName) throws SQLServerException
ISQLServerResultSetgetDateTime in interface ISQLServerResultSetcolumnName - is the name of the columnSQLServerException - If any errors occur.public Timestamp getDateTime(int columnIndex, Calendar cal) throws SQLServerException
ISQLServerResultSetgetDateTime in interface ISQLServerResultSetcolumnIndex - the first column is 1, the second is 2, ...cal - the java.util.Calendar object to use in constructing the dateTimeSQLServerException - If any errors occur.public Timestamp getDateTime(String colName, Calendar cal) throws SQLServerException
ISQLServerResultSetgetDateTime in interface ISQLServerResultSetcolName - the label for the column specified with the SQL AS clause. If the SQL AS clause was not specified, then
the label is the name of the columncal - the java.util.Calendar object to use in constructing the dateTimeSQLServerException - If any errors occur.public Timestamp getSmallDateTime(int columnIndex) throws SQLServerException
ISQLServerResultSetgetSmallDateTime in interface ISQLServerResultSetcolumnIndex - the first column is 1, the second is 2, ...SQLServerException - when an error occurspublic Timestamp getSmallDateTime(String columnName) throws SQLServerException
ISQLServerResultSetgetSmallDateTime in interface ISQLServerResultSetcolumnName - is the name of a column.SQLServerException - If any errors occur.public Timestamp getSmallDateTime(int columnIndex, Calendar cal) throws SQLServerException
ISQLServerResultSetgetSmallDateTime in interface ISQLServerResultSetcolumnIndex - the first column is 1, the second is 2, ...cal - the java.util.Calendar object to use in constructing the smalldateTimeSQLServerException - If any errors occur.public Timestamp getSmallDateTime(String colName, Calendar cal) throws SQLServerException
ISQLServerResultSetgetSmallDateTime in interface ISQLServerResultSetcolName - The name of a columncal - the java.util.Calendar object to use in constructing the smalldateTimeSQLServerException - If any errors occur.public DateTimeOffset getDateTimeOffset(int columnIndex) throws SQLServerException
ISQLServerResultSetgetDateTimeOffset in interface ISQLServerResultSetcolumnIndex - The zero-based ordinal of a column.SQLServerException - when an error occurspublic DateTimeOffset getDateTimeOffset(String columnName) throws SQLServerException
ISQLServerResultSetgetDateTimeOffset in interface ISQLServerResultSetcolumnName - The name of a column.SQLServerException - when an error occurs@Deprecated public InputStream getUnicodeStream(int columnIndex) throws SQLException
getUnicodeStream in interface ResultSetSQLException@Deprecated public InputStream getUnicodeStream(String columnName) throws SQLException
getUnicodeStream in interface ResultSetSQLExceptionpublic Object getObject(int i, Map<String,Class<?>> map) throws SQLException
getObject in interface ResultSetSQLExceptionpublic Ref getRef(int i) throws SQLException
getRef in interface ResultSetSQLExceptionpublic Blob getBlob(int i) throws SQLServerException
getBlob in interface ResultSetSQLServerExceptionpublic Blob getBlob(String colName) throws SQLServerException
getBlob in interface ResultSetSQLServerExceptionpublic Clob getClob(int columnIndex) throws SQLServerException
getClob in interface ResultSetSQLServerExceptionpublic Clob getClob(String colName) throws SQLServerException
getClob in interface ResultSetSQLServerExceptionpublic NClob getNClob(int columnIndex) throws SQLException
getNClob in interface ResultSetSQLExceptionpublic NClob getNClob(String columnLabel) throws SQLException
getNClob in interface ResultSetSQLExceptionpublic Array getArray(int i) throws SQLException
getArray in interface ResultSetSQLExceptionpublic Object getObject(String colName, Map<String,Class<?>> map) throws SQLException
getObject in interface ResultSetSQLExceptionpublic Ref getRef(String colName) throws SQLException
getRef in interface ResultSetSQLExceptionpublic Array getArray(String colName) throws SQLException
getArray in interface ResultSetSQLExceptionpublic String getCursorName() throws SQLException
getCursorName in interface ResultSetSQLExceptionpublic Reader getCharacterStream(int columnIndex) throws SQLException
getCharacterStream in interface ResultSetSQLExceptionpublic Reader getCharacterStream(String columnName) throws SQLException
getCharacterStream in interface ResultSetSQLExceptionpublic Reader getNCharacterStream(int columnIndex) throws SQLException
getNCharacterStream in interface ResultSetSQLExceptionpublic Reader getNCharacterStream(String columnLabel) throws SQLException
getNCharacterStream in interface ResultSetSQLExceptionpublic BigDecimal getBigDecimal(int columnIndex) throws SQLException
getBigDecimal in interface ResultSetSQLExceptionpublic BigDecimal getBigDecimal(String columnName) throws SQLException
getBigDecimal in interface ResultSetSQLExceptionpublic BigDecimal getMoney(int columnIndex) throws SQLServerException
ISQLServerResultSetgetMoney in interface ISQLServerResultSetcolumnIndex - The zero-based ordinal of a column.SQLServerException - when an error occurspublic BigDecimal getMoney(String columnName) throws SQLServerException
ISQLServerResultSetgetMoney in interface ISQLServerResultSetcolumnName - is the name of a column.SQLServerException - If any errors occur.public BigDecimal getSmallMoney(int columnIndex) throws SQLServerException
ISQLServerResultSetgetSmallMoney in interface ISQLServerResultSetcolumnIndex - The zero-based ordinal of a column.SQLServerException - If any errors occur.public BigDecimal getSmallMoney(String columnName) throws SQLServerException
ISQLServerResultSetgetSmallMoney in interface ISQLServerResultSetcolumnName - is the name of a column.SQLServerException - If any errors occur.public RowId getRowId(int columnIndex) throws SQLException
getRowId in interface ResultSetSQLExceptionpublic RowId getRowId(String columnLabel) throws SQLException
getRowId in interface ResultSetSQLExceptionpublic SQLXML getSQLXML(int columnIndex) throws SQLException
getSQLXML in interface ResultSetSQLExceptionpublic SQLXML getSQLXML(String columnLabel) throws SQLException
getSQLXML in interface ResultSetSQLExceptionpublic boolean rowUpdated()
throws SQLServerException
rowUpdated in interface ResultSetSQLServerExceptionpublic boolean rowInserted()
throws SQLServerException
rowInserted in interface ResultSetSQLServerExceptionpublic boolean rowDeleted()
throws SQLServerException
rowDeleted in interface ResultSetSQLServerExceptionpublic void updateNull(int index)
throws SQLServerException
updateNull in interface ResultSetSQLServerExceptionpublic void updateBoolean(int index,
boolean x)
throws SQLException
updateBoolean in interface ResultSetSQLExceptionpublic void updateBoolean(int index,
boolean x,
boolean forceEncrypt)
throws SQLServerException
ISQLServerResultSetboolean value. The updater methods are used to update column
values in the current row or the insert row. The updater methods do not update the underlying database; instead
the updateRow or insertRow methods are called to update the database.updateBoolean in interface ISQLServerResultSetindex - the first column is 1, the second is 2, ...x - the new column valueforceEncrypt - If the boolean forceEncrypt is set to true, the query parameter will only be set if the designation column
is encrypted and Always Encrypted is enabled on the connection or on the statement. If the boolean
forceEncrypt is set to false, the driver will not force encryption on parameters.SQLServerException - when an error occurspublic void updateByte(int index,
byte x)
throws SQLException
updateByte in interface ResultSetSQLExceptionpublic void updateByte(int index,
byte x,
boolean forceEncrypt)
throws SQLServerException
ISQLServerResultSetbyte value. The updater methods are used to update column
values in the current row or the insert row. The updater methods do not update the underlying database; instead
the updateRow or insertRow methods are called to update the database.updateByte in interface ISQLServerResultSetindex - the first column is 1, the second is 2, ...x - the new column valueforceEncrypt - If the boolean forceEncrypt is set to true, the query parameter will only be set if the designation column
is encrypted and Always Encrypted is enabled on the connection or on the statement. If the boolean
forceEncrypt is set to false, the driver will not force encryption on parameters.SQLServerException - when an error occurspublic void updateShort(int index,
short x)
throws SQLException
updateShort in interface ResultSetSQLExceptionpublic void updateShort(int index,
short x,
boolean forceEncrypt)
throws SQLServerException
ISQLServerResultSetshort value. The updater methods are used to update column
values in the current row or the insert row. The updater methods do not update the underlying database; instead
the updateRow or insertRow methods are called to update the database.updateShort in interface ISQLServerResultSetindex - the first column is 1, the second is 2, ...x - the new column valueforceEncrypt - If the boolean forceEncrypt is set to true, the query parameter will only be set if the designation column
is encrypted and Always Encrypted is enabled on the connection or on the statement. If the boolean
forceEncrypt is set to false, the driver will not force encryption on parameters.SQLServerException - when an error occurspublic void updateInt(int index,
int x)
throws SQLException
updateInt in interface ResultSetSQLExceptionpublic void updateInt(int index,
int x,
boolean forceEncrypt)
throws SQLServerException
ISQLServerResultSetint value. The updater methods are used to update column
values in the current row or the insert row. The updater methods do not update the underlying database; instead
the updateRow or insertRow methods are called to update the database.updateInt in interface ISQLServerResultSetindex - the first column is 1, the second is 2, ...x - the new column valueforceEncrypt - If the boolean forceEncrypt is set to true, the query parameter will only be set if the designation column
is encrypted and Always Encrypted is enabled on the connection or on the statement. If the boolean
forceEncrypt is set to false, the driver will not force encryption on parameters.SQLServerException - when an error occurspublic void updateLong(int index,
long x)
throws SQLException
updateLong in interface ResultSetSQLExceptionpublic void updateLong(int index,
long x,
boolean forceEncrypt)
throws SQLServerException
ISQLServerResultSetlong value. The updater methods are used to update column
values in the current row or the insert row. The updater methods do not update the underlying database; instead
the updateRow or insertRow methods are called to update the database.updateLong in interface ISQLServerResultSetindex - the first column is 1, the second is 2, ...x - the new column valueforceEncrypt - If the boolean forceEncrypt is set to true, the query parameter will only be set if the designation column
is encrypted and Always Encrypted is enabled on the connection or on the statement. If the boolean
forceEncrypt is set to false, the driver will not force encryption on parameters.SQLServerException - when an error occurspublic void updateFloat(int index,
float x)
throws SQLException
updateFloat in interface ResultSetSQLExceptionpublic void updateFloat(int index,
float x,
boolean forceEncrypt)
throws SQLServerException
ISQLServerResultSetfloat value. The updater methods are used to update column
values in the current row or the insert row. The updater methods do not update the underlying database; instead
the updateRow or insertRow methods are called to update the database.updateFloat in interface ISQLServerResultSetindex - the first column is 1, the second is 2, ...x - the new column valueforceEncrypt - If the boolean forceEncrypt is set to true, the query parameter will only be set if the designation column
is encrypted and Always Encrypted is enabled on the connection or on the statement. If the boolean
forceEncrypt is set to false, the driver will not force encryption on parameters.SQLServerException - when an error occurspublic void updateDouble(int index,
double x)
throws SQLException
updateDouble in interface ResultSetSQLExceptionpublic void updateDouble(int index,
double x,
boolean forceEncrypt)
throws SQLServerException
ISQLServerResultSetdouble value. The updater methods are used to update column
values in the current row or the insert row. The updater methods do not update the underlying database; instead
the updateRow or insertRow methods are called to update the database.updateDouble in interface ISQLServerResultSetindex - the first column is 1, the second is 2, ...x - the new column valueforceEncrypt - If the boolean forceEncrypt is set to true, the query parameter will only be set if the designation column
is encrypted and Always Encrypted is enabled on the connection or on the statement. If the boolean
forceEncrypt is set to false, the driver will not force encryption on parameters.SQLServerException - when an error occurspublic void updateMoney(int index,
BigDecimal x)
throws SQLServerException
ISQLServerResultSetmoney value. The updater methods are used to update column
values in the current row or the insert row. The updater methods do not update the underlying database; instead
the updateRow or insertRow methods are called to update the database.updateMoney in interface ISQLServerResultSetindex - the first column is 1, the second is 2, ...x - the new column valueSQLServerException - when an error occurspublic void updateMoney(int index,
BigDecimal x,
boolean forceEncrypt)
throws SQLServerException
ISQLServerResultSetmoney value. The updater methods are used to update column
values in the current row or the insert row. The updater methods do not update the underlying database; instead
the updateRow or insertRow methods are called to update the database.updateMoney in interface ISQLServerResultSetindex - the first column is 1, the second is 2, ...x - the new column valueforceEncrypt - If the boolean forceEncrypt is set to true, the query parameter will only be set if the designation column
is encrypted and Always Encrypted is enabled on the connection or on the statement. If the boolean
forceEncrypt is set to false, the driver will not force encryption on parameters.SQLServerException - when an error occurspublic void updateMoney(String columnName, BigDecimal x) throws SQLServerException
ISQLServerResultSetmoney value. The updater methods are used to update column
values in the current row or the insert row. The updater methods do not update the underlying database; instead
the updateRow or insertRow methods are called to update the database.updateMoney in interface ISQLServerResultSetcolumnName - the column namex - the new column valueSQLServerException - If any errors occur.public void updateMoney(String columnName, BigDecimal x, boolean forceEncrypt) throws SQLServerException
ISQLServerResultSetmoney value. The updater methods are used to update column
values in the current row or the insert row. The updater methods do not update the underlying database; instead
the updateRow or insertRow methods are called to update the database.updateMoney in interface ISQLServerResultSetcolumnName - the column namex - the new column valueforceEncrypt - If the boolean forceEncrypt is set to true, the query parameter will only be set if the designation column
is encrypted and Always Encrypted is enabled on the connection or on the statement. If the boolean
forceEncrypt is set to false, the driver will not force encryption on parameters.SQLServerException - If any errors occur.public void updateSmallMoney(int index,
BigDecimal x)
throws SQLServerException
ISQLServerResultSetsmallmoney value. The updater methods are used to update column
values in the current row or the insert row. The updater methods do not update the underlying database; instead
the updateRow or insertRow methods are called to update the database.updateSmallMoney in interface ISQLServerResultSetindex - the first column is 1, the second is 2, ...x - the new column valueSQLServerException - when an error occurspublic void updateSmallMoney(int index,
BigDecimal x,
boolean forceEncrypt)
throws SQLServerException
ISQLServerResultSetsmallmoney value. The updater methods are used to update column
values in the current row or the insert row. The updater methods do not update the underlying database; instead
the updateRow or insertRow methods are called to update the database.updateSmallMoney in interface ISQLServerResultSetindex - the first column is 1, the second is 2, ...x - the new column valueforceEncrypt - If the boolean forceEncrypt is set to true, the query parameter will only be set if the designation column
is encrypted and Always Encrypted is enabled on the connection or on the statement. If the boolean
forceEncrypt is set to false, the driver will not force encryption on parameters.SQLServerException - when an error occurspublic void updateSmallMoney(String columnName, BigDecimal x) throws SQLServerException
ISQLServerResultSetsmallmoney value. The updater methods are used to update column
values in the current row or the insert row. The updater methods do not update the underlying database; instead
the updateRow or insertRow methods are called to update the database.updateSmallMoney in interface ISQLServerResultSetcolumnName - the column namex - the new column valueSQLServerException - If any errors occur.public void updateSmallMoney(String columnName, BigDecimal x, boolean forceEncrypt) throws SQLServerException
ISQLServerResultSetsmallmoney value. The updater methods are used to update column
values in the current row or the insert row. The updater methods do not update the underlying database; instead
the updateRow or insertRow methods are called to update the database.updateSmallMoney in interface ISQLServerResultSetcolumnName - the column namex - the new column valueforceEncrypt - If the boolean forceEncrypt is set to true, the query parameter will only be set if the designation column
is encrypted and Always Encrypted is enabled on the connection or on the statement. If the boolean
forceEncrypt is set to false, the driver will not force encryption on parameters.SQLServerException - If any errors occur.public void updateBigDecimal(int index,
BigDecimal x)
throws SQLServerException
updateBigDecimal in interface ResultSetSQLServerExceptionpublic void updateBigDecimal(int index,
BigDecimal x,
Integer precision,
Integer scale)
throws SQLServerException
ISQLServerResultSetjava.math.BigDecimal value. The updater methods are used to
update column values in the current row or the insert row. The updater methods do not update the underlying
database; instead the updateRow or insertRow methods are called to update the database.updateBigDecimal in interface ISQLServerResultSetindex - the first column is 1, the second is 2, ...x - the new column valueprecision - the precision of the columnscale - the scale of the columnSQLServerException - when an error occurspublic void updateBigDecimal(int index,
BigDecimal x,
Integer precision,
Integer scale,
boolean forceEncrypt)
throws SQLServerException
ISQLServerResultSetjava.math.BigDecimal value. The updater methods are used to
update column values in the current row or the insert row. The updater methods do not update the underlying
database; instead the updateRow or insertRow methods are called to update the database.updateBigDecimal in interface ISQLServerResultSetindex - the first column is 1, the second is 2, ...x - the new column valueprecision - the precision of the columnscale - the scale of the columnforceEncrypt - If the boolean forceEncrypt is set to true, the query parameter will only be set if the designation column
is encrypted and Always Encrypted is enabled on the connection or on the statement. If the boolean
forceEncrypt is set to false, the driver will not force encryption on parameters.SQLServerException - when an error occurspublic void updateString(int columnIndex,
String stringValue)
throws SQLServerException
updateString in interface ResultSetSQLServerExceptionpublic void updateString(int columnIndex,
String stringValue,
boolean forceEncrypt)
throws SQLServerException
ISQLServerResultSetString value. The updater methods are used to update column
values in the current row or the insert row. The updater methods do not update the underlying database; instead
the updateRow or insertRow methods are called to update the database.updateString in interface ISQLServerResultSetcolumnIndex - the first column is 1, the second is 2, ...stringValue - the new column valueforceEncrypt - If the boolean forceEncrypt is set to true, the query parameter will only be set if the designation column
is encrypted and Always Encrypted is enabled on the connection or on the statement. If the boolean
forceEncrypt is set to false, the driver will not force encryption on parameters.SQLServerException - when an error occurspublic void updateNString(int columnIndex,
String nString)
throws SQLException
updateNString in interface ResultSetSQLExceptionpublic void updateNString(int columnIndex,
String nString,
boolean forceEncrypt)
throws SQLServerException
ISQLServerResultSetString value. It is intended for use when updating
NCHAR,NVARCHAR and LONGNVARCHAR columns. The updater methods are used to
update column values in the current row or the insert row. The updater methods do not update the underlying
database; instead the updateRow or insertRow methods are called to update the database.updateNString in interface ISQLServerResultSetcolumnIndex - the first column is 1, the second 2, ...nString - the value for the column to be updatedforceEncrypt - If the boolean forceEncrypt is set to true, the query parameter will only be set if the designation column
is encrypted and Always Encrypted is enabled on the connection or on the statement. If the boolean
forceEncrypt is set to false, the driver will not force encryption on parameters.SQLServerException - when an error occurspublic void updateNString(String columnLabel, String nString) throws SQLException
updateNString in interface ResultSetSQLExceptionpublic void updateNString(String columnLabel, String nString, boolean forceEncrypt) throws SQLServerException
ISQLServerResultSetString value. It is intended for use when updating
NCHAR,NVARCHAR and LONGNVARCHAR columns. The updater methods are used to
update column values in the current row or the insert row. The updater methods do not update the underlying
database; instead the updateRow or insertRow methods are called to update the database.updateNString in interface ISQLServerResultSetcolumnLabel - the label for the column specified with the SQL AS clause. If the SQL AS clause was not specified, then
the label is the name of the columnnString - the value for the column to be updatedforceEncrypt - If the boolean forceEncrypt is set to true, the query parameter will only be set if the designation column
is encrypted and Always Encrypted is enabled on the connection or on the statement. If the boolean
forceEncrypt is set to false, the driver will not force encryption on parameters.SQLServerException - when an error occurspublic void updateBytes(int index,
byte[] x)
throws SQLException
updateBytes in interface ResultSetSQLExceptionpublic void updateBytes(int index,
byte[] x,
boolean forceEncrypt)
throws SQLServerException
ISQLServerResultSetbyte array value. The updater methods are used to update column
values in the current row or the insert row. The updater methods do not update the underlying database; instead
the updateRow or insertRow methods are called to update the database.updateBytes in interface ISQLServerResultSetindex - the first column is 1, the second is 2, ...x - the new column valueforceEncrypt - If the boolean forceEncrypt is set to true, the query parameter will only be set if the designation column
is encrypted and Always Encrypted is enabled on the connection or on the statement. If the boolean
forceEncrypt is set to false, the driver will not force encryption on parameters.SQLServerException - when an error occurspublic void updateDate(int index,
Date x)
throws SQLServerException
updateDate in interface ResultSetSQLServerExceptionpublic void updateDate(int index,
Date x,
boolean forceEncrypt)
throws SQLServerException
ISQLServerResultSetjava.sql.Date value. The updater methods are used to update
column values in the current row or the insert row. The updater methods do not update the underlying database;
instead the updateRow or insertRow methods are called to update the database.updateDate in interface ISQLServerResultSetindex - the first column is 1, the second is 2, ...x - the new column valueforceEncrypt - If the boolean forceEncrypt is set to true, the query parameter will only be set if the designation column
is encrypted and Always Encrypted is enabled on the connection or on the statement. If the boolean
forceEncrypt is set to false, the driver will not force encryption on parameters.SQLServerException - when an error occurspublic void updateTime(int index,
Time x)
throws SQLServerException
updateTime in interface ResultSetSQLServerExceptionpublic void updateTime(int index,
Time x,
Integer scale)
throws SQLServerException
ISQLServerResultSetjava.sql.Time value. The updater methods are used to update
column values in the current row or the insert row. The updater methods do not update the underlying database;
instead the updateRow or insertRow methods are called to update the database.updateTime in interface ISQLServerResultSetindex - the first column is 1, the second is 2, ...x - the new column valuescale - the scale of the columnSQLServerException - when an error occurspublic void updateTime(int index,
Time x,
Integer scale,
boolean forceEncrypt)
throws SQLServerException
ISQLServerResultSetjava.sql.Time value. The updater methods are used to update
column values in the current row or the insert row. The updater methods do not update the underlying database;
instead the updateRow or insertRow methods are called to update the database.updateTime in interface ISQLServerResultSetindex - the first column is 1, the second is 2, ...x - the new column valuescale - the scale of the columnforceEncrypt - If the boolean forceEncrypt is set to true, the query parameter will only be set if the designation column
is encrypted and Always Encrypted is enabled on the connection or on the statement. If the boolean
forceEncrypt is set to false, the driver will not force encryption on parameters.SQLServerException - when an error occurspublic void updateTimestamp(int index,
Timestamp x)
throws SQLServerException
updateTimestamp in interface ResultSetSQLServerExceptionpublic void updateTimestamp(int index,
Timestamp x,
int scale)
throws SQLServerException
ISQLServerResultSetjava.sql.Timestamp value. The updater methods are used to
update column values in the current row or the insert row. The updater methods do not update the underlying
database; instead the updateRow or insertRow methods are called to update the database.updateTimestamp in interface ISQLServerResultSetindex - the first column is 1, the second is 2, ...x - the new column valuescale - the scale of the columnSQLServerException - when an error occurspublic void updateTimestamp(int index,
Timestamp x,
int scale,
boolean forceEncrypt)
throws SQLServerException
ISQLServerResultSetjava.sql.Timestamp value. The updater methods are used to
update column values in the current row or the insert row. The updater methods do not update the underlying
database; instead the updateRow or insertRow methods are called to update the database.updateTimestamp in interface ISQLServerResultSetindex - the first column is 1, the second is 2, ...x - the new column valuescale - the scale of the columnforceEncrypt - If the boolean forceEncrypt is set to true, the query parameter will only be set if the designation column
is encrypted and Always Encrypted is enabled on the connection or on the statement. If the boolean
forceEncrypt is set to false, the driver will not force encryption on parameters.SQLServerException - when an error occurspublic void updateDateTime(int index,
Timestamp x)
throws SQLServerException
ISQLServerResultSetjava.sql.Timestamp value. The updater methods are used to
update column values in the current row or the insert row. The updater methods do not update the underlying
database; instead the updateRow or insertRow methods are called to update the database.updateDateTime in interface ISQLServerResultSetindex - the first column is 1, the second is 2, ...x - the new column valueSQLServerException - when an error occurspublic void updateDateTime(int index,
Timestamp x,
Integer scale)
throws SQLServerException
ISQLServerResultSetjava.sql.Timestamp value. The updater methods are used to
update column values in the current row or the insert row. The updater methods do not update the underlying
database; instead the updateRow or insertRow methods are called to update the database.updateDateTime in interface ISQLServerResultSetindex - the first column is 1, the second is 2, ...x - the new column valuescale - the scale of the columnSQLServerException - when an error occurspublic void updateDateTime(int index,
Timestamp x,
Integer scale,
boolean forceEncrypt)
throws SQLServerException
ISQLServerResultSetjava.sql.Timestamp value. The updater methods are used to
update column values in the current row or the insert row. The updater methods do not update the underlying
database; instead the updateRow or insertRow methods are called to update the database.updateDateTime in interface ISQLServerResultSetindex - the first column is 1, the second is 2, ...x - the new column valuescale - the scale of the columnforceEncrypt - If the boolean forceEncrypt is set to true, the query parameter will only be set if the designation column
is encrypted and Always Encrypted is enabled on the connection or on the statement. If the boolean
forceEncrypt is set to false, the driver will not force encryption on parameters.SQLServerException - when an error occurspublic void updateSmallDateTime(int index,
Timestamp x)
throws SQLServerException
ISQLServerResultSetjava.sql.Timestamp value. The updater methods are used to
update column values in the current row or the insert row. The updater methods do not update the underlying
database; instead the updateRow or insertRow methods are called to update the database.updateSmallDateTime in interface ISQLServerResultSetindex - the first column is 1, the second is 2, ...x - the new column valueSQLServerException - when an error occurspublic void updateSmallDateTime(int index,
Timestamp x,
Integer scale)
throws SQLServerException
ISQLServerResultSetjava.sql.Timestamp value. The updater methods are used to
update column values in the current row or the insert row. The updater methods do not update the underlying
database; instead the updateRow or insertRow methods are called to update the database.updateSmallDateTime in interface ISQLServerResultSetindex - the first column is 1, the second is 2, ...x - the new column valuescale - the scale of the columnSQLServerException - when an error occurspublic void updateSmallDateTime(int index,
Timestamp x,
Integer scale,
boolean forceEncrypt)
throws SQLServerException
ISQLServerResultSetjava.sql.Timestamp value. The updater methods are used to
update column values in the current row or the insert row. The updater methods do not update the underlying
database; instead the updateRow or insertRow methods are called to update the database.updateSmallDateTime in interface ISQLServerResultSetindex - the first column is 1, the second is 2, ...x - the new column valuescale - the scale of the columnforceEncrypt - If the boolean forceEncrypt is set to true, the query parameter will only be set if the designation column
is encrypted and Always Encrypted is enabled on the connection or on the statement. If the boolean
forceEncrypt is set to false, the driver will not force encryption on parameters.SQLServerException - when an error occurspublic void updateDateTimeOffset(int index,
DateTimeOffset x)
throws SQLServerException
ISQLServerResultSetupdateDateTimeOffset in interface ISQLServerResultSetindex - The zero-based ordinal of a column.x - A DateTimeOffset Class object.SQLServerException - when an error occurspublic void updateDateTimeOffset(int index,
DateTimeOffset x,
Integer scale)
throws SQLServerException
ISQLServerResultSetupdateDateTimeOffset in interface ISQLServerResultSetindex - The zero-based ordinal of a column.x - A DateTimeOffset Class object.scale - scale of the columnSQLServerException - when an error occurspublic void updateDateTimeOffset(int index,
DateTimeOffset x,
Integer scale,
boolean forceEncrypt)
throws SQLServerException
ISQLServerResultSetupdateDateTimeOffset in interface ISQLServerResultSetindex - The zero-based ordinal of a column.x - A DateTimeOffset Class object.scale - scale of the columnforceEncrypt - If the boolean forceEncrypt is set to true, the query parameter will only be set if the designation column
is encrypted and Always Encrypted is enabled on the connection or on the statement. If the boolean
forceEncrypt is set to false, the driver will not force encryption on parameters.SQLServerException - when an error occurspublic void updateUniqueIdentifier(int index,
String x)
throws SQLServerException
ISQLServerResultSetString value. The updater methods are used to update column
values in the current row or the insert row. The updater methods do not update the underlying database; instead
the updateRow or insertRow methods are called to update the database.updateUniqueIdentifier in interface ISQLServerResultSetindex - The zero-based ordinal of a column.x - the new column valueSQLServerException - when an error occurspublic void updateUniqueIdentifier(int index,
String x,
boolean forceEncrypt)
throws SQLServerException
ISQLServerResultSetString value. The updater methods are used to update column
values in the current row or the insert row. The updater methods do not update the underlying database; instead
the updateRow or insertRow methods are called to update the database.updateUniqueIdentifier in interface ISQLServerResultSetindex - The zero-based ordinal of a column.x - the new column valueforceEncrypt - If the boolean forceEncrypt is set to true, the query parameter will only be set if the designation column
is encrypted and Always Encrypted is enabled on the connection or on the statement. If the boolean
forceEncrypt is set to false, the driver will not force encryption on parameters.SQLServerException - when an error occurspublic void updateAsciiStream(int columnIndex,
InputStream x)
throws SQLException
updateAsciiStream in interface ResultSetSQLExceptionpublic void updateAsciiStream(int index,
InputStream x,
int length)
throws SQLServerException
updateAsciiStream in interface ResultSetSQLServerExceptionpublic void updateAsciiStream(int columnIndex,
InputStream x,
long length)
throws SQLException
updateAsciiStream in interface ResultSetSQLExceptionpublic void updateAsciiStream(String columnLabel, InputStream x) throws SQLException
updateAsciiStream in interface ResultSetSQLExceptionpublic void updateAsciiStream(String columnName, InputStream x, int length) throws SQLServerException
updateAsciiStream in interface ResultSetSQLServerExceptionpublic void updateAsciiStream(String columnName, InputStream streamValue, long length) throws SQLException
updateAsciiStream in interface ResultSetSQLExceptionpublic void updateBinaryStream(int columnIndex,
InputStream x)
throws SQLException
updateBinaryStream in interface ResultSetSQLExceptionpublic void updateBinaryStream(int columnIndex,
InputStream streamValue,
int length)
throws SQLException
updateBinaryStream in interface ResultSetSQLExceptionpublic void updateBinaryStream(int columnIndex,
InputStream x,
long length)
throws SQLException
updateBinaryStream in interface ResultSetSQLExceptionpublic void updateBinaryStream(String columnLabel, InputStream x) throws SQLException
updateBinaryStream in interface ResultSetSQLExceptionpublic void updateBinaryStream(String columnName, InputStream streamValue, int length) throws SQLException
updateBinaryStream in interface ResultSetSQLExceptionpublic void updateBinaryStream(String columnLabel, InputStream x, long length) throws SQLException
updateBinaryStream in interface ResultSetSQLExceptionpublic void updateCharacterStream(int columnIndex,
Reader x)
throws SQLException
updateCharacterStream in interface ResultSetSQLExceptionpublic void updateCharacterStream(int columnIndex,
Reader readerValue,
int length)
throws SQLServerException
updateCharacterStream in interface ResultSetSQLServerExceptionpublic void updateCharacterStream(int columnIndex,
Reader x,
long length)
throws SQLException
updateCharacterStream in interface ResultSetSQLExceptionpublic void updateCharacterStream(String columnLabel, Reader reader) throws SQLException
updateCharacterStream in interface ResultSetSQLExceptionpublic void updateCharacterStream(String columnName, Reader readerValue, int length) throws SQLServerException
updateCharacterStream in interface ResultSetSQLServerExceptionpublic void updateCharacterStream(String columnLabel, Reader reader, long length) throws SQLException
updateCharacterStream in interface ResultSetSQLExceptionpublic void updateNCharacterStream(int columnIndex,
Reader x)
throws SQLException
updateNCharacterStream in interface ResultSetSQLExceptionpublic void updateNCharacterStream(int columnIndex,
Reader x,
long length)
throws SQLException
updateNCharacterStream in interface ResultSetSQLExceptionpublic void updateNCharacterStream(String columnLabel, Reader reader) throws SQLException
updateNCharacterStream in interface ResultSetSQLExceptionpublic void updateNCharacterStream(String columnLabel, Reader reader, long length) throws SQLException
updateNCharacterStream in interface ResultSetSQLExceptionpublic void updateObject(int index,
Object obj)
throws SQLServerException
updateObject in interface ResultSetSQLServerExceptionpublic void updateObject(int index,
Object x,
int scale)
throws SQLServerException
updateObject in interface ResultSetSQLServerExceptionpublic void updateObject(int index,
Object x,
int precision,
int scale)
throws SQLServerException
ISQLServerResultSetObject value.
The updater methods are used to update column values in the current row or the insert row. The updater methods do
not update the underlying database; instead the updateRow or insertRow methods are called to
update the database.updateObject in interface ISQLServerResultSetindex - the first column is 1, the second is 2, ...x - the new column valueprecision - the precision of the columnscale - the scale of the columnSQLServerException - when an error occurspublic void updateObject(int index,
Object x,
int precision,
int scale,
boolean forceEncrypt)
throws SQLServerException
ISQLServerResultSetObject value.
The updater methods are used to update column values in the current row or the insert row. The updater methods do
not update the underlying database; instead the updateRow or insertRow methods are called to
update the database.updateObject in interface ISQLServerResultSetindex - the first column is 1, the second is 2, ...x - the new column valueprecision - the precision of the columnscale - the scale of the columnforceEncrypt - If the boolean forceEncrypt is set to true, the query parameter will only be set if the designation column
is encrypted and Always Encrypted is enabled on the connection or on the statement. If the boolean
forceEncrypt is set to false, the driver will not force encryption on parameters.SQLServerException - when an error occursprotected final void updateObject(int index,
Object x,
Integer scale,
com.microsoft.sqlserver.jdbc.JDBCType jdbcType,
Integer precision,
boolean forceEncrypt)
throws SQLServerException
SQLServerExceptionpublic void updateNull(String columnName) throws SQLServerException
updateNull in interface ResultSetSQLServerExceptionpublic void updateBoolean(String columnName, boolean x) throws SQLServerException
updateBoolean in interface ResultSetSQLServerExceptionpublic void updateBoolean(String columnName, boolean x, boolean forceEncrypt) throws SQLServerException
ISQLServerResultSetboolean value. The updater methods are used to update column
values in the current row or the insert row. The updater methods do not update the underlying database; instead
the updateRow or insertRow methods are called to update the database.updateBoolean in interface ISQLServerResultSetcolumnName - the name of the columnx - the new column valueforceEncrypt - If the boolean forceEncrypt is set to true, the query parameter will only be set if the designation column
is encrypted and Always Encrypted is enabled on the connection or on the statement. If the boolean
forceEncrypt is set to false, the driver will not force encryption on parameters.SQLServerException - when an error occurspublic void updateByte(String columnName, byte x) throws SQLServerException
updateByte in interface ResultSetSQLServerExceptionpublic void updateByte(String columnName, byte x, boolean forceEncrypt) throws SQLServerException
ISQLServerResultSetbyte value. The updater methods are used to update column
values in the current row or the insert row. The updater methods do not update the underlying database; instead
the updateRow or insertRow methods are called to update the database.updateByte in interface ISQLServerResultSetcolumnName - the name of the columnx - the new column valueforceEncrypt - If the boolean forceEncrypt is set to true, the query parameter will only be set if the designation column
is encrypted and Always Encrypted is enabled on the connection or on the statement. If the boolean
forceEncrypt is set to false, the driver will not force encryption on parameters.SQLServerException - If any errors occur.public void updateShort(String columnName, short x) throws SQLServerException
updateShort in interface ResultSetSQLServerExceptionpublic void updateShort(String columnName, short x, boolean forceEncrypt) throws SQLServerException
ISQLServerResultSetshort value. The updater methods are used to update column
values in the current row or the insert row. The updater methods do not update the underlying database; instead
the updateRow or insertRow methods are called to update the database.updateShort in interface ISQLServerResultSetcolumnName - the name of the columnx - the new column valueforceEncrypt - If the boolean forceEncrypt is set to true, the query parameter will only be set if the designation column
is encrypted and Always Encrypted is enabled on the connection or on the statement. If the boolean
forceEncrypt is set to false, the driver will not force encryption on parameters.SQLServerException - If any errors occur.public void updateInt(String columnName, int x) throws SQLServerException
updateInt in interface ResultSetSQLServerExceptionpublic void updateInt(String columnName, int x, boolean forceEncrypt) throws SQLServerException
ISQLServerResultSetint value. The updater methods are used to update column
values in the current row or the insert row. The updater methods do not update the underlying database; instead
the updateRow or insertRow methods are called to update the database.updateInt in interface ISQLServerResultSetcolumnName - is the name of the columnx - the new column valueforceEncrypt - If the boolean forceEncrypt is set to true, the query parameter will only be set if the designation column
is encrypted and Always Encrypted is enabled on the connection or on the statement. If the boolean
forceEncrypt is set to false, the driver will not force encryption on parameters.SQLServerException - If any errors occur.public void updateLong(String columnName, long x) throws SQLServerException
updateLong in interface ResultSetSQLServerExceptionpublic void updateLong(String columnName, long x, boolean forceEncrypt) throws SQLServerException
ISQLServerResultSetlong value. The updater methods are used to update column
values in the current row or the insert row. The updater methods do not update the underlying database; instead
the updateRow or insertRow methods are called to update the database.updateLong in interface ISQLServerResultSetcolumnName - is the name of the columnx - the new column valueforceEncrypt - If the boolean forceEncrypt is set to true, the query parameter will only be set if the designation column
is encrypted and Always Encrypted is enabled on the connection or on the statement. If the boolean
forceEncrypt is set to false, the driver will not force encryption on parameters.SQLServerException - If any errors occur.public void updateFloat(String columnName, float x) throws SQLServerException
updateFloat in interface ResultSetSQLServerExceptionpublic void updateFloat(String columnName, float x, boolean forceEncrypt) throws SQLServerException
ISQLServerResultSetfloat value. The updater methods are used to update column
values in the current row or the insert row. The updater methods do not update the underlying database; instead
the updateRow or insertRow methods are called to update the database.updateFloat in interface ISQLServerResultSetcolumnName - is the name of the columnx - the new column valueforceEncrypt - If the boolean forceEncrypt is set to true, the query parameter will only be set if the designation column
is encrypted and Always Encrypted is enabled on the connection or on the statement. If the boolean
forceEncrypt is set to false, the driver will not force encryption on parameters.SQLServerException - If any errors occur.public void updateDouble(String columnName, double x) throws SQLServerException
updateDouble in interface ResultSetSQLServerExceptionpublic void updateDouble(String columnName, double x, boolean forceEncrypt) throws SQLServerException
ISQLServerResultSetdouble value. The updater methods are used to update column
values in the current row or the insert row. The updater methods do not update the underlying database; instead
the updateRow or insertRow methods are called to update the database.updateDouble in interface ISQLServerResultSetcolumnName - is the name of the columnx - the new column valueforceEncrypt - If the boolean forceEncrypt is set to true, the query parameter will only be set if the designation column
is encrypted and Always Encrypted is enabled on the connection or on the statement. If the boolean
forceEncrypt is set to false, the driver will not force encryption on parameters.SQLServerException - If any errors occur.public void updateBigDecimal(String columnName, BigDecimal x) throws SQLServerException
updateBigDecimal in interface ResultSetSQLServerExceptionpublic void updateBigDecimal(String columnName, BigDecimal x, boolean forceEncrypt) throws SQLServerException
ISQLServerResultSetjava.sql.BigDecimal value. The updater methods are used to
update column values in the current row or the insert row. The updater methods do not update the underlying
database; instead the updateRow or insertRow methods are called to update the database.updateBigDecimal in interface ISQLServerResultSetcolumnName - is the name of the columnx - the new column valueforceEncrypt - If the boolean forceEncrypt is set to true, the query parameter will only be set if the designation column
is encrypted and Always Encrypted is enabled on the connection or on the statement. If the boolean
forceEncrypt is set to false, the driver will not force encryption on parameters.SQLServerException - If any errors occur.public void updateBigDecimal(String columnName, BigDecimal x, Integer precision, Integer scale) throws SQLServerException
ISQLServerResultSetjava.sql.BigDecimal value. The updater methods are used to
update column values in the current row or the insert row. The updater methods do not update the underlying
database; instead the updateRow or insertRow methods are called to update the database.updateBigDecimal in interface ISQLServerResultSetcolumnName - is the name of the column and Always Encrypted is enabled on the connection or on the statement. If the
boolean forceEncrypt is set to false, the driver will not force encryption on parameters.x - BigDecimal valueprecision - the precision of the columnscale - the scale of the columnSQLServerException - If any errors occur.public void updateBigDecimal(String columnName, BigDecimal x, Integer precision, Integer scale, boolean forceEncrypt) throws SQLServerException
ISQLServerResultSetjava.sql.BigDecimal value. The updater methods are used to
update column values in the current row or the insert row. The updater methods do not update the underlying
database; instead the updateRow or insertRow methods are called to update the database.updateBigDecimal in interface ISQLServerResultSetcolumnName - is the name of the column and Always Encrypted is enabled on the connection or on the statement. If the
boolean forceEncrypt is set to false, the driver will not force encryption on parameters.x - BigDecimal valueprecision - the precision of the columnscale - the scale of the columnforceEncrypt - If the boolean forceEncrypt is set to true, the query parameter will only be set if the designation column
is encrypted and Always Encrypted is enabled on the connection or on the statement. If the boolean
forceEncrypt is set to false, the driver will not force encryption on parameters.SQLServerException - If any errors occur.public void updateString(String columnName, String x) throws SQLServerException
updateString in interface ResultSetSQLServerExceptionpublic void updateString(String columnName, String x, boolean forceEncrypt) throws SQLServerException
ISQLServerResultSetString value. The updater methods are used to update column
values in the current row or the insert row. The updater methods do not update the underlying database; instead
the updateRow or insertRow methods are called to update the database.updateString in interface ISQLServerResultSetcolumnName - is the name of the columnx - the new column valueforceEncrypt - If the boolean forceEncrypt is set to true, the query parameter will only be set if the designation column
is encrypted and Always Encrypted is enabled on the connection or on the statement. If the boolean
forceEncrypt is set to false, the driver will not force encryption on parameters.SQLServerException - If any errors occur.public void updateBytes(String columnName, byte[] x) throws SQLServerException
updateBytes in interface ResultSetSQLServerExceptionpublic void updateBytes(String columnName, byte[] x, boolean forceEncrypt) throws SQLServerException
ISQLServerResultSetupdateRow or insertRow methods are
called to update the database.updateBytes in interface ISQLServerResultSetcolumnName - is the name of the columnx - the new column valueforceEncrypt - If the boolean forceEncrypt is set to true, the query parameter will only be set if the designation column
is encrypted and Always Encrypted is enabled on the connection or on the statement. If the boolean
forceEncrypt is set to false, the driver will not force encryption on parameters.SQLServerException - If any errors occur.public void updateDate(String columnName, Date x) throws SQLServerException
updateDate in interface ResultSetSQLServerExceptionpublic void updateDate(String columnName, Date x, boolean forceEncrypt) throws SQLServerException
ISQLServerResultSetjava.sql.Date value. The updater methods are used to update
column values in the current row or the insert row. The updater methods do not update the underlying database;
instead the updateRow or insertRow methods are called to update the database.updateDate in interface ISQLServerResultSetcolumnName - is the name of the columnx - the new column valueforceEncrypt - If the boolean forceEncrypt is set to true, the query parameter will only be set if the designation column
is encrypted and Always Encrypted is enabled on the connection or on the statement. If the boolean
forceEncrypt is set to false, the driver will not force encryption on parameters.SQLServerException - If any errors occur.public void updateTime(String columnName, Time x) throws SQLServerException
updateTime in interface ResultSetSQLServerExceptionpublic void updateTime(String columnName, Time x, int scale) throws SQLServerException
ISQLServerResultSetjava.sql.Time value. The updater methods are used to update
column values in the current row or the insert row. The updater methods do not update the underlying database;
instead the updateRow or insertRow methods are called to update the database.updateTime in interface ISQLServerResultSetcolumnName - is the name of the columnx - the new column valuescale - the scale of the columnSQLServerException - If any errors occur.public void updateTime(String columnName, Time x, int scale, boolean forceEncrypt) throws SQLServerException
ISQLServerResultSetjava.sql.Time value. The updater methods are used to update
column values in the current row or the insert row. The updater methods do not update the underlying database;
instead the updateRow or insertRow methods are called to update the database.updateTime in interface ISQLServerResultSetcolumnName - is the name of the columnx - the new column valuescale - the scale of the columnforceEncrypt - If the boolean forceEncrypt is set to true, the query parameter will only be set if the designation column
is encrypted and Always Encrypted is enabled on the connection or on the statement. If the boolean
forceEncrypt is set to false, the driver will not force encryption on parameters.SQLServerException - If any errors occur.public void updateTimestamp(String columnName, Timestamp x) throws SQLServerException
updateTimestamp in interface ResultSetSQLServerExceptionpublic void updateTimestamp(String columnName, Timestamp x, int scale) throws SQLServerException
ISQLServerResultSetjava.sql.Timestamp value. The updater methods are used to
update column values in the current row or the insert row. The updater methods do not update the underlying
database; instead the updateRow or insertRow methods are called to update the database.updateTimestamp in interface ISQLServerResultSetcolumnName - is the name of the columnx - the new column valuescale - the scale of the columnSQLServerException - If any errors occur.public void updateTimestamp(String columnName, Timestamp x, int scale, boolean forceEncrypt) throws SQLServerException
ISQLServerResultSetjava.sql.Timestamp value. The updater methods are used to
update column values in the current row or the insert row. The updater methods do not update the underlying
database; instead the updateRow or insertRow methods are called to update the database.updateTimestamp in interface ISQLServerResultSetcolumnName - is the name of the columnx - the new column valuescale - the scale of the columnforceEncrypt - If the boolean forceEncrypt is set to true, the query parameter will only be set if the designation column
is encrypted and Always Encrypted is enabled on the connection or on the statement. If the boolean
forceEncrypt is set to false, the driver will not force encryption on parameters.SQLServerException - If any errors occur.public void updateDateTime(String columnName, Timestamp x) throws SQLServerException
ISQLServerResultSetjava.sql.Timestamp value. The updater methods are used to
update column values in the current row or the insert row. The updater methods do not update the underlying
database; instead the updateRow or insertRow methods are called to update the database.updateDateTime in interface ISQLServerResultSetcolumnName - is the name of the columnx - the new column valueSQLServerException - If any errors occur.public void updateDateTime(String columnName, Timestamp x, int scale) throws SQLServerException
ISQLServerResultSetjava.sql.Timestamp value. The updater methods are used to
update column values in the current row or the insert row. The updater methods do not update the underlying
database; instead the updateRow or insertRow methods are called to update the database.updateDateTime in interface ISQLServerResultSetcolumnName - is the name of the columnx - the new column valuescale - the scale of the columnSQLServerException - If any errors occur.public void updateDateTime(String columnName, Timestamp x, int scale, boolean forceEncrypt) throws SQLServerException
ISQLServerResultSetjava.sql.Timestamp value. The updater methods are used to
update column values in the current row or the insert row. The updater methods do not update the underlying
database; instead the updateRow or insertRow methods are called to update the database.updateDateTime in interface ISQLServerResultSetcolumnName - is the name of the columnx - the new column valuescale - the scale of the columnforceEncrypt - If the boolean forceEncrypt is set to true, the query parameter will only be set if the designation column
is encrypted and Always Encrypted is enabled on the connection or on the statement. If the boolean
forceEncrypt is set to false, the driver will not force encryption on parameters.SQLServerException - If any errors occur.public void updateSmallDateTime(String columnName, Timestamp x) throws SQLServerException
ISQLServerResultSetjava.sql.Timestamp value. The updater methods are used to
update column values in the current row or the insert row. The updater methods do not update the underlying
database; instead the updateRow or insertRow methods are called to update the database.updateSmallDateTime in interface ISQLServerResultSetcolumnName - is the name of the columnx - the new column valueSQLServerException - If any errors occur.public void updateSmallDateTime(String columnName, Timestamp x, int scale) throws SQLServerException
ISQLServerResultSetjava.sql.Timestamp value. The updater methods are used to
update column values in the current row or the insert row. The updater methods do not update the underlying
database; instead the updateRow or insertRow methods are called to update the database.updateSmallDateTime in interface ISQLServerResultSetcolumnName - is the name of the columnx - the new column valuescale - the scale of the columnSQLServerException - If any errors occur.public void updateSmallDateTime(String columnName, Timestamp x, int scale, boolean forceEncrypt) throws SQLServerException
ISQLServerResultSetjava.sql.Timestamp value. The updater methods are used to
update column values in the current row or the insert row. The updater methods do not update the underlying
database; instead the updateRow or insertRow methods are called to update the database.updateSmallDateTime in interface ISQLServerResultSetcolumnName - is the name of the columnx - the new column valuescale - the scale of the columnforceEncrypt - If the boolean forceEncrypt is set to true, the query parameter will only be set if the designation column
is encrypted and Always Encrypted is enabled on the connection or on the statement. If the boolean
forceEncrypt is set to false, the driver will not force encryption on parameters.SQLServerException - If any errors occur.public void updateDateTimeOffset(String columnName, DateTimeOffset x) throws SQLServerException
ISQLServerResultSetupdateDateTimeOffset in interface ISQLServerResultSetcolumnName - The name of a column.x - A DateTimeOffset Class object.SQLServerException - when an error occurspublic void updateDateTimeOffset(String columnName, DateTimeOffset x, int scale) throws SQLServerException
ISQLServerResultSetupdateDateTimeOffset in interface ISQLServerResultSetcolumnName - The name of a column.x - A DateTimeOffset Class object.scale - the scale of the columnSQLServerException - If any errors occur.public void updateDateTimeOffset(String columnName, DateTimeOffset x, int scale, boolean forceEncrypt) throws SQLServerException
ISQLServerResultSetupdateDateTimeOffset in interface ISQLServerResultSetcolumnName - The name of a column.x - A DateTimeOffset Class object.scale - the scale of the columnforceEncrypt - If the boolean forceEncrypt is set to true, the query parameter will only be set if the designation column
is encrypted and Always Encrypted is enabled on the connection or on the statement. If the boolean
forceEncrypt is set to false, the driver will not force encryption on parameters.SQLServerException - If any errors occur.public void updateUniqueIdentifier(String columnName, String x) throws SQLServerException
ISQLServerResultSetStringvalue. The updater methods are used to update column
values in the current row or the insert row. The updater methods do not update the underlying database; instead
the updateRow or insertRow methods are called to update the database.updateUniqueIdentifier in interface ISQLServerResultSetcolumnName - The name of a column.x - the new column valueSQLServerException - If any errors occur.public void updateUniqueIdentifier(String columnName, String x, boolean forceEncrypt) throws SQLServerException
ISQLServerResultSetStringvalue. The updater methods are used to update column
values in the current row or the insert row. The updater methods do not update the underlying database; instead
the updateRow or insertRow methods are called to update the database.updateUniqueIdentifier in interface ISQLServerResultSetcolumnName - The name of a column.x - the new column valueforceEncrypt - If the boolean forceEncrypt is set to true, the query parameter will only be set if the designation column
is encrypted and Always Encrypted is enabled on the connection or on the statement. If the boolean
forceEncrypt is set to false, the driver will not force encryption on parameters.SQLServerException - If any errors occur.public void updateObject(String columnName, Object x, int scale) throws SQLServerException
updateObject in interface ResultSetSQLServerExceptionpublic void updateObject(String columnName, Object x, int precision, int scale) throws SQLServerException
ISQLServerResultSetObject value.
The updater methods are used to update column values in the current row or the insert row. The updater methods do
not update the underlying database; instead the updateRow or insertRow methods are called to
update the database.updateObject in interface ISQLServerResultSetcolumnName - The name of a column.x - the new column valueprecision - the precision of the columnscale - the scale of the columnSQLServerException - If any errors occur.public void updateObject(String columnName, Object x, int precision, int scale, boolean forceEncrypt) throws SQLServerException
ISQLServerResultSetObject value.
The updater methods are used to update column values in the current row or the insert row. The updater methods do
not update the underlying database; instead the updateRow or insertRow methods are called to
update the database.updateObject in interface ISQLServerResultSetcolumnName - The name of a column.x - the new column valueprecision - the precision of the columnscale - the scale of the columnforceEncrypt - If the boolean forceEncrypt is set to true, the query parameter will only be set if the designation column
is encrypted and Always Encrypted is enabled on the connection or on the statement. If the boolean
forceEncrypt is set to false, the driver will not force encryption on parameters.SQLServerException - If any errors occur.public void updateObject(String columnName, Object x) throws SQLServerException
updateObject in interface ResultSetSQLServerExceptionpublic void updateRowId(int columnIndex,
RowId x)
throws SQLException
updateRowId in interface ResultSetSQLExceptionpublic void updateRowId(String columnLabel, RowId x) throws SQLException
updateRowId in interface ResultSetSQLExceptionpublic void updateSQLXML(int columnIndex,
SQLXML xmlObject)
throws SQLException
updateSQLXML in interface ResultSetSQLExceptionpublic void updateSQLXML(String columnLabel, SQLXML x) throws SQLException
updateSQLXML in interface ResultSetSQLExceptionpublic int getHoldability()
throws SQLException
getHoldability in interface ResultSetSQLExceptionpublic void insertRow()
throws SQLException
insertRow in interface ResultSetSQLExceptionpublic void updateRow()
throws SQLException
updateRow in interface ResultSetSQLExceptionpublic void deleteRow()
throws SQLException
deleteRow in interface ResultSetSQLExceptionpublic void refreshRow()
throws SQLException
refreshRow in interface ResultSetSQLExceptionpublic void cancelRowUpdates()
throws SQLServerException
cancelRowUpdates in interface ResultSetSQLServerExceptionpublic void moveToInsertRow()
throws SQLServerException
moveToInsertRow in interface ResultSetSQLServerExceptionpublic void moveToCurrentRow()
throws SQLServerException
moveToCurrentRow in interface ResultSetSQLServerExceptionpublic Statement getStatement() throws SQLServerException
getStatement in interface ResultSetSQLServerExceptionpublic void updateClob(int columnIndex,
Clob clobValue)
throws SQLException
updateClob in interface ResultSetSQLExceptionpublic void updateClob(int columnIndex,
Reader reader)
throws SQLException
updateClob in interface ResultSetSQLExceptionpublic void updateClob(int columnIndex,
Reader reader,
long length)
throws SQLException
updateClob in interface ResultSetSQLExceptionpublic void updateClob(String columnName, Clob clobValue) throws SQLException
updateClob in interface ResultSetSQLExceptionpublic void updateClob(String columnLabel, Reader reader) throws SQLException
updateClob in interface ResultSetSQLExceptionpublic void updateClob(String columnLabel, Reader reader, long length) throws SQLException
updateClob in interface ResultSetSQLExceptionpublic void updateNClob(int columnIndex,
NClob nClob)
throws SQLException
updateNClob in interface ResultSetSQLExceptionpublic void updateNClob(int columnIndex,
Reader reader)
throws SQLException
updateNClob in interface ResultSetSQLExceptionpublic void updateNClob(int columnIndex,
Reader reader,
long length)
throws SQLException
updateNClob in interface ResultSetSQLExceptionpublic void updateNClob(String columnLabel, NClob nClob) throws SQLException
updateNClob in interface ResultSetSQLExceptionpublic void updateNClob(String columnLabel, Reader reader) throws SQLException
updateNClob in interface ResultSetSQLExceptionpublic void updateNClob(String columnLabel, Reader reader, long length) throws SQLException
updateNClob in interface ResultSetSQLExceptionpublic void updateBlob(int columnIndex,
Blob blobValue)
throws SQLException
updateBlob in interface ResultSetSQLExceptionpublic void updateBlob(int columnIndex,
InputStream inputStream)
throws SQLException
updateBlob in interface ResultSetSQLExceptionpublic void updateBlob(int columnIndex,
InputStream inputStream,
long length)
throws SQLException
updateBlob in interface ResultSetSQLExceptionpublic void updateBlob(String columnName, Blob blobValue) throws SQLException
updateBlob in interface ResultSetSQLExceptionpublic void updateBlob(String columnLabel, InputStream inputStream) throws SQLException
updateBlob in interface ResultSetSQLExceptionpublic void updateBlob(String columnLabel, InputStream inputStream, long length) throws SQLException
updateBlob in interface ResultSetSQLExceptionpublic void updateArray(int columnIndex,
Array x)
throws SQLException
updateArray in interface ResultSetSQLExceptionpublic void updateArray(String columnName, Array x) throws SQLException
updateArray in interface ResultSetSQLExceptionpublic void updateRef(int columnIndex,
Ref x)
throws SQLException
updateRef in interface ResultSetSQLExceptionpublic void updateRef(String columnName, Ref x) throws SQLException
updateRef in interface ResultSetSQLExceptionpublic URL getURL(int columnIndex) throws SQLException
getURL in interface ResultSetSQLExceptionpublic URL getURL(String sColumn) throws SQLException
getURL in interface ResultSetSQLExceptionpublic void updateObject(int index,
Object obj,
SQLType targetSqlType)
throws SQLServerException
updateObject in interface ResultSetSQLServerExceptionpublic void updateObject(int index,
Object obj,
SQLType targetSqlType,
int scale)
throws SQLServerException
updateObject in interface ResultSetSQLServerExceptionpublic void updateObject(int index,
Object obj,
SQLType targetSqlType,
int scale,
boolean forceEncrypt)
throws SQLServerException
ISQLServerResultSetupdateObject in interface ISQLServerResultSetindex - the first column is 1, the second is 2, ...obj - the new column valuetargetSqlType - the SQL type to be sent to the databasescale - for an object of java.math.BigDecimal , this is the number of digits after the decimal point. For Java
Object types InputStream and Reader, this is the length of the data in the stream or reader. For all other
types, this value will be ignored.forceEncrypt - If the boolean forceEncrypt is set to true, the query parameter will only be set if the designation column
is encrypted and Always Encrypted is enabled on the connection or on the statement.If the boolean
forceEncrypt is set to false, the driver will not force encryption on parameters.SQLServerException - If any errors occur.public void updateObject(String columnName, Object obj, SQLType targetSqlType, int scale) throws SQLServerException
updateObject in interface ResultSetSQLServerExceptionpublic void updateObject(String columnName, Object obj, SQLType targetSqlType, int scale, boolean forceEncrypt) throws SQLServerException
ISQLServerResultSetupdateObject in interface ISQLServerResultSetcolumnName - the label for the column specified with the SQL AS clause. If the SQL AS clause was not specified, then
the label is the name of the columnobj - the new column valuetargetSqlType - the SQL type to be sent to the databasescale - for an object of java.math.BigDecimal , this is the number of digits after the decimal point. For Java
Object types InputStream and Reader, this is the length of the data in the stream or reader. For all other
types, this value will be ignored.forceEncrypt - If the boolean forceEncrypt is set to true, the query parameter will only be set if the designation column
is encrypted and Always Encrypted is enabled on the connection or on the statement.If the boolean
forceEncrypt is set to false, the driver will not force encryption on parameters.SQLServerException - If any errors occur.public void updateObject(String columnName, Object obj, SQLType targetSqlType) throws SQLServerException
updateObject in interface ResultSetSQLServerExceptionCopyright © 2018 Microsoft Corporation. All rights reserved.