public class SQLServerResultSet extends Object implements ISQLServerResultSet
| Modifier and Type | Field and 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 and Description |
|---|---|
boolean |
absolute(int row)
Moves the cursor to the specified row in this ResultSet object.
|
void |
afterLast() |
void |
beforeFirst() |
void |
cancelRowUpdates() |
void |
clearWarnings()
Clear result set warnings
|
void |
close() |
void |
deleteRow() |
int |
findColumn(String columnName)
Find 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)
Retrieves 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)
Retrieves 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)
Retrieves 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)
Retrieves 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)
Retrieves the value of the designated column as a microsoft.sql.DateTimeOffset object, given a zero-based column ordinal.
|
DateTimeOffset |
getDateTimeOffset(String columnName)
Retrieves 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) |
int |
getHoldability() |
int |
getInt(int columnIndex) |
int |
getInt(String columnName) |
long |
getLong(int columnIndex) |
long |
getLong(String columnName) |
ResultSetMetaData |
getMetaData() |
BigDecimal |
getMoney(int columnIndex)
Retrieves the value of the column specified as a java.math.BigDecimal object.
|
BigDecimal |
getMoney(String columnName)
Retrieves 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()
Retrieves the number of the current row in this ResultSet object.
|
RowId |
getRowId(int columnIndex) |
RowId |
getRowId(String columnLabel) |
protected int |
getServerCursorId() |
short |
getShort(int columnIndex) |
short |
getShort(String columnName) |
Timestamp |
getSmallDateTime(int columnIndex)
Retrieves 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)
Retrieves 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)
Retrieves 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) |
BigDecimal |
getSmallMoney(int columnIndex)
Retrieves the value of the column specified as a java.math.BigDecimal object.
|
BigDecimal |
getSmallMoney(String columnName)
Retrieves 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)
Retrieves the value of the designated column in the current row of this ResultSet object as a microsoft.sql.datetimeoffset object in the Java
programming language.
|
String |
getUniqueIdentifier(String columnLabel)
Retrieves the value of the designated column in the current row of this ResultSet object as a microsoft.sql.datetimeoffset object in the Java
programming language.
|
URL |
getURL(int columnIndex) |
URL |
getURL(String sColumn) |
SQLWarning |
getWarnings() |
void |
insertRow() |
boolean |
isAfterLast() |
boolean |
isBeforeFirst() |
boolean |
isClosed() |
boolean |
isFirst()
Determines whether the cursor is on the first row in this ResultSet object.
|
protected boolean |
isForwardOnly() |
boolean |
isLast()
Determines whether the cursor is on the last row in 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()
Initially moves the cursor to the first row of this ResultSet object, with subsequent calls moving 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,
Blob blobValue) |
void |
updateBlob(int columnIndex,
InputStream inputStream) |
void |
updateBlob(int columnIndex,
InputStream inputStream,
long length) |
void |
updateBlob(String columnName,
Blob blobValue) |
void |
updateBlob(String columnLabel,
InputStream inputStream) |
void |
updateBlob(String columnLabel,
InputStream inputStream,
long length) |
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,
Clob clobValue) |
void |
updateClob(int columnIndex,
Reader reader) |
void |
updateClob(int columnIndex,
Reader reader,
long length) |
void |
updateClob(String columnName,
Clob clobValue) |
void |
updateClob(String columnLabel,
Reader reader) |
void |
updateClob(String columnLabel,
Reader reader,
long length) |
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,
NClob nClob) |
void |
updateNClob(int columnIndex,
Reader reader) |
void |
updateNClob(int columnIndex,
Reader reader,
long length) |
void |
updateNClob(String columnLabel,
NClob nClob) |
void |
updateNClob(String columnLabel,
Reader reader) |
void |
updateNClob(String columnLabel,
Reader reader,
long length) |
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) |
protected void |
updateObject(int index,
Object x,
Integer scale,
com.microsoft.sqlserver.jdbc.JDBCType jdbcType,
Integer precision,
boolean forceEncrypt) |
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. |
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 |
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() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitupdateObject, updateObject, updateObject, updateObjectprotected static final Logger loggerExternal
protected int getServerCursorId()
protected com.microsoft.sqlserver.jdbc.TDSReader getTDSReader()
public 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 SQLServerException
relative in interface ResultSetSQLServerExceptionpublic boolean next()
throws SQLServerException
next in interface ResultSetSQLServerExceptionpublic boolean wasNull()
throws SQLServerException
wasNull in interface ResultSetSQLServerExceptionpublic boolean isBeforeFirst()
throws SQLServerException
isBeforeFirst in interface ResultSetSQLServerExceptionpublic boolean isAfterLast()
throws SQLServerException
isAfterLast in interface ResultSetSQLServerExceptionpublic boolean isFirst()
throws SQLServerException
isFirst in interface ResultSetSQLServerExceptionpublic boolean isLast()
throws SQLServerException
isLast in interface ResultSetSQLServerExceptionpublic void beforeFirst()
throws SQLServerException
beforeFirst in interface ResultSetSQLServerExceptionpublic void afterLast()
throws SQLServerException
afterLast in interface ResultSetSQLServerExceptionpublic boolean first()
throws SQLServerException
first in interface ResultSetSQLServerExceptionpublic boolean last()
throws SQLServerException
last in interface ResultSetSQLServerExceptionpublic int getRow()
throws SQLServerException
getRow in interface ResultSetSQLServerExceptionpublic boolean absolute(int row)
throws SQLServerException
absolute in interface ResultSetSQLServerExceptionpublic boolean previous()
throws SQLServerException
previous in interface ResultSetSQLServerExceptionpublic SQLWarning getWarnings() throws SQLServerException
getWarnings in interface ResultSetSQLServerExceptionpublic void setFetchDirection(int direction)
throws SQLServerException
setFetchDirection in interface ResultSetSQLServerExceptionpublic int getFetchDirection()
throws SQLServerException
getFetchDirection in interface ResultSetSQLServerExceptionpublic void setFetchSize(int rows)
throws SQLServerException
setFetchSize in interface ResultSetSQLServerExceptionpublic int getFetchSize()
throws SQLServerException
getFetchSize in interface ResultSetSQLServerExceptionpublic 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 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 SQLException
columnIndex - the first column is 1, the second is 2, ...SQLException - when an error occurspublic String getUniqueIdentifier(String columnLabel) throws SQLException
columnLabel - the name of the columnSQLException - 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
columnIndex - the first column is 1, the second is 2, ...SQLServerException - when an error occurspublic Timestamp getDateTime(String columnName) throws SQLServerException
columnName - is the name of the columnSQLServerException - If any errors occur.public Timestamp getDateTime(int columnIndex, Calendar cal) throws SQLServerException
columnIndex - 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
colName - 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
columnIndex - the first column is 1, the second is 2, ...SQLServerException - when an error occurspublic Timestamp getSmallDateTime(String columnName) throws SQLServerException
columnName - is the name of a column.SQLServerException - If any errors occur.public Timestamp getSmallDateTime(int columnIndex, Calendar cal) throws SQLServerException
columnIndex - 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
colName - 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 SQLException
ISQLServerResultSetgetDateTimeOffset in interface ISQLServerResultSetcolumnIndex - The zero-based ordinal of a column.SQLException - when an error occurspublic DateTimeOffset getDateTimeOffset(String columnName) throws SQLException
ISQLServerResultSetgetDateTimeOffset in interface ISQLServerResultSetcolumnName - The name of a column.SQLException - when an error occurs@Deprecated public InputStream getUnicodeStream(int columnIndex) throws SQLServerException
getUnicodeStream in interface ResultSetSQLServerException@Deprecated public InputStream getUnicodeStream(String columnName) throws SQLServerException
getUnicodeStream in interface ResultSetSQLServerExceptionpublic Object getObject(int i, Map<String,Class<?>> map) throws SQLServerException
getObject in interface ResultSetSQLServerExceptionpublic Ref getRef(int i) throws SQLServerException
getRef in interface ResultSetSQLServerExceptionpublic 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 SQLServerException
getArray in interface ResultSetSQLServerExceptionpublic Object getObject(String colName, Map<String,Class<?>> map) throws SQLServerException
getObject in interface ResultSetSQLServerExceptionpublic Ref getRef(String colName) throws SQLServerException
getRef in interface ResultSetSQLServerExceptionpublic Array getArray(String colName) throws SQLServerException
getArray in interface ResultSetSQLServerExceptionpublic String getCursorName() throws SQLServerException
getCursorName in interface ResultSetSQLServerExceptionpublic Reader getCharacterStream(int columnIndex) throws SQLServerException
getCharacterStream in interface ResultSetSQLServerExceptionpublic Reader getCharacterStream(String columnName) throws SQLServerException
getCharacterStream in interface ResultSetSQLServerExceptionpublic 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 SQLServerException
getBigDecimal in interface ResultSetSQLServerExceptionpublic BigDecimal getBigDecimal(String columnName) throws SQLServerException
getBigDecimal in interface ResultSetSQLServerExceptionpublic BigDecimal getMoney(int columnIndex) throws SQLServerException
columnIndex - The zero-based ordinal of a column.SQLServerException - when an error occurspublic BigDecimal getMoney(String columnName) throws SQLServerException
columnName - is the name of a column.SQLServerException - If any errors occur.public BigDecimal getSmallMoney(int columnIndex) throws SQLServerException
columnIndex - The zero-based ordinal of a column.SQLServerException - If any errors occur.public BigDecimal getSmallMoney(String columnName) throws SQLServerException
columnName - 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 SQLServerException
updateBoolean in interface ResultSetSQLServerExceptionpublic void updateBoolean(int index,
boolean x,
boolean forceEncrypt)
throws SQLServerException
boolean 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.index - 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 SQLServerException
updateByte in interface ResultSetSQLServerExceptionpublic void updateByte(int index,
byte x,
boolean forceEncrypt)
throws SQLServerException
byte 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.index - 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 SQLServerException
updateShort in interface ResultSetSQLServerExceptionpublic void updateShort(int index,
short x,
boolean forceEncrypt)
throws SQLServerException
short 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.index - 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 SQLServerException
updateInt in interface ResultSetSQLServerExceptionpublic void updateInt(int index,
int x,
boolean forceEncrypt)
throws SQLServerException
int 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.index - 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 SQLServerException
updateLong in interface ResultSetSQLServerExceptionpublic void updateLong(int index,
long x,
boolean forceEncrypt)
throws SQLServerException
long 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.index - 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 SQLServerException
updateFloat in interface ResultSetSQLServerExceptionpublic void updateFloat(int index,
float x,
boolean forceEncrypt)
throws SQLServerException
float 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.index - 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 SQLServerException
updateDouble in interface ResultSetSQLServerExceptionpublic void updateDouble(int index,
double x,
boolean forceEncrypt)
throws SQLServerException
double 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.index - 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
money 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.index - 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
money 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.index - 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
money 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.columnName - is the column namex - the new column valueSQLServerException - If any errors occur.public void updateMoney(String columnName, BigDecimal x, boolean forceEncrypt) throws SQLServerException
money 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.columnName - 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
smallmoney 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.index - 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
smallmoney 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.index - 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
smallmoney 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.columnName - the column namex - the new column valueSQLServerException - If any errors occur.public void updateSmallMoney(String columnName, BigDecimal x, boolean forceEncrypt) throws SQLServerException
smallmoney 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.columnName - 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
java.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.index - 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
java.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.index - 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
String 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.columnIndex - 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 SQLException
String 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.columnIndex - 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.SQLException - 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 SQLException
String 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.columnLabel - 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.SQLException - when an error occurspublic void updateBytes(int index,
byte[] x)
throws SQLServerException
updateBytes in interface ResultSetSQLServerExceptionpublic void updateBytes(int index,
byte[] x,
boolean forceEncrypt)
throws SQLServerException
byte 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.index - 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
java.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.index - 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
java.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.index - 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
java.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.index - 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
java.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.index - 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
java.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.index - 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
java.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.index - 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
java.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.index - 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
java.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.index - 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
java.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.index - 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
java.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.index - 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
java.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.index - 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 SQLException
ISQLServerResultSetupdateDateTimeOffset in interface ISQLServerResultSetindex - The zero-based ordinal of a column.x - A DateTimeOffset Class object.SQLException - when an error occurspublic void updateDateTimeOffset(int index,
DateTimeOffset x,
Integer scale)
throws SQLException
index - The zero-based ordinal of a column.x - A DateTimeOffset Class object.scale - scale of the columnSQLException - when an error occurspublic void updateDateTimeOffset(int index,
DateTimeOffset x,
Integer scale,
boolean forceEncrypt)
throws SQLException
index - 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.SQLException - when an error occurspublic void updateUniqueIdentifier(int index,
String x)
throws SQLException
String 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.index - The zero-based ordinal of a column.x - the new column valueSQLException - when an error occurspublic void updateUniqueIdentifier(int index,
String x,
boolean forceEncrypt)
throws SQLException
String 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.index - 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.SQLException - 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
Object 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.index - 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
Object 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.index - 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
boolean 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.columnName - 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
byte 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.columnName - 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
short 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.columnName - 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
int 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.columnName - 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
long 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.columnName - 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
float 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.columnName - 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
double 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.columnName - 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
java.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.columnName - 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
java.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.columnName - 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
java.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.columnName - 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
String 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.columnName - 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
updateRow or insertRow methods are called to update the database.columnName - 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
java.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.columnName - 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
java.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.columnName - 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
java.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.columnName - 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
java.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.columnName - 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
java.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.columnName - 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
java.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.columnName - 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
java.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.columnName - 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
java.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.columnName - 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
java.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.columnName - 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
java.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.columnName - 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
java.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.columnName - 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 SQLException
ISQLServerResultSetupdateDateTimeOffset in interface ISQLServerResultSetcolumnName - The name of a column.x - A DateTimeOffset Class object.SQLException - when an error occurspublic void updateDateTimeOffset(String columnName, DateTimeOffset x, int scale) throws SQLException
columnName - The name of a column.x - A DateTimeOffset Class object.scale - the scale of the columnSQLServerException - If any errors occur.SQLExceptionpublic void updateDateTimeOffset(String columnName, DateTimeOffset x, int scale, boolean forceEncrypt) throws SQLException
columnName - 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.SQLException - If any errors occur.public void updateUniqueIdentifier(String columnName, String x) throws SQLException
Stringvalue. 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.columnName - The name of a column.x - the new column valueSQLException - If any errors occur.public void updateUniqueIdentifier(String columnName, String x, boolean forceEncrypt) throws SQLException
Stringvalue. 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.columnName - 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.SQLException - 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
Object 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.columnName - 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
Object 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.columnName - 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 SQLServerException
insertRow in interface ResultSetSQLServerExceptionpublic void updateRow()
throws SQLServerException
updateRow in interface ResultSetSQLServerExceptionpublic void deleteRow()
throws SQLServerException
deleteRow in interface ResultSetSQLServerExceptionpublic void refreshRow()
throws SQLServerException
refreshRow in interface ResultSetSQLServerExceptionpublic 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 SQLServerException
updateArray in interface ResultSetSQLServerExceptionpublic void updateArray(String columnName, Array x) throws SQLServerException
updateArray in interface ResultSetSQLServerExceptionpublic void updateRef(int columnIndex,
Ref x)
throws SQLServerException
updateRef in interface ResultSetSQLServerExceptionpublic void updateRef(String columnName, Ref x) throws SQLServerException
updateRef in interface ResultSetSQLServerExceptionpublic URL getURL(int columnIndex) throws SQLServerException
getURL in interface ResultSetSQLServerExceptionpublic URL getURL(String sColumn) throws SQLServerException
getURL in interface ResultSetSQLServerExceptionCopyright © 2017 Microsoft Corporation. All rights reserved.