Class SQLServerResultSet
- All Implemented Interfaces:
ISQLServerResultSet,java.io.Serializable,java.lang.AutoCloseable,java.sql.ResultSet,java.sql.Wrapper
public class SQLServerResultSet extends java.lang.Object implements ISQLServerResultSet, java.io.Serializable
- See Also:
- Serialized Form
-
Field Summary
Fields Modifier and Type Field Description protected static java.util.logging.LoggerloggerExternalFields inherited from interface com.microsoft.sqlserver.jdbc.ISQLServerResultSet
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_ONLY -
Method Summary
Modifier and Type Method Description booleanabsolute(int row)Moves the cursor to the given row number in thisResultSetobject.voidafterLast()voidbeforeFirst()voidcancelRowUpdates()voidclearWarnings()Clears result set warnings.voidclose()voiddeleteRow()intfindColumn(java.lang.String userProvidedColumnName)Finds a column index given a column name.booleanfirst()Moves the cursor to the first row in thisResultSetobject.java.sql.ArraygetArray(int i)java.sql.ArraygetArray(java.lang.String colName)java.io.InputStreamgetAsciiStream(int columnIndex)java.io.InputStreamgetAsciiStream(java.lang.String columnName)java.math.BigDecimalgetBigDecimal(int columnIndex)java.math.BigDecimalgetBigDecimal(int columnIndex, int scale)Deprecated.java.math.BigDecimalgetBigDecimal(java.lang.String columnName)java.math.BigDecimalgetBigDecimal(java.lang.String columnName, int scale)Deprecated.java.io.InputStreamgetBinaryStream(int columnIndex)java.io.InputStreamgetBinaryStream(java.lang.String columnName)java.sql.BlobgetBlob(int i)java.sql.BlobgetBlob(java.lang.String colName)booleangetBoolean(int columnIndex)booleangetBoolean(java.lang.String columnName)bytegetByte(int columnIndex)bytegetByte(java.lang.String columnName)byte[]getBytes(int columnIndex)byte[]getBytes(java.lang.String columnName)java.io.ReadergetCharacterStream(int columnIndex)java.io.ReadergetCharacterStream(java.lang.String columnName)java.sql.ClobgetClob(int columnIndex)java.sql.ClobgetClob(java.lang.String colName)intgetConcurrency()java.lang.StringgetCursorName()java.sql.DategetDate(int columnIndex)java.sql.DategetDate(int columnIndex, java.util.Calendar cal)java.sql.DategetDate(java.lang.String columnName)java.sql.DategetDate(java.lang.String colName, java.util.Calendar cal)java.sql.TimestampgetDateTime(int columnIndex)Returns the value of the designated column in the current row of this ResultSet object as a java.sql.Timestamp object in the Java programming language.java.sql.TimestampgetDateTime(int columnIndex, java.util.Calendar cal)Returns the value of the designated column in the current row of this ResultSet object as a java.sql.Timestamp object in the Java programming language.java.sql.TimestampgetDateTime(java.lang.String columnName)Returns the value of the designated column in the current row of this ResultSet object as a java.sql.Timestamp object in the Java programming language.java.sql.TimestampgetDateTime(java.lang.String colName, java.util.Calendar cal)Returns the value of the designated column in the current row of this ResultSet object as a java.sql.Timestamp object in the Java programming language.DateTimeOffsetgetDateTimeOffset(int columnIndex)Returns the value of the designated column as a microsoft.sql.DateTimeOffset object, given a zero-based column ordinal.DateTimeOffsetgetDateTimeOffset(java.lang.String columnName)Returns the value of the column specified as a microsoft.sql.DateTimeOffset object, given a column name.doublegetDouble(int columnIndex)doublegetDouble(java.lang.String columnName)intgetFetchDirection()intgetFetchSize()floatgetFloat(int columnIndex)floatgetFloat(java.lang.String columnName)GeographygetGeography(int columnIndex)Returns the value of the designated column in the current row of this ResultSet object as a com.microsoft.sqlserver.jdbc.Geography object in the Java programming language.GeographygetGeography(java.lang.String columnName)Returns the value of the designated column in the current row of this ResultSet object as a com.microsoft.sqlserver.jdbc.Geography object in the Java programming language.GeometrygetGeometry(int columnIndex)Returns the value of the designated column in the current row of this ResultSet object as a com.microsoft.sqlserver.jdbc.Geometry object in the Java programming language.GeometrygetGeometry(java.lang.String columnName)Returns the value of the designated column in the current row of this ResultSet object as a com.microsoft.sqlserver.jdbc.Geometry object in the Java programming language.intgetHoldability()intgetInt(int columnIndex)intgetInt(java.lang.String columnName)longgetLong(int columnIndex)longgetLong(java.lang.String columnName)java.sql.ResultSetMetaDatagetMetaData()java.math.BigDecimalgetMoney(int columnIndex)Returns the value of the column specified as a java.math.BigDecimal object.java.math.BigDecimalgetMoney(java.lang.String columnName)Returns the value of the column specified as a java.math.BigDecimal object.java.io.ReadergetNCharacterStream(int columnIndex)java.io.ReadergetNCharacterStream(java.lang.String columnLabel)java.sql.NClobgetNClob(int columnIndex)java.sql.NClobgetNClob(java.lang.String columnLabel)java.lang.StringgetNString(int columnIndex)java.lang.StringgetNString(java.lang.String columnLabel)java.lang.ObjectgetObject(int columnIndex)<T> TgetObject(int columnIndex, java.lang.Class<T> type)java.lang.ObjectgetObject(int i, java.util.Map<java.lang.String,java.lang.Class<?>> map)java.lang.ObjectgetObject(java.lang.String columnName)<T> TgetObject(java.lang.String columnName, java.lang.Class<T> type)java.lang.ObjectgetObject(java.lang.String colName, java.util.Map<java.lang.String,java.lang.Class<?>> map)java.sql.RefgetRef(int i)java.sql.RefgetRef(java.lang.String colName)intgetRow()java.sql.RowIdgetRowId(int columnIndex)java.sql.RowIdgetRowId(java.lang.String columnLabel)SensitivityClassificationgetSensitivityClassification()Returns the Data Classification information for the current ResultSet For SQL Servers that do not support Data Classification or results that do not fetch any classified columns, this data can be null.protected intgetServerCursorId()shortgetShort(int columnIndex)shortgetShort(java.lang.String columnName)java.sql.TimestampgetSmallDateTime(int columnIndex)Returns the value of the designated column in the current row of this ResultSet object as a java.sql.Timestamp object in the Java programming language.java.sql.TimestampgetSmallDateTime(int columnIndex, java.util.Calendar cal)Returns the value of the designated column in the current row of this ResultSet object as a java.sql.Timestamp object in the Java programming language.java.sql.TimestampgetSmallDateTime(java.lang.String columnName)Returns the value of the designated column in the current row of this ResultSet object as a java.sql.Timestamp object in the Java programming language.java.sql.TimestampgetSmallDateTime(java.lang.String colName, java.util.Calendar cal)Returns the value of the designated column in the current row of this ResultSet object as a java.sql.Timestamp object in the Java programming language.java.math.BigDecimalgetSmallMoney(int columnIndex)Returns the value of the column specified as a java.math.BigDecimal object.java.math.BigDecimalgetSmallMoney(java.lang.String columnName)Returns the value of the column specified as a java.math.BigDecimal object.java.sql.SQLXMLgetSQLXML(int columnIndex)java.sql.SQLXMLgetSQLXML(java.lang.String columnLabel)java.sql.StatementgetStatement()java.lang.StringgetString(int columnIndex)java.lang.StringgetString(java.lang.String columnName)protected com.microsoft.sqlserver.jdbc.TDSReadergetTDSReader()java.sql.TimegetTime(int columnIndex)java.sql.TimegetTime(int columnIndex, java.util.Calendar cal)java.sql.TimegetTime(java.lang.String columnName)java.sql.TimegetTime(java.lang.String colName, java.util.Calendar cal)java.sql.TimestampgetTimestamp(int columnIndex)java.sql.TimestampgetTimestamp(int columnIndex, java.util.Calendar cal)java.sql.TimestampgetTimestamp(java.lang.String columnName)java.sql.TimestampgetTimestamp(java.lang.String colName, java.util.Calendar cal)intgetType()java.io.InputStreamgetUnicodeStream(int columnIndex)Deprecated.java.io.InputStreamgetUnicodeStream(java.lang.String columnName)Deprecated.java.lang.StringgetUniqueIdentifier(int columnIndex)Returns the value of the designated column in the current row of this ResultSet object as a String object in the Java programming language.java.lang.StringgetUniqueIdentifier(java.lang.String columnLabel)Returns the value of the designated column in the current row of this ResultSet object as a String object in the Java programming language.java.net.URLgetURL(int columnIndex)java.net.URLgetURL(java.lang.String sColumn)java.sql.SQLWarninggetWarnings()voidinsertRow()booleanisAfterLast()booleanisBeforeFirst()Returns if the cursor is before the first row in this result set.booleanisClosed()booleanisFirst()Returns whether the cursor is on the first row of thisResultSetobject.protected booleanisForwardOnly()booleanisLast()Returns whether the cursor is on the last row of thisResultSetobject.booleanisWrapperFor(java.lang.Class<?> iface)booleanlast()Moves the cursor to the last row in thisResultSetobject.voidmoveToCurrentRow()voidmoveToInsertRow()booleannext()Moves the cursor to the first row of this ResultSet object initially, then subsequent calls move the cursor to the second row, the third row, and so on.booleanprevious()Moves the cursor to the previous row in thisResultSetobject.voidrefreshRow()booleanrelative(int rows)booleanrowDeleted()booleanrowInserted()booleanrowUpdated()voidsetFetchDirection(int direction)voidsetFetchSize(int rows)java.lang.StringtoString()<T> Tunwrap(java.lang.Class<T> iface)voidupdateArray(int columnIndex, java.sql.Array x)voidupdateArray(java.lang.String columnName, java.sql.Array x)voidupdateAsciiStream(int columnIndex, java.io.InputStream x)voidupdateAsciiStream(int index, java.io.InputStream x, int length)voidupdateAsciiStream(int columnIndex, java.io.InputStream x, long length)voidupdateAsciiStream(java.lang.String columnLabel, java.io.InputStream x)voidupdateAsciiStream(java.lang.String columnName, java.io.InputStream x, int length)voidupdateAsciiStream(java.lang.String columnName, java.io.InputStream streamValue, long length)voidupdateBigDecimal(int index, java.math.BigDecimal x)voidupdateBigDecimal(int index, java.math.BigDecimal x, java.lang.Integer precision, java.lang.Integer scale)Updates the designated column with ajava.math.BigDecimalvalue.voidupdateBigDecimal(int index, java.math.BigDecimal x, java.lang.Integer precision, java.lang.Integer scale, boolean forceEncrypt)Updates the designated column with ajava.math.BigDecimalvalue.voidupdateBigDecimal(java.lang.String columnName, java.math.BigDecimal x)voidupdateBigDecimal(java.lang.String columnName, java.math.BigDecimal x, boolean forceEncrypt)Updates the designated column with ajava.sql.BigDecimalvalue.voidupdateBigDecimal(java.lang.String columnName, java.math.BigDecimal x, java.lang.Integer precision, java.lang.Integer scale)Updates the designated column with ajava.sql.BigDecimalvalue.voidupdateBigDecimal(java.lang.String columnName, java.math.BigDecimal x, java.lang.Integer precision, java.lang.Integer scale, boolean forceEncrypt)Updates the designated column with ajava.sql.BigDecimalvalue.voidupdateBinaryStream(int columnIndex, java.io.InputStream x)voidupdateBinaryStream(int columnIndex, java.io.InputStream streamValue, int length)voidupdateBinaryStream(int columnIndex, java.io.InputStream x, long length)voidupdateBinaryStream(java.lang.String columnLabel, java.io.InputStream x)voidupdateBinaryStream(java.lang.String columnName, java.io.InputStream streamValue, int length)voidupdateBinaryStream(java.lang.String columnLabel, java.io.InputStream x, long length)voidupdateBlob(int columnIndex, java.io.InputStream inputStream)voidupdateBlob(int columnIndex, java.io.InputStream inputStream, long length)voidupdateBlob(int columnIndex, java.sql.Blob blobValue)voidupdateBlob(java.lang.String columnLabel, java.io.InputStream inputStream)voidupdateBlob(java.lang.String columnLabel, java.io.InputStream inputStream, long length)voidupdateBlob(java.lang.String columnName, java.sql.Blob blobValue)voidupdateBoolean(int index, boolean x)voidupdateBoolean(int index, boolean x, boolean forceEncrypt)Updates the designated column with abooleanvalue.voidupdateBoolean(java.lang.String columnName, boolean x)voidupdateBoolean(java.lang.String columnName, boolean x, boolean forceEncrypt)Updates the designated column with abooleanvalue.voidupdateByte(int index, byte x)voidupdateByte(int index, byte x, boolean forceEncrypt)Updates the designated column with abytevalue.voidupdateByte(java.lang.String columnName, byte x)voidupdateByte(java.lang.String columnName, byte x, boolean forceEncrypt)Updates the designated column with abytevalue.voidupdateBytes(int index, byte[] x)voidupdateBytes(int index, byte[] x, boolean forceEncrypt)Updates the designated column with abytearray value.voidupdateBytes(java.lang.String columnName, byte[] x)voidupdateBytes(java.lang.String columnName, byte[] x, boolean forceEncrypt)Updates the designated column with a byte array value.voidupdateCharacterStream(int columnIndex, java.io.Reader x)voidupdateCharacterStream(int columnIndex, java.io.Reader readerValue, int length)voidupdateCharacterStream(int columnIndex, java.io.Reader x, long length)voidupdateCharacterStream(java.lang.String columnLabel, java.io.Reader reader)voidupdateCharacterStream(java.lang.String columnName, java.io.Reader readerValue, int length)voidupdateCharacterStream(java.lang.String columnLabel, java.io.Reader reader, long length)voidupdateClob(int columnIndex, java.io.Reader reader)voidupdateClob(int columnIndex, java.io.Reader reader, long length)voidupdateClob(int columnIndex, java.sql.Clob clobValue)voidupdateClob(java.lang.String columnLabel, java.io.Reader reader)voidupdateClob(java.lang.String columnLabel, java.io.Reader reader, long length)voidupdateClob(java.lang.String columnName, java.sql.Clob clobValue)voidupdateDate(int index, java.sql.Date x)voidupdateDate(int index, java.sql.Date x, boolean forceEncrypt)Updates the designated column with ajava.sql.Datevalue.voidupdateDate(java.lang.String columnName, java.sql.Date x)voidupdateDate(java.lang.String columnName, java.sql.Date x, boolean forceEncrypt)Updates the designated column with ajava.sql.Datevalue.voidupdateDateTime(int index, java.sql.Timestamp x)Updates the designated column with ajava.sql.Timestampvalue.voidupdateDateTime(int index, java.sql.Timestamp x, java.lang.Integer scale)Updates the designated column with ajava.sql.Timestampvalue.voidupdateDateTime(int index, java.sql.Timestamp x, java.lang.Integer scale, boolean forceEncrypt)Updates the designated column with ajava.sql.Timestampvalue.voidupdateDateTime(java.lang.String columnName, java.sql.Timestamp x)Updates the designated column with ajava.sql.Timestampvalue.voidupdateDateTime(java.lang.String columnName, java.sql.Timestamp x, int scale)Updates the designated column with ajava.sql.Timestampvalue.voidupdateDateTime(java.lang.String columnName, java.sql.Timestamp x, int scale, boolean forceEncrypt)Updates the designated column with ajava.sql.Timestampvalue.voidupdateDateTimeOffset(int index, DateTimeOffset x)Updates the value of the column specified to the DateTimeOffset Class value, given a zero-based column ordinal.voidupdateDateTimeOffset(int index, DateTimeOffset x, java.lang.Integer scale)Updates the value of the column specified to the DateTimeOffset Class value, given a zero-based column ordinal.voidupdateDateTimeOffset(int index, DateTimeOffset x, java.lang.Integer scale, boolean forceEncrypt)Updates the value of the column specified to the DateTimeOffset Class value, given a zero-based column ordinal.voidupdateDateTimeOffset(java.lang.String columnName, DateTimeOffset x)Updates the value of the column specified to the DateTimeOffset Class value, given a column name.voidupdateDateTimeOffset(java.lang.String columnName, DateTimeOffset x, int scale)Updates the value of the column specified to the DateTimeOffset Class value, given a column name.voidupdateDateTimeOffset(java.lang.String columnName, DateTimeOffset x, int scale, boolean forceEncrypt)Updates the value of the column specified to the DateTimeOffset Class value, given a column name.voidupdateDouble(int index, double x)voidupdateDouble(int index, double x, boolean forceEncrypt)Updates the designated column with adoublevalue.voidupdateDouble(java.lang.String columnName, double x)voidupdateDouble(java.lang.String columnName, double x, boolean forceEncrypt)Updates the designated column with adoublevalue.voidupdateFloat(int index, float x)voidupdateFloat(int index, float x, boolean forceEncrypt)Updates the designated column with afloatvalue.voidupdateFloat(java.lang.String columnName, float x)voidupdateFloat(java.lang.String columnName, float x, boolean forceEncrypt)Updates the designated column with afloatvalue.voidupdateInt(int index, int x)voidupdateInt(int index, int x, boolean forceEncrypt)Updates the designated column with anintvalue.voidupdateInt(java.lang.String columnName, int x)voidupdateInt(java.lang.String columnName, int x, boolean forceEncrypt)Updates the designated column with anintvalue.voidupdateLong(int index, long x)voidupdateLong(int index, long x, boolean forceEncrypt)Updates the designated column with alongvalue.voidupdateLong(java.lang.String columnName, long x)voidupdateLong(java.lang.String columnName, long x, boolean forceEncrypt)Updates the designated column with alongvalue.voidupdateMoney(int index, java.math.BigDecimal x)Updates the designated column with amoneyvalue.voidupdateMoney(int index, java.math.BigDecimal x, boolean forceEncrypt)Updates the designated column with amoneyvalue.voidupdateMoney(java.lang.String columnName, java.math.BigDecimal x)Updates the designated column with amoneyvalue.voidupdateMoney(java.lang.String columnName, java.math.BigDecimal x, boolean forceEncrypt)Updates the designated column with amoneyvalue.voidupdateNCharacterStream(int columnIndex, java.io.Reader x)voidupdateNCharacterStream(int columnIndex, java.io.Reader x, long length)voidupdateNCharacterStream(java.lang.String columnLabel, java.io.Reader reader)voidupdateNCharacterStream(java.lang.String columnLabel, java.io.Reader reader, long length)voidupdateNClob(int columnIndex, java.io.Reader reader)voidupdateNClob(int columnIndex, java.io.Reader reader, long length)voidupdateNClob(int columnIndex, java.sql.NClob nClob)voidupdateNClob(java.lang.String columnLabel, java.io.Reader reader)voidupdateNClob(java.lang.String columnLabel, java.io.Reader reader, long length)voidupdateNClob(java.lang.String columnLabel, java.sql.NClob nClob)voidupdateNString(int columnIndex, java.lang.String nString)voidupdateNString(int columnIndex, java.lang.String nString, boolean forceEncrypt)Updates the designated column with aStringvalue.voidupdateNString(java.lang.String columnLabel, java.lang.String nString)voidupdateNString(java.lang.String columnLabel, java.lang.String nString, boolean forceEncrypt)Updates the designated column with aStringvalue.voidupdateNull(int index)voidupdateNull(java.lang.String columnName)voidupdateObject(int index, java.lang.Object obj)voidupdateObject(int index, java.lang.Object x, int scale)voidupdateObject(int index, java.lang.Object x, int precision, int scale)Updates the designated column with anObjectvalue.voidupdateObject(int index, java.lang.Object x, int precision, int scale, boolean forceEncrypt)Updates the designated column with anObjectvalue.protected voidupdateObject(int index, java.lang.Object x, java.lang.Integer scale, com.microsoft.sqlserver.jdbc.JDBCType jdbcType, java.lang.Integer precision, boolean forceEncrypt)voidupdateObject(int index, java.lang.Object obj, java.sql.SQLType targetSqlType)voidupdateObject(int index, java.lang.Object obj, java.sql.SQLType targetSqlType, int scale)voidupdateObject(int index, java.lang.Object obj, java.sql.SQLType targetSqlType, int scale, boolean forceEncrypt)Updates the designated column with an Object value.voidupdateObject(java.lang.String columnName, java.lang.Object x)voidupdateObject(java.lang.String columnName, java.lang.Object x, int scale)voidupdateObject(java.lang.String columnName, java.lang.Object x, int precision, int scale)Updates the designated column with anObjectvalue.voidupdateObject(java.lang.String columnName, java.lang.Object x, int precision, int scale, boolean forceEncrypt)Updates the designated column with anObjectvalue.voidupdateObject(java.lang.String columnName, java.lang.Object obj, java.sql.SQLType targetSqlType)voidupdateObject(java.lang.String columnName, java.lang.Object obj, java.sql.SQLType targetSqlType, int scale)voidupdateObject(java.lang.String columnName, java.lang.Object obj, java.sql.SQLType targetSqlType, int scale, boolean forceEncrypt)Updates the designated column with an Object value.voidupdateRef(int columnIndex, java.sql.Ref x)voidupdateRef(java.lang.String columnName, java.sql.Ref x)voidupdateRow()voidupdateRowId(int columnIndex, java.sql.RowId x)voidupdateRowId(java.lang.String columnLabel, java.sql.RowId x)voidupdateShort(int index, short x)voidupdateShort(int index, short x, boolean forceEncrypt)Updates the designated column with ashortvalue.voidupdateShort(java.lang.String columnName, short x)voidupdateShort(java.lang.String columnName, short x, boolean forceEncrypt)Updates the designated column with ashortvalue.voidupdateSmallDateTime(int index, java.sql.Timestamp x)Updates the designated column with ajava.sql.Timestampvalue.voidupdateSmallDateTime(int index, java.sql.Timestamp x, java.lang.Integer scale)Updates the designated column with ajava.sql.Timestampvalue.voidupdateSmallDateTime(int index, java.sql.Timestamp x, java.lang.Integer scale, boolean forceEncrypt)Updates the designated column with ajava.sql.Timestampvalue.voidupdateSmallDateTime(java.lang.String columnName, java.sql.Timestamp x)Updates the designated column with ajava.sql.Timestampvalue.voidupdateSmallDateTime(java.lang.String columnName, java.sql.Timestamp x, int scale)Updates the designated column with ajava.sql.Timestampvalue.voidupdateSmallDateTime(java.lang.String columnName, java.sql.Timestamp x, int scale, boolean forceEncrypt)Updates the designated column with ajava.sql.Timestampvalue.voidupdateSmallMoney(int index, java.math.BigDecimal x)Updates the designated column with asmallmoneyvalue.voidupdateSmallMoney(int index, java.math.BigDecimal x, boolean forceEncrypt)Updates the designated column with asmallmoneyvalue.voidupdateSmallMoney(java.lang.String columnName, java.math.BigDecimal x)Updates the designated column with asmallmoneyvalue.voidupdateSmallMoney(java.lang.String columnName, java.math.BigDecimal x, boolean forceEncrypt)Updates the designated column with asmallmoneyvalue.voidupdateSQLXML(int columnIndex, java.sql.SQLXML xmlObject)voidupdateSQLXML(java.lang.String columnLabel, java.sql.SQLXML x)voidupdateString(int columnIndex, java.lang.String stringValue)voidupdateString(int columnIndex, java.lang.String stringValue, boolean forceEncrypt)Updates the designated column with aStringvalue.voidupdateString(java.lang.String columnName, java.lang.String x)voidupdateString(java.lang.String columnName, java.lang.String x, boolean forceEncrypt)Updates the designated column with aStringvalue.voidupdateTime(int index, java.sql.Time x)voidupdateTime(int index, java.sql.Time x, java.lang.Integer scale)Updates the designated column with ajava.sql.Timevalue.voidupdateTime(int index, java.sql.Time x, java.lang.Integer scale, boolean forceEncrypt)Updates the designated column with ajava.sql.Timevalue.voidupdateTime(java.lang.String columnName, java.sql.Time x)voidupdateTime(java.lang.String columnName, java.sql.Time x, int scale)Updates the designated column with ajava.sql.Timevalue.voidupdateTime(java.lang.String columnName, java.sql.Time x, int scale, boolean forceEncrypt)Updates the designated column with ajava.sql.Timevalue.voidupdateTimestamp(int index, java.sql.Timestamp x)voidupdateTimestamp(int index, java.sql.Timestamp x, int scale)Updates the designated column with ajava.sql.Timestampvalue.voidupdateTimestamp(int index, java.sql.Timestamp x, int scale, boolean forceEncrypt)Updates the designated column with ajava.sql.Timestampvalue.voidupdateTimestamp(java.lang.String columnName, java.sql.Timestamp x)voidupdateTimestamp(java.lang.String columnName, java.sql.Timestamp x, int scale)Updates the designated column with ajava.sql.Timestampvalue.voidupdateTimestamp(java.lang.String columnName, java.sql.Timestamp x, int scale, boolean forceEncrypt)Updates the designated column with ajava.sql.Timestampvalue.voidupdateUniqueIdentifier(int index, java.lang.String x)Updates the designated column with aStringvalue.voidupdateUniqueIdentifier(int index, java.lang.String x, boolean forceEncrypt)Updates the designated column with aStringvalue.voidupdateUniqueIdentifier(java.lang.String columnName, java.lang.String x)Updates the designated column with aStringvalue.voidupdateUniqueIdentifier(java.lang.String columnName, java.lang.String x, boolean forceEncrypt)Updates the designated column with aStringvalue.booleanwasNull()
-
Field Details
-
loggerExternal
protected static final java.util.logging.Logger loggerExternal
-
-
Method Details
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-
getServerCursorId
protected int getServerCursorId() -
getTDSReader
protected com.microsoft.sqlserver.jdbc.TDSReader getTDSReader() -
getSensitivityClassification
Description copied from interface:ISQLServerResultSetReturns the Data Classification information for the current ResultSet For SQL Servers that do not support Data Classification or results that do not fetch any classified columns, this data can be null.- Specified by:
getSensitivityClassificationin interfaceISQLServerResultSet- Returns:
- SensitivityClassification
-
isWrapperFor
public boolean isWrapperFor(java.lang.Class<?> iface) throws java.sql.SQLException- Specified by:
isWrapperForin interfacejava.sql.Wrapper- Throws:
java.sql.SQLException
-
unwrap
public <T> T unwrap(java.lang.Class<T> iface) throws java.sql.SQLException- Specified by:
unwrapin interfacejava.sql.Wrapper- Throws:
java.sql.SQLException
-
isClosed
public boolean isClosed() throws java.sql.SQLException- Specified by:
isClosedin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
isForwardOnly
protected boolean isForwardOnly() -
close
- Specified by:
closein interfacejava.lang.AutoCloseable- Specified by:
closein interfacejava.sql.ResultSet- Throws:
SQLServerException
-
findColumn
Finds a column index given a column name.- Specified by:
findColumnin interfacejava.sql.ResultSet- Parameters:
userProvidedColumnName- the name of the column- Returns:
- the column index
- Throws:
SQLServerException- If any errors occur.
-
clearWarnings
Clears result set warnings.- Specified by:
clearWarningsin interfacejava.sql.ResultSet- Throws:
SQLServerException- when an error occurs
-
relative
public boolean relative(int rows) throws java.sql.SQLException- Specified by:
relativein interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
next
Moves the cursor to the first row of this ResultSet object initially, then subsequent calls move the cursor to the second row, the third row, and so on.- Specified by:
nextin interfacejava.sql.ResultSet- Returns:
- false when there are no more rows to read
- Throws:
SQLServerException
-
wasNull
- Specified by:
wasNullin interfacejava.sql.ResultSet- Throws:
SQLServerException
-
isBeforeFirst
public boolean isBeforeFirst() throws java.sql.SQLExceptionReturns if the cursor is before the first row in this result set.- Specified by:
isBeforeFirstin interfacejava.sql.ResultSet- Returns:
- true if the cursor is before the first row in this result set, returns false otherwise or if the result set contains no rows.
- Throws:
java.sql.SQLException
-
isAfterLast
public boolean isAfterLast() throws java.sql.SQLException- Specified by:
isAfterLastin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
isFirst
public boolean isFirst() throws java.sql.SQLExceptionReturns whether the cursor is on the first row of thisResultSetobject. This method should be called only on ResultSet objects that are scrollable: TYPE_SCROLL_SENSITIVE, TYPE_SCROLL_INSENSITIVE, TYPE_SS_SCROLL_STATIC, TYPE_SS_SCROLL_KEYSET, TYPE_SS_SCROLL_DYNAMIC.Note:Support for the
isFirstmethod is optional forResultSets with a result set type ofTYPE_FORWARD_ONLY- Specified by:
isFirstin interfacejava.sql.ResultSet- Returns:
trueif the cursor is on the first row;falseotherwise- Throws:
java.sql.SQLException- if a database access error occurs or this method is called on a closed result set- Since:
- 1.2
-
isLast
public boolean isLast() throws java.sql.SQLExceptionReturns whether the cursor is on the last row of thisResultSetobject. Note: Calling the methodisLastmay be expensive because the JDBC driver might need to fetch ahead one row in order to determine whether the current row is the last row in the result set.This method should be called only on ResultSet objects that are scrollable: TYPE_SCROLL_SENSITIVE, TYPE_SCROLL_INSENSITIVE, TYPE_SS_SCROLL_STATIC, TYPE_SS_SCROLL_KEYSET, TYPE_SS_SCROLL_DYNAMIC.
Note: Support for theisLastmethod is optional forResultSets with a result set type ofTYPE_FORWARD_ONLY- Specified by:
isLastin interfacejava.sql.ResultSet- Returns:
trueif the cursor is on the last row;falseotherwise- Throws:
java.sql.SQLException- if a database access error occurs or this method is called on a closed result set- Since:
- 1.2
-
beforeFirst
public void beforeFirst() throws java.sql.SQLException- Specified by:
beforeFirstin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
afterLast
public void afterLast() throws java.sql.SQLException- Specified by:
afterLastin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
first
public boolean first() throws java.sql.SQLExceptionMoves the cursor to the first row in thisResultSetobject.This method should be called only on ResultSet objects that are scrollable: TYPE_SCROLL_SENSITIVE, TYPE_SCROLL_INSENSITIVE, TYPE_SS_SCROLL_STATIC, TYPE_SS_SCROLL_KEYSET, TYPE_SS_SCROLL_DYNAMIC.
- Specified by:
firstin interfacejava.sql.ResultSet- Returns:
trueif the cursor is on a valid row;falseif there are no rows in the result set- Throws:
java.sql.SQLException- if a database access error occurs; this method is called on a closed result set or the result set type isTYPE_FORWARD_ONLY- Since:
- 1.2
-
last
public boolean last() throws java.sql.SQLExceptionMoves the cursor to the last row in thisResultSetobject. This method should be called only on ResultSet objects that are scrollable: TYPE_SCROLL_SENSITIVE, TYPE_SCROLL_INSENSITIVE, TYPE_SS_SCROLL_STATIC, TYPE_SS_SCROLL_KEYSET, TYPE_SS_SCROLL_DYNAMIC.- Specified by:
lastin interfacejava.sql.ResultSet- Returns:
trueif the cursor is on a valid row;falseif there are no rows in the result set- Throws:
java.sql.SQLException- if a database access error occurs; this method is called on a closed result set or the result set type isTYPE_FORWARD_ONLY- Since:
- 1.2
-
getRow
public int getRow() throws java.sql.SQLException- Specified by:
getRowin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
absolute
public boolean absolute(int row) throws java.sql.SQLExceptionMoves the cursor to the given row number in thisResultSetobject.This method should be called only on ResultSet objects that are scrollable: TYPE_SCROLL_SENSITIVE, TYPE_SCROLL_INSENSITIVE, TYPE_SS_SCROLL_STATIC, TYPE_SS_SCROLL_KEYSET, TYPE_SS_SCROLL_DYNAMIC.
If the row number is positive, the cursor moves to the given row number with respect to the beginning of the result set. The first row is row 1, the second is row 2, and so on.
If the given row number is negative, the cursor moves to an absolute row position with respect to the end of the result set. For example, calling the method
absolute(-1)positions the cursor on the last row; calling the methodabsolute(-2)moves the cursor to the next-to-last row, and so on.If the row number specified is zero, the cursor is moved to before the first row.
An attempt to position the cursor beyond the first/last row in the result set leaves the cursor before the first row or after the last row.
Note: Calling
absolute(1)is the same as callingfirst(). Callingabsolute(-1)is the same as callinglast().- Specified by:
absolutein interfacejava.sql.ResultSet- Parameters:
row- the number of the row to which the cursor should move. A value of zero indicates that the cursor will be positioned before the first row; a positive number indicates the row number counting from the beginning of the result set; a negative number indicates the row number counting from the end of the result set- Returns:
trueif the cursor is moved to a position in thisResultSetobject;falseif the cursor is before the first row or after the last row- Throws:
java.sql.SQLException- if a database access error occurs; this method is called on a closed result set or the result set type isTYPE_FORWARD_ONLY- Since:
- 1.2
-
previous
public boolean previous() throws java.sql.SQLExceptionMoves the cursor to the previous row in thisResultSetobject. This method should be called only on ResultSet objects that are scrollable: TYPE_SCROLL_SENSITIVE, TYPE_SCROLL_INSENSITIVE, TYPE_SS_SCROLL_STATIC, TYPE_SS_SCROLL_KEYSET, TYPE_SS_SCROLL_DYNAMIC.- Specified by:
previousin interfacejava.sql.ResultSet- Returns:
trueif the cursor is now positioned on a valid row;falseif the cursor is positioned before the first row- Throws:
java.sql.SQLException- if a database access error occurs; this method is called on a closed result set or the result set type isTYPE_FORWARD_ONLY- Since:
- 1.2
-
getWarnings
public java.sql.SQLWarning getWarnings() throws java.sql.SQLException- Specified by:
getWarningsin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
setFetchDirection
public void setFetchDirection(int direction) throws java.sql.SQLException- Specified by:
setFetchDirectionin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getFetchDirection
public int getFetchDirection() throws java.sql.SQLException- Specified by:
getFetchDirectionin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
setFetchSize
- Specified by:
setFetchSizein interfacejava.sql.ResultSet- Throws:
SQLServerException
-
getFetchSize
public int getFetchSize() throws java.sql.SQLException- Specified by:
getFetchSizein interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getType
- Specified by:
getTypein interfacejava.sql.ResultSet- Throws:
SQLServerException
-
getConcurrency
- Specified by:
getConcurrencyin interfacejava.sql.ResultSet- Throws:
SQLServerException
-
getAsciiStream
- Specified by:
getAsciiStreamin interfacejava.sql.ResultSet- Throws:
SQLServerException
-
getAsciiStream
- Specified by:
getAsciiStreamin interfacejava.sql.ResultSet- Throws:
SQLServerException
-
getBigDecimal
@Deprecated public java.math.BigDecimal getBigDecimal(int columnIndex, int scale) throws SQLServerExceptionDeprecated.- Specified by:
getBigDecimalin interfacejava.sql.ResultSet- Throws:
SQLServerException
-
getBigDecimal
@Deprecated public java.math.BigDecimal getBigDecimal(java.lang.String columnName, int scale) throws SQLServerExceptionDeprecated.- Specified by:
getBigDecimalin interfacejava.sql.ResultSet- Throws:
SQLServerException
-
getBinaryStream
- Specified by:
getBinaryStreamin interfacejava.sql.ResultSet- Throws:
SQLServerException
-
getBinaryStream
- Specified by:
getBinaryStreamin interfacejava.sql.ResultSet- Throws:
SQLServerException
-
getBoolean
- Specified by:
getBooleanin interfacejava.sql.ResultSet- Throws:
SQLServerException
-
getBoolean
- Specified by:
getBooleanin interfacejava.sql.ResultSet- Throws:
SQLServerException
-
getByte
- Specified by:
getBytein interfacejava.sql.ResultSet- Throws:
SQLServerException
-
getByte
- Specified by:
getBytein interfacejava.sql.ResultSet- Throws:
SQLServerException
-
getBytes
- Specified by:
getBytesin interfacejava.sql.ResultSet- Throws:
SQLServerException
-
getBytes
- Specified by:
getBytesin interfacejava.sql.ResultSet- Throws:
SQLServerException
-
getDate
- Specified by:
getDatein interfacejava.sql.ResultSet- Throws:
SQLServerException
-
getDate
- Specified by:
getDatein interfacejava.sql.ResultSet- Throws:
SQLServerException
-
getDate
- Specified by:
getDatein interfacejava.sql.ResultSet- Throws:
SQLServerException
-
getDate
public java.sql.Date getDate(java.lang.String colName, java.util.Calendar cal) throws SQLServerException- Specified by:
getDatein interfacejava.sql.ResultSet- Throws:
SQLServerException
-
getDouble
- Specified by:
getDoublein interfacejava.sql.ResultSet- Throws:
SQLServerException
-
getDouble
- Specified by:
getDoublein interfacejava.sql.ResultSet- Throws:
SQLServerException
-
getFloat
- Specified by:
getFloatin interfacejava.sql.ResultSet- Throws:
SQLServerException
-
getFloat
- Specified by:
getFloatin interfacejava.sql.ResultSet- Throws:
SQLServerException
-
getGeometry
Description copied from interface:ISQLServerResultSetReturns the value of the designated column in the current row of this ResultSet object as a com.microsoft.sqlserver.jdbc.Geometry object in the Java programming language.- Specified by:
getGeometryin interfaceISQLServerResultSet- Parameters:
columnIndex- the first column is 1, the second is 2, ...- Returns:
- the column value; if the value is SQL NULL, the value returned is null
- Throws:
SQLServerException- when an error occurs
-
getGeometry
Description copied from interface:ISQLServerResultSetReturns the value of the designated column in the current row of this ResultSet object as a com.microsoft.sqlserver.jdbc.Geometry object in the Java programming language.- Specified by:
getGeometryin interfaceISQLServerResultSet- Parameters:
columnName- the name of the column- Returns:
- the column value; if the value is SQL NULL, the value returned is null
- Throws:
SQLServerException- when an error occurs
-
getGeography
Description copied from interface:ISQLServerResultSetReturns the value of the designated column in the current row of this ResultSet object as a com.microsoft.sqlserver.jdbc.Geography object in the Java programming language.- Specified by:
getGeographyin interfaceISQLServerResultSet- Parameters:
columnIndex- the first column is 1, the second is 2, ...- Returns:
- the column value; if the value is SQL NULL, the value returned is null
- Throws:
SQLServerException- when an error occurs
-
getGeography
Description copied from interface:ISQLServerResultSetReturns the value of the designated column in the current row of this ResultSet object as a com.microsoft.sqlserver.jdbc.Geography object in the Java programming language.- Specified by:
getGeographyin interfaceISQLServerResultSet- Parameters:
columnName- the name of the column- Returns:
- the column value; if the value is SQL NULL, the value returned is null
- Throws:
SQLServerException- when an error occurs
-
getInt
- Specified by:
getIntin interfacejava.sql.ResultSet- Throws:
SQLServerException
-
getInt
- Specified by:
getIntin interfacejava.sql.ResultSet- Throws:
SQLServerException
-
getLong
- Specified by:
getLongin interfacejava.sql.ResultSet- Throws:
SQLServerException
-
getLong
- Specified by:
getLongin interfacejava.sql.ResultSet- Throws:
SQLServerException
-
getMetaData
- Specified by:
getMetaDatain interfacejava.sql.ResultSet- Throws:
SQLServerException
-
getObject
- Specified by:
getObjectin interfacejava.sql.ResultSet- Throws:
SQLServerException
-
getObject
public <T> T getObject(int columnIndex, java.lang.Class<T> type) throws java.sql.SQLException- Specified by:
getObjectin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getObject
- Specified by:
getObjectin interfacejava.sql.ResultSet- Throws:
SQLServerException
-
getObject
public <T> T getObject(java.lang.String columnName, java.lang.Class<T> type) throws java.sql.SQLException- Specified by:
getObjectin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getShort
- Specified by:
getShortin interfacejava.sql.ResultSet- Throws:
SQLServerException
-
getShort
- Specified by:
getShortin interfacejava.sql.ResultSet- Throws:
SQLServerException
-
getString
- Specified by:
getStringin interfacejava.sql.ResultSet- Throws:
SQLServerException
-
getString
- Specified by:
getStringin interfacejava.sql.ResultSet- Throws:
SQLServerException
-
getNString
public java.lang.String getNString(int columnIndex) throws java.sql.SQLException- Specified by:
getNStringin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getNString
public java.lang.String getNString(java.lang.String columnLabel) throws java.sql.SQLException- Specified by:
getNStringin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getUniqueIdentifier
Description copied from interface:ISQLServerResultSetReturns the value of the designated column in the current row of this ResultSet object as a String object in the Java programming language.- Specified by:
getUniqueIdentifierin interfaceISQLServerResultSet- Parameters:
columnIndex- the first column is 1, the second is 2, ...- Returns:
- the column value; if the value is SQL NULL, the value returned is null
- Throws:
SQLServerException- when an error occurs
-
getUniqueIdentifier
public java.lang.String getUniqueIdentifier(java.lang.String columnLabel) throws SQLServerExceptionDescription copied from interface:ISQLServerResultSetReturns the value of the designated column in the current row of this ResultSet object as a String object in the Java programming language.- Specified by:
getUniqueIdentifierin interfaceISQLServerResultSet- Parameters:
columnLabel- the name of the column- Returns:
- the column value; if the value is SQL NULL, the value returned is null
- Throws:
SQLServerException- when an error occurs
-
getTime
- Specified by:
getTimein interfacejava.sql.ResultSet- Throws:
SQLServerException
-
getTime
- Specified by:
getTimein interfacejava.sql.ResultSet- Throws:
SQLServerException
-
getTime
- Specified by:
getTimein interfacejava.sql.ResultSet- Throws:
SQLServerException
-
getTime
public java.sql.Time getTime(java.lang.String colName, java.util.Calendar cal) throws SQLServerException- Specified by:
getTimein interfacejava.sql.ResultSet- Throws:
SQLServerException
-
getTimestamp
- Specified by:
getTimestampin interfacejava.sql.ResultSet- Throws:
SQLServerException
-
getTimestamp
- Specified by:
getTimestampin interfacejava.sql.ResultSet- Throws:
SQLServerException
-
getTimestamp
public java.sql.Timestamp getTimestamp(int columnIndex, java.util.Calendar cal) throws SQLServerException- Specified by:
getTimestampin interfacejava.sql.ResultSet- Throws:
SQLServerException
-
getTimestamp
public java.sql.Timestamp getTimestamp(java.lang.String colName, java.util.Calendar cal) throws SQLServerException- Specified by:
getTimestampin interfacejava.sql.ResultSet- Throws:
SQLServerException
-
getDateTime
Description copied from interface:ISQLServerResultSetReturns 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.- Specified by:
getDateTimein interfaceISQLServerResultSet- Parameters:
columnIndex- the first column is 1, the second is 2, ...- Returns:
- the column value; if the value is SQL NULL, the value returned is null
- Throws:
SQLServerException- when an error occurs
-
getDateTime
Description copied from interface:ISQLServerResultSetReturns 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.- Specified by:
getDateTimein interfaceISQLServerResultSet- Parameters:
columnName- is the name of the column- Returns:
- the column value; if the value is SQL NULL, the value returned is null
- Throws:
SQLServerException- If any errors occur.
-
getDateTime
public java.sql.Timestamp getDateTime(int columnIndex, java.util.Calendar cal) throws SQLServerExceptionDescription copied from interface:ISQLServerResultSetReturns 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. This method uses the given calendar to construct an appropriate millisecond value for the timestamp if the underlying database does not store timezone information.- Specified by:
getDateTimein interfaceISQLServerResultSet- Parameters:
columnIndex- the first column is 1, the second is 2, ...cal- the java.util.Calendar object to use in constructing the dateTime- Returns:
- the column value; if the value is SQL NULL, the value returned is null
- Throws:
SQLServerException- If any errors occur.
-
getDateTime
public java.sql.Timestamp getDateTime(java.lang.String colName, java.util.Calendar cal) throws SQLServerExceptionDescription copied from interface:ISQLServerResultSetReturns 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. This method uses the given calendar to construct an appropriate millisecond value for the timestamp if the underlying database does not store timezone information.- Specified by:
getDateTimein interfaceISQLServerResultSet- Parameters:
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 dateTime- Returns:
- the column value; if the value is SQL NULL, the value returned is null
- Throws:
SQLServerException- If any errors occur.
-
getSmallDateTime
Description copied from interface:ISQLServerResultSetReturns 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.- Specified by:
getSmallDateTimein interfaceISQLServerResultSet- Parameters:
columnIndex- the first column is 1, the second is 2, ...- Returns:
- the column value; if the value is SQL NULL, the value returned is null
- Throws:
SQLServerException- when an error occurs
-
getSmallDateTime
Description copied from interface:ISQLServerResultSetReturns 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.- Specified by:
getSmallDateTimein interfaceISQLServerResultSet- Parameters:
columnName- is the name of a column.- Returns:
- the column value; if the value is SQL NULL, the value returned is null
- Throws:
SQLServerException- If any errors occur.
-
getSmallDateTime
public java.sql.Timestamp getSmallDateTime(int columnIndex, java.util.Calendar cal) throws SQLServerExceptionDescription copied from interface:ISQLServerResultSetReturns 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.- Specified by:
getSmallDateTimein interfaceISQLServerResultSet- Parameters:
columnIndex- the first column is 1, the second is 2, ...cal- the java.util.Calendar object to use in constructing the smalldateTime- Returns:
- the column value; if the value is SQL NULL, the value returned is null
- Throws:
SQLServerException- If any errors occur.
-
getSmallDateTime
public java.sql.Timestamp getSmallDateTime(java.lang.String colName, java.util.Calendar cal) throws SQLServerExceptionDescription copied from interface:ISQLServerResultSetReturns 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.- Specified by:
getSmallDateTimein interfaceISQLServerResultSet- Parameters:
colName- The name of a columncal- the java.util.Calendar object to use in constructing the smalldateTime- Returns:
- the column value; if the value is SQL NULL, the value returned is null
- Throws:
SQLServerException- If any errors occur.
-
getDateTimeOffset
Description copied from interface:ISQLServerResultSetReturns the value of the designated column as a microsoft.sql.DateTimeOffset object, given a zero-based column ordinal.- Specified by:
getDateTimeOffsetin interfaceISQLServerResultSet- Parameters:
columnIndex- The zero-based ordinal of a column.- Returns:
- A DateTimeOffset Class object.
- Throws:
SQLServerException- when an error occurs
-
getDateTimeOffset
Description copied from interface:ISQLServerResultSetReturns the value of the column specified as a microsoft.sql.DateTimeOffset object, given a column name.- Specified by:
getDateTimeOffsetin interfaceISQLServerResultSet- Parameters:
columnName- The name of a column.- Returns:
- A DateTimeOffset Class object.
- Throws:
SQLServerException- when an error occurs
-
getUnicodeStream
@Deprecated public java.io.InputStream getUnicodeStream(int columnIndex) throws java.sql.SQLExceptionDeprecated.- Specified by:
getUnicodeStreamin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getUnicodeStream
@Deprecated public java.io.InputStream getUnicodeStream(java.lang.String columnName) throws java.sql.SQLExceptionDeprecated.- Specified by:
getUnicodeStreamin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getObject
public java.lang.Object getObject(int i, java.util.Map<java.lang.String,java.lang.Class<?>> map) throws java.sql.SQLException- Specified by:
getObjectin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getRef
public java.sql.Ref getRef(int i) throws java.sql.SQLException- Specified by:
getRefin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getBlob
- Specified by:
getBlobin interfacejava.sql.ResultSet- Throws:
SQLServerException
-
getBlob
- Specified by:
getBlobin interfacejava.sql.ResultSet- Throws:
SQLServerException
-
getClob
- Specified by:
getClobin interfacejava.sql.ResultSet- Throws:
SQLServerException
-
getClob
- Specified by:
getClobin interfacejava.sql.ResultSet- Throws:
SQLServerException
-
getNClob
public java.sql.NClob getNClob(int columnIndex) throws java.sql.SQLException- Specified by:
getNClobin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getNClob
public java.sql.NClob getNClob(java.lang.String columnLabel) throws java.sql.SQLException- Specified by:
getNClobin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getArray
public java.sql.Array getArray(int i) throws java.sql.SQLException- Specified by:
getArrayin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getObject
public java.lang.Object getObject(java.lang.String colName, java.util.Map<java.lang.String,java.lang.Class<?>> map) throws java.sql.SQLException- Specified by:
getObjectin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getRef
public java.sql.Ref getRef(java.lang.String colName) throws java.sql.SQLException- Specified by:
getRefin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getArray
public java.sql.Array getArray(java.lang.String colName) throws java.sql.SQLException- Specified by:
getArrayin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getCursorName
public java.lang.String getCursorName() throws java.sql.SQLException- Specified by:
getCursorNamein interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getCharacterStream
public java.io.Reader getCharacterStream(int columnIndex) throws java.sql.SQLException- Specified by:
getCharacterStreamin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getCharacterStream
public java.io.Reader getCharacterStream(java.lang.String columnName) throws java.sql.SQLException- Specified by:
getCharacterStreamin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getNCharacterStream
public java.io.Reader getNCharacterStream(int columnIndex) throws java.sql.SQLException- Specified by:
getNCharacterStreamin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getNCharacterStream
public java.io.Reader getNCharacterStream(java.lang.String columnLabel) throws java.sql.SQLException- Specified by:
getNCharacterStreamin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getBigDecimal
public java.math.BigDecimal getBigDecimal(int columnIndex) throws java.sql.SQLException- Specified by:
getBigDecimalin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getBigDecimal
public java.math.BigDecimal getBigDecimal(java.lang.String columnName) throws java.sql.SQLException- Specified by:
getBigDecimalin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getMoney
Description copied from interface:ISQLServerResultSetReturns the value of the column specified as a java.math.BigDecimal object.- Specified by:
getMoneyin interfaceISQLServerResultSet- Parameters:
columnIndex- The zero-based ordinal of a column.- Returns:
- the column value; if the value is SQL NULL, the value returned is null
- Throws:
SQLServerException- when an error occurs
-
getMoney
Description copied from interface:ISQLServerResultSetReturns the value of the column specified as a java.math.BigDecimal object.- Specified by:
getMoneyin interfaceISQLServerResultSet- Parameters:
columnName- is the name of a column.- Returns:
- the column value; if the value is SQL NULL, the value returned is null.
- Throws:
SQLServerException- If any errors occur.
-
getSmallMoney
Description copied from interface:ISQLServerResultSetReturns the value of the column specified as a java.math.BigDecimal object.- Specified by:
getSmallMoneyin interfaceISQLServerResultSet- Parameters:
columnIndex- The zero-based ordinal of a column.- Returns:
- the column value; if the value is SQL NULL, the value returned is null
- Throws:
SQLServerException- If any errors occur.
-
getSmallMoney
Description copied from interface:ISQLServerResultSetReturns the value of the column specified as a java.math.BigDecimal object.- Specified by:
getSmallMoneyin interfaceISQLServerResultSet- Parameters:
columnName- is the name of a column.- Returns:
- the column value; if the value is SQL NULL, the value returned is null.
- Throws:
SQLServerException- If any errors occur.
-
getRowId
public java.sql.RowId getRowId(int columnIndex) throws java.sql.SQLException- Specified by:
getRowIdin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getRowId
public java.sql.RowId getRowId(java.lang.String columnLabel) throws java.sql.SQLException- Specified by:
getRowIdin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getSQLXML
public java.sql.SQLXML getSQLXML(int columnIndex) throws java.sql.SQLException- Specified by:
getSQLXMLin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getSQLXML
public java.sql.SQLXML getSQLXML(java.lang.String columnLabel) throws java.sql.SQLException- Specified by:
getSQLXMLin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
rowUpdated
- Specified by:
rowUpdatedin interfacejava.sql.ResultSet- Throws:
SQLServerException
-
rowInserted
- Specified by:
rowInsertedin interfacejava.sql.ResultSet- Throws:
SQLServerException
-
rowDeleted
- Specified by:
rowDeletedin interfacejava.sql.ResultSet- Throws:
SQLServerException
-
updateNull
- Specified by:
updateNullin interfacejava.sql.ResultSet- Throws:
SQLServerException
-
updateBoolean
public void updateBoolean(int index, boolean x) throws java.sql.SQLException- Specified by:
updateBooleanin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateBoolean
Description copied from interface:ISQLServerResultSetUpdates the designated column with abooleanvalue. 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 theupdateRoworinsertRowmethods are called to update the database.- Specified by:
updateBooleanin interfaceISQLServerResultSet- Parameters:
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.- Throws:
SQLServerException- when an error occurs
-
updateByte
public void updateByte(int index, byte x) throws java.sql.SQLException- Specified by:
updateBytein interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateByte
Description copied from interface:ISQLServerResultSetUpdates the designated column with abytevalue. 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 theupdateRoworinsertRowmethods are called to update the database.- Specified by:
updateBytein interfaceISQLServerResultSet- Parameters:
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.- Throws:
SQLServerException- when an error occurs
-
updateShort
public void updateShort(int index, short x) throws java.sql.SQLException- Specified by:
updateShortin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateShort
Description copied from interface:ISQLServerResultSetUpdates the designated column with ashortvalue. 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 theupdateRoworinsertRowmethods are called to update the database.- Specified by:
updateShortin interfaceISQLServerResultSet- Parameters:
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.- Throws:
SQLServerException- when an error occurs
-
updateInt
public void updateInt(int index, int x) throws java.sql.SQLException- Specified by:
updateIntin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateInt
Description copied from interface:ISQLServerResultSetUpdates the designated column with anintvalue. 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 theupdateRoworinsertRowmethods are called to update the database.- Specified by:
updateIntin interfaceISQLServerResultSet- Parameters:
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.- Throws:
SQLServerException- when an error occurs
-
updateLong
public void updateLong(int index, long x) throws java.sql.SQLException- Specified by:
updateLongin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateLong
Description copied from interface:ISQLServerResultSetUpdates the designated column with alongvalue. 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 theupdateRoworinsertRowmethods are called to update the database.- Specified by:
updateLongin interfaceISQLServerResultSet- Parameters:
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.- Throws:
SQLServerException- when an error occurs
-
updateFloat
public void updateFloat(int index, float x) throws java.sql.SQLException- Specified by:
updateFloatin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateFloat
Description copied from interface:ISQLServerResultSetUpdates the designated column with afloatvalue. 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 theupdateRoworinsertRowmethods are called to update the database.- Specified by:
updateFloatin interfaceISQLServerResultSet- Parameters:
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.- Throws:
SQLServerException- when an error occurs
-
updateDouble
public void updateDouble(int index, double x) throws java.sql.SQLException- Specified by:
updateDoublein interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateDouble
Description copied from interface:ISQLServerResultSetUpdates the designated column with adoublevalue. 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 theupdateRoworinsertRowmethods are called to update the database.- Specified by:
updateDoublein interfaceISQLServerResultSet- Parameters:
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.- Throws:
SQLServerException- when an error occurs
-
updateMoney
Description copied from interface:ISQLServerResultSetUpdates the designated column with amoneyvalue. 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 theupdateRoworinsertRowmethods are called to update the database.- Specified by:
updateMoneyin interfaceISQLServerResultSet- Parameters:
index- the first column is 1, the second is 2, ...x- the new column value- Throws:
SQLServerException- when an error occurs
-
updateMoney
public void updateMoney(int index, java.math.BigDecimal x, boolean forceEncrypt) throws SQLServerExceptionDescription copied from interface:ISQLServerResultSetUpdates the designated column with amoneyvalue. 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 theupdateRoworinsertRowmethods are called to update the database.- Specified by:
updateMoneyin interfaceISQLServerResultSet- Parameters:
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.- Throws:
SQLServerException- when an error occurs
-
updateMoney
public void updateMoney(java.lang.String columnName, java.math.BigDecimal x) throws SQLServerExceptionDescription copied from interface:ISQLServerResultSetUpdates the designated column with amoneyvalue. 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 theupdateRoworinsertRowmethods are called to update the database.- Specified by:
updateMoneyin interfaceISQLServerResultSet- Parameters:
columnName- the column namex- the new column value- Throws:
SQLServerException- If any errors occur.
-
updateMoney
public void updateMoney(java.lang.String columnName, java.math.BigDecimal x, boolean forceEncrypt) throws SQLServerExceptionDescription copied from interface:ISQLServerResultSetUpdates the designated column with amoneyvalue. 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 theupdateRoworinsertRowmethods are called to update the database.- Specified by:
updateMoneyin interfaceISQLServerResultSet- Parameters:
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.- Throws:
SQLServerException- If any errors occur.
-
updateSmallMoney
Description copied from interface:ISQLServerResultSetUpdates the designated column with asmallmoneyvalue. 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 theupdateRoworinsertRowmethods are called to update the database.- Specified by:
updateSmallMoneyin interfaceISQLServerResultSet- Parameters:
index- the first column is 1, the second is 2, ...x- the new column value- Throws:
SQLServerException- when an error occurs
-
updateSmallMoney
public void updateSmallMoney(int index, java.math.BigDecimal x, boolean forceEncrypt) throws SQLServerExceptionDescription copied from interface:ISQLServerResultSetUpdates the designated column with asmallmoneyvalue. 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 theupdateRoworinsertRowmethods are called to update the database.- Specified by:
updateSmallMoneyin interfaceISQLServerResultSet- Parameters:
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.- Throws:
SQLServerException- when an error occurs
-
updateSmallMoney
public void updateSmallMoney(java.lang.String columnName, java.math.BigDecimal x) throws SQLServerExceptionDescription copied from interface:ISQLServerResultSetUpdates the designated column with asmallmoneyvalue. 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 theupdateRoworinsertRowmethods are called to update the database.- Specified by:
updateSmallMoneyin interfaceISQLServerResultSet- Parameters:
columnName- the column namex- the new column value- Throws:
SQLServerException- If any errors occur.
-
updateSmallMoney
public void updateSmallMoney(java.lang.String columnName, java.math.BigDecimal x, boolean forceEncrypt) throws SQLServerExceptionDescription copied from interface:ISQLServerResultSetUpdates the designated column with asmallmoneyvalue. 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 theupdateRoworinsertRowmethods are called to update the database.- Specified by:
updateSmallMoneyin interfaceISQLServerResultSet- Parameters:
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.- Throws:
SQLServerException- If any errors occur.
-
updateBigDecimal
- Specified by:
updateBigDecimalin interfacejava.sql.ResultSet- Throws:
SQLServerException
-
updateBigDecimal
public void updateBigDecimal(int index, java.math.BigDecimal x, java.lang.Integer precision, java.lang.Integer scale) throws SQLServerExceptionDescription copied from interface:ISQLServerResultSetUpdates the designated column with ajava.math.BigDecimalvalue. 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 theupdateRoworinsertRowmethods are called to update the database.- Specified by:
updateBigDecimalin interfaceISQLServerResultSet- Parameters:
index- the first column is 1, the second is 2, ...x- the new column valueprecision- the precision of the columnscale- the scale of the column- Throws:
SQLServerException- when an error occurs
-
updateBigDecimal
public void updateBigDecimal(int index, java.math.BigDecimal x, java.lang.Integer precision, java.lang.Integer scale, boolean forceEncrypt) throws SQLServerExceptionDescription copied from interface:ISQLServerResultSetUpdates the designated column with ajava.math.BigDecimalvalue. 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 theupdateRoworinsertRowmethods are called to update the database.- Specified by:
updateBigDecimalin interfaceISQLServerResultSet- Parameters:
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.- Throws:
SQLServerException- when an error occurs
-
updateString
- Specified by:
updateStringin interfacejava.sql.ResultSet- Throws:
SQLServerException
-
updateString
public void updateString(int columnIndex, java.lang.String stringValue, boolean forceEncrypt) throws SQLServerExceptionDescription copied from interface:ISQLServerResultSetUpdates the designated column with aStringvalue. 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 theupdateRoworinsertRowmethods are called to update the database.- Specified by:
updateStringin interfaceISQLServerResultSet- Parameters:
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.- Throws:
SQLServerException- when an error occurs
-
updateNString
public void updateNString(int columnIndex, java.lang.String nString) throws java.sql.SQLException- Specified by:
updateNStringin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateNString
public void updateNString(int columnIndex, java.lang.String nString, boolean forceEncrypt) throws SQLServerExceptionDescription copied from interface:ISQLServerResultSetUpdates the designated column with aStringvalue. It is intended for use when updatingNCHAR,NVARCHARandLONGNVARCHARcolumns. 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 theupdateRoworinsertRowmethods are called to update the database.- Specified by:
updateNStringin interfaceISQLServerResultSet- Parameters:
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.- Throws:
SQLServerException- when an error occurs
-
updateNString
public void updateNString(java.lang.String columnLabel, java.lang.String nString) throws java.sql.SQLException- Specified by:
updateNStringin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateNString
public void updateNString(java.lang.String columnLabel, java.lang.String nString, boolean forceEncrypt) throws SQLServerExceptionDescription copied from interface:ISQLServerResultSetUpdates the designated column with aStringvalue. It is intended for use when updatingNCHAR,NVARCHARandLONGNVARCHARcolumns. 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 theupdateRoworinsertRowmethods are called to update the database.- Specified by:
updateNStringin interfaceISQLServerResultSet- Parameters:
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.- Throws:
SQLServerException- when an error occurs
-
updateBytes
public void updateBytes(int index, byte[] x) throws java.sql.SQLException- Specified by:
updateBytesin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateBytes
Description copied from interface:ISQLServerResultSetUpdates the designated column with abytearray 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 theupdateRoworinsertRowmethods are called to update the database.- Specified by:
updateBytesin interfaceISQLServerResultSet- Parameters:
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.- Throws:
SQLServerException- when an error occurs
-
updateDate
- Specified by:
updateDatein interfacejava.sql.ResultSet- Throws:
SQLServerException
-
updateDate
Description copied from interface:ISQLServerResultSetUpdates the designated column with ajava.sql.Datevalue. 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 theupdateRoworinsertRowmethods are called to update the database.- Specified by:
updateDatein interfaceISQLServerResultSet- Parameters:
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.- Throws:
SQLServerException- when an error occurs
-
updateTime
- Specified by:
updateTimein interfacejava.sql.ResultSet- Throws:
SQLServerException
-
updateTime
public void updateTime(int index, java.sql.Time x, java.lang.Integer scale) throws SQLServerExceptionDescription copied from interface:ISQLServerResultSetUpdates the designated column with ajava.sql.Timevalue. 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 theupdateRoworinsertRowmethods are called to update the database.- Specified by:
updateTimein interfaceISQLServerResultSet- Parameters:
index- the first column is 1, the second is 2, ...x- the new column valuescale- the scale of the column- Throws:
SQLServerException- when an error occurs
-
updateTime
public void updateTime(int index, java.sql.Time x, java.lang.Integer scale, boolean forceEncrypt) throws SQLServerExceptionDescription copied from interface:ISQLServerResultSetUpdates the designated column with ajava.sql.Timevalue. 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 theupdateRoworinsertRowmethods are called to update the database.- Specified by:
updateTimein interfaceISQLServerResultSet- Parameters:
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.- Throws:
SQLServerException- when an error occurs
-
updateTimestamp
- Specified by:
updateTimestampin interfacejava.sql.ResultSet- Throws:
SQLServerException
-
updateTimestamp
Description copied from interface:ISQLServerResultSetUpdates the designated column with ajava.sql.Timestampvalue. 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 theupdateRoworinsertRowmethods are called to update the database.- Specified by:
updateTimestampin interfaceISQLServerResultSet- Parameters:
index- the first column is 1, the second is 2, ...x- the new column valuescale- the scale of the column- Throws:
SQLServerException- when an error occurs
-
updateTimestamp
public void updateTimestamp(int index, java.sql.Timestamp x, int scale, boolean forceEncrypt) throws SQLServerExceptionDescription copied from interface:ISQLServerResultSetUpdates the designated column with ajava.sql.Timestampvalue. 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 theupdateRoworinsertRowmethods are called to update the database.- Specified by:
updateTimestampin interfaceISQLServerResultSet- Parameters:
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.- Throws:
SQLServerException- when an error occurs
-
updateDateTime
Description copied from interface:ISQLServerResultSetUpdates the designated column with ajava.sql.Timestampvalue. 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 theupdateRoworinsertRowmethods are called to update the database.- Specified by:
updateDateTimein interfaceISQLServerResultSet- Parameters:
index- the first column is 1, the second is 2, ...x- the new column value- Throws:
SQLServerException- when an error occurs
-
updateDateTime
public void updateDateTime(int index, java.sql.Timestamp x, java.lang.Integer scale) throws SQLServerExceptionDescription copied from interface:ISQLServerResultSetUpdates the designated column with ajava.sql.Timestampvalue. 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 theupdateRoworinsertRowmethods are called to update the database.- Specified by:
updateDateTimein interfaceISQLServerResultSet- Parameters:
index- the first column is 1, the second is 2, ...x- the new column valuescale- the scale of the column- Throws:
SQLServerException- when an error occurs
-
updateDateTime
public void updateDateTime(int index, java.sql.Timestamp x, java.lang.Integer scale, boolean forceEncrypt) throws SQLServerExceptionDescription copied from interface:ISQLServerResultSetUpdates the designated column with ajava.sql.Timestampvalue. 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 theupdateRoworinsertRowmethods are called to update the database.- Specified by:
updateDateTimein interfaceISQLServerResultSet- Parameters:
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.- Throws:
SQLServerException- when an error occurs
-
updateSmallDateTime
Description copied from interface:ISQLServerResultSetUpdates the designated column with ajava.sql.Timestampvalue. 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 theupdateRoworinsertRowmethods are called to update the database.- Specified by:
updateSmallDateTimein interfaceISQLServerResultSet- Parameters:
index- the first column is 1, the second is 2, ...x- the new column value- Throws:
SQLServerException- when an error occurs
-
updateSmallDateTime
public void updateSmallDateTime(int index, java.sql.Timestamp x, java.lang.Integer scale) throws SQLServerExceptionDescription copied from interface:ISQLServerResultSetUpdates the designated column with ajava.sql.Timestampvalue. 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 theupdateRoworinsertRowmethods are called to update the database.- Specified by:
updateSmallDateTimein interfaceISQLServerResultSet- Parameters:
index- the first column is 1, the second is 2, ...x- the new column valuescale- the scale of the column- Throws:
SQLServerException- when an error occurs
-
updateSmallDateTime
public void updateSmallDateTime(int index, java.sql.Timestamp x, java.lang.Integer scale, boolean forceEncrypt) throws SQLServerExceptionDescription copied from interface:ISQLServerResultSetUpdates the designated column with ajava.sql.Timestampvalue. 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 theupdateRoworinsertRowmethods are called to update the database.- Specified by:
updateSmallDateTimein interfaceISQLServerResultSet- Parameters:
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.- Throws:
SQLServerException- when an error occurs
-
updateDateTimeOffset
Description copied from interface:ISQLServerResultSetUpdates the value of the column specified to the DateTimeOffset Class value, given a zero-based column ordinal.- Specified by:
updateDateTimeOffsetin interfaceISQLServerResultSet- Parameters:
index- The zero-based ordinal of a column.x- A DateTimeOffset Class object.- Throws:
SQLServerException- when an error occurs
-
updateDateTimeOffset
public void updateDateTimeOffset(int index, DateTimeOffset x, java.lang.Integer scale) throws SQLServerExceptionDescription copied from interface:ISQLServerResultSetUpdates the value of the column specified to the DateTimeOffset Class value, given a zero-based column ordinal.- Specified by:
updateDateTimeOffsetin interfaceISQLServerResultSet- Parameters:
index- The zero-based ordinal of a column.x- A DateTimeOffset Class object.scale- scale of the column- Throws:
SQLServerException- when an error occurs
-
updateDateTimeOffset
public void updateDateTimeOffset(int index, DateTimeOffset x, java.lang.Integer scale, boolean forceEncrypt) throws SQLServerExceptionDescription copied from interface:ISQLServerResultSetUpdates the value of the column specified to the DateTimeOffset Class value, given a zero-based column ordinal.- Specified by:
updateDateTimeOffsetin interfaceISQLServerResultSet- Parameters:
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.- Throws:
SQLServerException- when an error occurs
-
updateUniqueIdentifier
Description copied from interface:ISQLServerResultSetUpdates the designated column with aStringvalue. 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 theupdateRoworinsertRowmethods are called to update the database.- Specified by:
updateUniqueIdentifierin interfaceISQLServerResultSet- Parameters:
index- The zero-based ordinal of a column.x- the new column value- Throws:
SQLServerException- when an error occurs
-
updateUniqueIdentifier
public void updateUniqueIdentifier(int index, java.lang.String x, boolean forceEncrypt) throws SQLServerExceptionDescription copied from interface:ISQLServerResultSetUpdates the designated column with aStringvalue. 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 theupdateRoworinsertRowmethods are called to update the database.- Specified by:
updateUniqueIdentifierin interfaceISQLServerResultSet- Parameters:
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.- Throws:
SQLServerException- when an error occurs
-
updateAsciiStream
public void updateAsciiStream(int columnIndex, java.io.InputStream x) throws java.sql.SQLException- Specified by:
updateAsciiStreamin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateAsciiStream
public void updateAsciiStream(int index, java.io.InputStream x, int length) throws SQLServerException- Specified by:
updateAsciiStreamin interfacejava.sql.ResultSet- Throws:
SQLServerException
-
updateAsciiStream
public void updateAsciiStream(int columnIndex, java.io.InputStream x, long length) throws java.sql.SQLException- Specified by:
updateAsciiStreamin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateAsciiStream
public void updateAsciiStream(java.lang.String columnLabel, java.io.InputStream x) throws java.sql.SQLException- Specified by:
updateAsciiStreamin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateAsciiStream
public void updateAsciiStream(java.lang.String columnName, java.io.InputStream x, int length) throws SQLServerException- Specified by:
updateAsciiStreamin interfacejava.sql.ResultSet- Throws:
SQLServerException
-
updateAsciiStream
public void updateAsciiStream(java.lang.String columnName, java.io.InputStream streamValue, long length) throws java.sql.SQLException- Specified by:
updateAsciiStreamin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateBinaryStream
public void updateBinaryStream(int columnIndex, java.io.InputStream x) throws java.sql.SQLException- Specified by:
updateBinaryStreamin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateBinaryStream
public void updateBinaryStream(int columnIndex, java.io.InputStream streamValue, int length) throws java.sql.SQLException- Specified by:
updateBinaryStreamin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateBinaryStream
public void updateBinaryStream(int columnIndex, java.io.InputStream x, long length) throws java.sql.SQLException- Specified by:
updateBinaryStreamin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateBinaryStream
public void updateBinaryStream(java.lang.String columnLabel, java.io.InputStream x) throws java.sql.SQLException- Specified by:
updateBinaryStreamin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateBinaryStream
public void updateBinaryStream(java.lang.String columnName, java.io.InputStream streamValue, int length) throws java.sql.SQLException- Specified by:
updateBinaryStreamin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateBinaryStream
public void updateBinaryStream(java.lang.String columnLabel, java.io.InputStream x, long length) throws java.sql.SQLException- Specified by:
updateBinaryStreamin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateCharacterStream
public void updateCharacterStream(int columnIndex, java.io.Reader x) throws java.sql.SQLException- Specified by:
updateCharacterStreamin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateCharacterStream
public void updateCharacterStream(int columnIndex, java.io.Reader readerValue, int length) throws SQLServerException- Specified by:
updateCharacterStreamin interfacejava.sql.ResultSet- Throws:
SQLServerException
-
updateCharacterStream
public void updateCharacterStream(int columnIndex, java.io.Reader x, long length) throws java.sql.SQLException- Specified by:
updateCharacterStreamin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateCharacterStream
public void updateCharacterStream(java.lang.String columnLabel, java.io.Reader reader) throws java.sql.SQLException- Specified by:
updateCharacterStreamin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateCharacterStream
public void updateCharacterStream(java.lang.String columnName, java.io.Reader readerValue, int length) throws SQLServerException- Specified by:
updateCharacterStreamin interfacejava.sql.ResultSet- Throws:
SQLServerException
-
updateCharacterStream
public void updateCharacterStream(java.lang.String columnLabel, java.io.Reader reader, long length) throws java.sql.SQLException- Specified by:
updateCharacterStreamin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateNCharacterStream
public void updateNCharacterStream(int columnIndex, java.io.Reader x) throws java.sql.SQLException- Specified by:
updateNCharacterStreamin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateNCharacterStream
public void updateNCharacterStream(int columnIndex, java.io.Reader x, long length) throws java.sql.SQLException- Specified by:
updateNCharacterStreamin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateNCharacterStream
public void updateNCharacterStream(java.lang.String columnLabel, java.io.Reader reader) throws java.sql.SQLException- Specified by:
updateNCharacterStreamin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateNCharacterStream
public void updateNCharacterStream(java.lang.String columnLabel, java.io.Reader reader, long length) throws java.sql.SQLException- Specified by:
updateNCharacterStreamin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateObject
- Specified by:
updateObjectin interfacejava.sql.ResultSet- Throws:
SQLServerException
-
updateObject
- Specified by:
updateObjectin interfacejava.sql.ResultSet- Throws:
SQLServerException
-
updateObject
public void updateObject(int index, java.lang.Object x, int precision, int scale) throws SQLServerExceptionDescription copied from interface:ISQLServerResultSetUpdates the designated column with anObjectvalue. 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 theupdateRoworinsertRowmethods are called to update the database.- Specified by:
updateObjectin interfaceISQLServerResultSet- Parameters:
index- the first column is 1, the second is 2, ...x- the new column valueprecision- the precision of the columnscale- the scale of the column- Throws:
SQLServerException- when an error occurs
-
updateObject
public void updateObject(int index, java.lang.Object x, int precision, int scale, boolean forceEncrypt) throws SQLServerExceptionDescription copied from interface:ISQLServerResultSetUpdates the designated column with anObjectvalue. 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 theupdateRoworinsertRowmethods are called to update the database.- Specified by:
updateObjectin interfaceISQLServerResultSet- Parameters:
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.- Throws:
SQLServerException- when an error occurs
-
updateObject
protected final void updateObject(int index, java.lang.Object x, java.lang.Integer scale, com.microsoft.sqlserver.jdbc.JDBCType jdbcType, java.lang.Integer precision, boolean forceEncrypt) throws SQLServerException- Throws:
SQLServerException
-
updateNull
- Specified by:
updateNullin interfacejava.sql.ResultSet- Throws:
SQLServerException
-
updateBoolean
- Specified by:
updateBooleanin interfacejava.sql.ResultSet- Throws:
SQLServerException
-
updateBoolean
public void updateBoolean(java.lang.String columnName, boolean x, boolean forceEncrypt) throws SQLServerExceptionDescription copied from interface:ISQLServerResultSetUpdates the designated column with abooleanvalue. 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 theupdateRoworinsertRowmethods are called to update the database.- Specified by:
updateBooleanin interfaceISQLServerResultSet- Parameters:
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.- Throws:
SQLServerException- when an error occurs
-
updateByte
- Specified by:
updateBytein interfacejava.sql.ResultSet- Throws:
SQLServerException
-
updateByte
public void updateByte(java.lang.String columnName, byte x, boolean forceEncrypt) throws SQLServerExceptionDescription copied from interface:ISQLServerResultSetUpdates the designated column with abytevalue. 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 theupdateRoworinsertRowmethods are called to update the database.- Specified by:
updateBytein interfaceISQLServerResultSet- Parameters:
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.- Throws:
SQLServerException- If any errors occur.
-
updateShort
- Specified by:
updateShortin interfacejava.sql.ResultSet- Throws:
SQLServerException
-
updateShort
public void updateShort(java.lang.String columnName, short x, boolean forceEncrypt) throws SQLServerExceptionDescription copied from interface:ISQLServerResultSetUpdates the designated column with ashortvalue. 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 theupdateRoworinsertRowmethods are called to update the database.- Specified by:
updateShortin interfaceISQLServerResultSet- Parameters:
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.- Throws:
SQLServerException- If any errors occur.
-
updateInt
- Specified by:
updateIntin interfacejava.sql.ResultSet- Throws:
SQLServerException
-
updateInt
public void updateInt(java.lang.String columnName, int x, boolean forceEncrypt) throws SQLServerExceptionDescription copied from interface:ISQLServerResultSetUpdates the designated column with anintvalue. 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 theupdateRoworinsertRowmethods are called to update the database.- Specified by:
updateIntin interfaceISQLServerResultSet- Parameters:
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.- Throws:
SQLServerException- If any errors occur.
-
updateLong
- Specified by:
updateLongin interfacejava.sql.ResultSet- Throws:
SQLServerException
-
updateLong
public void updateLong(java.lang.String columnName, long x, boolean forceEncrypt) throws SQLServerExceptionDescription copied from interface:ISQLServerResultSetUpdates the designated column with alongvalue. 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 theupdateRoworinsertRowmethods are called to update the database.- Specified by:
updateLongin interfaceISQLServerResultSet- Parameters:
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.- Throws:
SQLServerException- If any errors occur.
-
updateFloat
- Specified by:
updateFloatin interfacejava.sql.ResultSet- Throws:
SQLServerException
-
updateFloat
public void updateFloat(java.lang.String columnName, float x, boolean forceEncrypt) throws SQLServerExceptionDescription copied from interface:ISQLServerResultSetUpdates the designated column with afloatvalue. 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 theupdateRoworinsertRowmethods are called to update the database.- Specified by:
updateFloatin interfaceISQLServerResultSet- Parameters:
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.- Throws:
SQLServerException- If any errors occur.
-
updateDouble
- Specified by:
updateDoublein interfacejava.sql.ResultSet- Throws:
SQLServerException
-
updateDouble
public void updateDouble(java.lang.String columnName, double x, boolean forceEncrypt) throws SQLServerExceptionDescription copied from interface:ISQLServerResultSetUpdates the designated column with adoublevalue. 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 theupdateRoworinsertRowmethods are called to update the database.- Specified by:
updateDoublein interfaceISQLServerResultSet- Parameters:
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.- Throws:
SQLServerException- If any errors occur.
-
updateBigDecimal
public void updateBigDecimal(java.lang.String columnName, java.math.BigDecimal x) throws SQLServerException- Specified by:
updateBigDecimalin interfacejava.sql.ResultSet- Throws:
SQLServerException
-
updateBigDecimal
public void updateBigDecimal(java.lang.String columnName, java.math.BigDecimal x, boolean forceEncrypt) throws SQLServerExceptionDescription copied from interface:ISQLServerResultSetUpdates the designated column with ajava.sql.BigDecimalvalue. 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 theupdateRoworinsertRowmethods are called to update the database.- Specified by:
updateBigDecimalin interfaceISQLServerResultSet- Parameters:
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.- Throws:
SQLServerException- If any errors occur.
-
updateBigDecimal
public void updateBigDecimal(java.lang.String columnName, java.math.BigDecimal x, java.lang.Integer precision, java.lang.Integer scale) throws SQLServerExceptionDescription copied from interface:ISQLServerResultSetUpdates the designated column with ajava.sql.BigDecimalvalue. 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 theupdateRoworinsertRowmethods are called to update the database.- Specified by:
updateBigDecimalin interfaceISQLServerResultSet- Parameters:
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 column- Throws:
SQLServerException- If any errors occur.
-
updateBigDecimal
public void updateBigDecimal(java.lang.String columnName, java.math.BigDecimal x, java.lang.Integer precision, java.lang.Integer scale, boolean forceEncrypt) throws SQLServerExceptionDescription copied from interface:ISQLServerResultSetUpdates the designated column with ajava.sql.BigDecimalvalue. 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 theupdateRoworinsertRowmethods are called to update the database.- Specified by:
updateBigDecimalin interfaceISQLServerResultSet- Parameters:
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.- Throws:
SQLServerException- If any errors occur.
-
updateString
public void updateString(java.lang.String columnName, java.lang.String x) throws SQLServerException- Specified by:
updateStringin interfacejava.sql.ResultSet- Throws:
SQLServerException
-
updateString
public void updateString(java.lang.String columnName, java.lang.String x, boolean forceEncrypt) throws SQLServerExceptionDescription copied from interface:ISQLServerResultSetUpdates the designated column with aStringvalue. 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 theupdateRoworinsertRowmethods are called to update the database.- Specified by:
updateStringin interfaceISQLServerResultSet- Parameters:
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.- Throws:
SQLServerException- If any errors occur.
-
updateBytes
- Specified by:
updateBytesin interfacejava.sql.ResultSet- Throws:
SQLServerException
-
updateBytes
public void updateBytes(java.lang.String columnName, byte[] x, boolean forceEncrypt) throws SQLServerExceptionDescription copied from interface:ISQLServerResultSetUpdates the designated column with a 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 theupdateRoworinsertRowmethods are called to update the database.- Specified by:
updateBytesin interfaceISQLServerResultSet- Parameters:
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.- Throws:
SQLServerException- If any errors occur.
-
updateDate
- Specified by:
updateDatein interfacejava.sql.ResultSet- Throws:
SQLServerException
-
updateDate
public void updateDate(java.lang.String columnName, java.sql.Date x, boolean forceEncrypt) throws SQLServerExceptionDescription copied from interface:ISQLServerResultSetUpdates the designated column with ajava.sql.Datevalue. 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 theupdateRoworinsertRowmethods are called to update the database.- Specified by:
updateDatein interfaceISQLServerResultSet- Parameters:
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.- Throws:
SQLServerException- If any errors occur.
-
updateTime
- Specified by:
updateTimein interfacejava.sql.ResultSet- Throws:
SQLServerException
-
updateTime
public void updateTime(java.lang.String columnName, java.sql.Time x, int scale) throws SQLServerExceptionDescription copied from interface:ISQLServerResultSetUpdates the designated column with ajava.sql.Timevalue. 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 theupdateRoworinsertRowmethods are called to update the database.- Specified by:
updateTimein interfaceISQLServerResultSet- Parameters:
columnName- is the name of the columnx- the new column valuescale- the scale of the column- Throws:
SQLServerException- If any errors occur.
-
updateTime
public void updateTime(java.lang.String columnName, java.sql.Time x, int scale, boolean forceEncrypt) throws SQLServerExceptionDescription copied from interface:ISQLServerResultSetUpdates the designated column with ajava.sql.Timevalue. 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 theupdateRoworinsertRowmethods are called to update the database.- Specified by:
updateTimein interfaceISQLServerResultSet- Parameters:
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.- Throws:
SQLServerException- If any errors occur.
-
updateTimestamp
public void updateTimestamp(java.lang.String columnName, java.sql.Timestamp x) throws SQLServerException- Specified by:
updateTimestampin interfacejava.sql.ResultSet- Throws:
SQLServerException
-
updateTimestamp
public void updateTimestamp(java.lang.String columnName, java.sql.Timestamp x, int scale) throws SQLServerExceptionDescription copied from interface:ISQLServerResultSetUpdates the designated column with ajava.sql.Timestampvalue. 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 theupdateRoworinsertRowmethods are called to update the database.- Specified by:
updateTimestampin interfaceISQLServerResultSet- Parameters:
columnName- is the name of the columnx- the new column valuescale- the scale of the column- Throws:
SQLServerException- If any errors occur.
-
updateTimestamp
public void updateTimestamp(java.lang.String columnName, java.sql.Timestamp x, int scale, boolean forceEncrypt) throws SQLServerExceptionDescription copied from interface:ISQLServerResultSetUpdates the designated column with ajava.sql.Timestampvalue. 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 theupdateRoworinsertRowmethods are called to update the database.- Specified by:
updateTimestampin interfaceISQLServerResultSet- Parameters:
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.- Throws:
SQLServerException- If any errors occur.
-
updateDateTime
public void updateDateTime(java.lang.String columnName, java.sql.Timestamp x) throws SQLServerExceptionDescription copied from interface:ISQLServerResultSetUpdates the designated column with ajava.sql.Timestampvalue. 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 theupdateRoworinsertRowmethods are called to update the database.- Specified by:
updateDateTimein interfaceISQLServerResultSet- Parameters:
columnName- is the name of the columnx- the new column value- Throws:
SQLServerException- If any errors occur.
-
updateDateTime
public void updateDateTime(java.lang.String columnName, java.sql.Timestamp x, int scale) throws SQLServerExceptionDescription copied from interface:ISQLServerResultSetUpdates the designated column with ajava.sql.Timestampvalue. 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 theupdateRoworinsertRowmethods are called to update the database.- Specified by:
updateDateTimein interfaceISQLServerResultSet- Parameters:
columnName- is the name of the columnx- the new column valuescale- the scale of the column- Throws:
SQLServerException- If any errors occur.
-
updateDateTime
public void updateDateTime(java.lang.String columnName, java.sql.Timestamp x, int scale, boolean forceEncrypt) throws SQLServerExceptionDescription copied from interface:ISQLServerResultSetUpdates the designated column with ajava.sql.Timestampvalue. 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 theupdateRoworinsertRowmethods are called to update the database.- Specified by:
updateDateTimein interfaceISQLServerResultSet- Parameters:
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.- Throws:
SQLServerException- If any errors occur.
-
updateSmallDateTime
public void updateSmallDateTime(java.lang.String columnName, java.sql.Timestamp x) throws SQLServerExceptionDescription copied from interface:ISQLServerResultSetUpdates the designated column with ajava.sql.Timestampvalue. 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 theupdateRoworinsertRowmethods are called to update the database.- Specified by:
updateSmallDateTimein interfaceISQLServerResultSet- Parameters:
columnName- is the name of the columnx- the new column value- Throws:
SQLServerException- If any errors occur.
-
updateSmallDateTime
public void updateSmallDateTime(java.lang.String columnName, java.sql.Timestamp x, int scale) throws SQLServerExceptionDescription copied from interface:ISQLServerResultSetUpdates the designated column with ajava.sql.Timestampvalue. 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 theupdateRoworinsertRowmethods are called to update the database.- Specified by:
updateSmallDateTimein interfaceISQLServerResultSet- Parameters:
columnName- is the name of the columnx- the new column valuescale- the scale of the column- Throws:
SQLServerException- If any errors occur.
-
updateSmallDateTime
public void updateSmallDateTime(java.lang.String columnName, java.sql.Timestamp x, int scale, boolean forceEncrypt) throws SQLServerExceptionDescription copied from interface:ISQLServerResultSetUpdates the designated column with ajava.sql.Timestampvalue. 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 theupdateRoworinsertRowmethods are called to update the database.- Specified by:
updateSmallDateTimein interfaceISQLServerResultSet- Parameters:
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.- Throws:
SQLServerException- If any errors occur.
-
updateDateTimeOffset
public void updateDateTimeOffset(java.lang.String columnName, DateTimeOffset x) throws SQLServerExceptionDescription copied from interface:ISQLServerResultSetUpdates the value of the column specified to the DateTimeOffset Class value, given a column name.- Specified by:
updateDateTimeOffsetin interfaceISQLServerResultSet- Parameters:
columnName- The name of a column.x- A DateTimeOffset Class object.- Throws:
SQLServerException- when an error occurs
-
updateDateTimeOffset
public void updateDateTimeOffset(java.lang.String columnName, DateTimeOffset x, int scale) throws SQLServerExceptionDescription copied from interface:ISQLServerResultSetUpdates the value of the column specified to the DateTimeOffset Class value, given a column name.- Specified by:
updateDateTimeOffsetin interfaceISQLServerResultSet- Parameters:
columnName- The name of a column.x- A DateTimeOffset Class object.scale- the scale of the column- Throws:
SQLServerException- If any errors occur.
-
updateDateTimeOffset
public void updateDateTimeOffset(java.lang.String columnName, DateTimeOffset x, int scale, boolean forceEncrypt) throws SQLServerExceptionDescription copied from interface:ISQLServerResultSetUpdates the value of the column specified to the DateTimeOffset Class value, given a column name.- Specified by:
updateDateTimeOffsetin interfaceISQLServerResultSet- Parameters:
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.- Throws:
SQLServerException- If any errors occur.
-
updateUniqueIdentifier
public void updateUniqueIdentifier(java.lang.String columnName, java.lang.String x) throws SQLServerExceptionDescription copied from interface:ISQLServerResultSetUpdates the designated column with aStringvalue. 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 theupdateRoworinsertRowmethods are called to update the database.- Specified by:
updateUniqueIdentifierin interfaceISQLServerResultSet- Parameters:
columnName- The name of a column.x- the new column value- Throws:
SQLServerException- If any errors occur.
-
updateUniqueIdentifier
public void updateUniqueIdentifier(java.lang.String columnName, java.lang.String x, boolean forceEncrypt) throws SQLServerExceptionDescription copied from interface:ISQLServerResultSetUpdates the designated column with aStringvalue. 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 theupdateRoworinsertRowmethods are called to update the database.- Specified by:
updateUniqueIdentifierin interfaceISQLServerResultSet- Parameters:
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.- Throws:
SQLServerException- If any errors occur.
-
updateObject
public void updateObject(java.lang.String columnName, java.lang.Object x, int scale) throws SQLServerException- Specified by:
updateObjectin interfacejava.sql.ResultSet- Throws:
SQLServerException
-
updateObject
public void updateObject(java.lang.String columnName, java.lang.Object x, int precision, int scale) throws SQLServerExceptionDescription copied from interface:ISQLServerResultSetUpdates the designated column with anObjectvalue. 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 theupdateRoworinsertRowmethods are called to update the database.- Specified by:
updateObjectin interfaceISQLServerResultSet- Parameters:
columnName- The name of a column.x- the new column valueprecision- the precision of the columnscale- the scale of the column- Throws:
SQLServerException- If any errors occur.
-
updateObject
public void updateObject(java.lang.String columnName, java.lang.Object x, int precision, int scale, boolean forceEncrypt) throws SQLServerExceptionDescription copied from interface:ISQLServerResultSetUpdates the designated column with anObjectvalue. 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 theupdateRoworinsertRowmethods are called to update the database.- Specified by:
updateObjectin interfaceISQLServerResultSet- Parameters:
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.- Throws:
SQLServerException- If any errors occur.
-
updateObject
public void updateObject(java.lang.String columnName, java.lang.Object x) throws SQLServerException- Specified by:
updateObjectin interfacejava.sql.ResultSet- Throws:
SQLServerException
-
updateRowId
public void updateRowId(int columnIndex, java.sql.RowId x) throws java.sql.SQLException- Specified by:
updateRowIdin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateRowId
public void updateRowId(java.lang.String columnLabel, java.sql.RowId x) throws java.sql.SQLException- Specified by:
updateRowIdin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateSQLXML
public void updateSQLXML(int columnIndex, java.sql.SQLXML xmlObject) throws java.sql.SQLException- Specified by:
updateSQLXMLin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateSQLXML
public void updateSQLXML(java.lang.String columnLabel, java.sql.SQLXML x) throws java.sql.SQLException- Specified by:
updateSQLXMLin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getHoldability
public int getHoldability() throws java.sql.SQLException- Specified by:
getHoldabilityin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
insertRow
public void insertRow() throws java.sql.SQLException- Specified by:
insertRowin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateRow
public void updateRow() throws java.sql.SQLException- Specified by:
updateRowin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
deleteRow
public void deleteRow() throws java.sql.SQLException- Specified by:
deleteRowin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
refreshRow
public void refreshRow() throws java.sql.SQLException- Specified by:
refreshRowin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
cancelRowUpdates
- Specified by:
cancelRowUpdatesin interfacejava.sql.ResultSet- Throws:
SQLServerException
-
moveToInsertRow
- Specified by:
moveToInsertRowin interfacejava.sql.ResultSet- Throws:
SQLServerException
-
moveToCurrentRow
- Specified by:
moveToCurrentRowin interfacejava.sql.ResultSet- Throws:
SQLServerException
-
getStatement
- Specified by:
getStatementin interfacejava.sql.ResultSet- Throws:
SQLServerException
-
updateClob
public void updateClob(int columnIndex, java.sql.Clob clobValue) throws java.sql.SQLException- Specified by:
updateClobin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateClob
public void updateClob(int columnIndex, java.io.Reader reader) throws java.sql.SQLException- Specified by:
updateClobin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateClob
public void updateClob(int columnIndex, java.io.Reader reader, long length) throws java.sql.SQLException- Specified by:
updateClobin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateClob
public void updateClob(java.lang.String columnName, java.sql.Clob clobValue) throws java.sql.SQLException- Specified by:
updateClobin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateClob
public void updateClob(java.lang.String columnLabel, java.io.Reader reader) throws java.sql.SQLException- Specified by:
updateClobin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateClob
public void updateClob(java.lang.String columnLabel, java.io.Reader reader, long length) throws java.sql.SQLException- Specified by:
updateClobin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateNClob
public void updateNClob(int columnIndex, java.sql.NClob nClob) throws java.sql.SQLException- Specified by:
updateNClobin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateNClob
public void updateNClob(int columnIndex, java.io.Reader reader) throws java.sql.SQLException- Specified by:
updateNClobin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateNClob
public void updateNClob(int columnIndex, java.io.Reader reader, long length) throws java.sql.SQLException- Specified by:
updateNClobin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateNClob
public void updateNClob(java.lang.String columnLabel, java.sql.NClob nClob) throws java.sql.SQLException- Specified by:
updateNClobin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateNClob
public void updateNClob(java.lang.String columnLabel, java.io.Reader reader) throws java.sql.SQLException- Specified by:
updateNClobin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateNClob
public void updateNClob(java.lang.String columnLabel, java.io.Reader reader, long length) throws java.sql.SQLException- Specified by:
updateNClobin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateBlob
public void updateBlob(int columnIndex, java.sql.Blob blobValue) throws java.sql.SQLException- Specified by:
updateBlobin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateBlob
public void updateBlob(int columnIndex, java.io.InputStream inputStream) throws java.sql.SQLException- Specified by:
updateBlobin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateBlob
public void updateBlob(int columnIndex, java.io.InputStream inputStream, long length) throws java.sql.SQLException- Specified by:
updateBlobin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateBlob
public void updateBlob(java.lang.String columnName, java.sql.Blob blobValue) throws java.sql.SQLException- Specified by:
updateBlobin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateBlob
public void updateBlob(java.lang.String columnLabel, java.io.InputStream inputStream) throws java.sql.SQLException- Specified by:
updateBlobin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateBlob
public void updateBlob(java.lang.String columnLabel, java.io.InputStream inputStream, long length) throws java.sql.SQLException- Specified by:
updateBlobin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateArray
public void updateArray(int columnIndex, java.sql.Array x) throws java.sql.SQLException- Specified by:
updateArrayin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateArray
public void updateArray(java.lang.String columnName, java.sql.Array x) throws java.sql.SQLException- Specified by:
updateArrayin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateRef
public void updateRef(int columnIndex, java.sql.Ref x) throws java.sql.SQLException- Specified by:
updateRefin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateRef
public void updateRef(java.lang.String columnName, java.sql.Ref x) throws java.sql.SQLException- Specified by:
updateRefin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getURL
public java.net.URL getURL(int columnIndex) throws java.sql.SQLException- Specified by:
getURLin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getURL
public java.net.URL getURL(java.lang.String sColumn) throws java.sql.SQLException- Specified by:
getURLin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateObject
public void updateObject(int index, java.lang.Object obj, java.sql.SQLType targetSqlType) throws SQLServerException- Specified by:
updateObjectin interfacejava.sql.ResultSet- Throws:
SQLServerException
-
updateObject
public void updateObject(int index, java.lang.Object obj, java.sql.SQLType targetSqlType, int scale) throws SQLServerException- Specified by:
updateObjectin interfacejava.sql.ResultSet- Throws:
SQLServerException
-
updateObject
public void updateObject(int index, java.lang.Object obj, java.sql.SQLType targetSqlType, int scale, boolean forceEncrypt) throws SQLServerExceptionDescription copied from interface:ISQLServerResultSetUpdates the designated column with an 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. If the second argument is an InputStream then the stream must contain the number of bytes specified by scaleOrLength. If the second argument is a Reader then the reader must contain the number of characters specified by scaleOrLength. If these conditions are not true the driver will generate a SQLServerException when the statement is executed. The default implementation will throw SQLFeatureNotSupportedException- Specified by:
updateObjectin interfaceISQLServerResultSet- Parameters:
index- the first column is 1, the second is 2, ...obj- the new column valuetargetSqlType- the SQL type to be sent to the databasescale- for an object of java.math.BigDecimal , this is the number of digits after the decimal point. For Java Object types InputStream and Reader, this is the length of the data in the stream or reader. For all other types, this value will be ignored.forceEncrypt- If the boolean forceEncrypt is set to true, the query parameter will only be set if the designation column is encrypted and Always Encrypted is enabled on the connection or on the statement.If the boolean forceEncrypt is set to false, the driver will not force encryption on parameters.- Throws:
SQLServerException- If any errors occur.
-
updateObject
public void updateObject(java.lang.String columnName, java.lang.Object obj, java.sql.SQLType targetSqlType, int scale) throws SQLServerException- Specified by:
updateObjectin interfacejava.sql.ResultSet- Throws:
SQLServerException
-
updateObject
public void updateObject(java.lang.String columnName, java.lang.Object obj, java.sql.SQLType targetSqlType, int scale, boolean forceEncrypt) throws SQLServerExceptionDescription copied from interface:ISQLServerResultSetUpdates the designated column with an 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. If the second argument is an InputStream then the stream must contain the number of bytes specified by scaleOrLength. If the second argument is a Reader then the reader must contain the number of characters specified by scaleOrLength. If these conditions are not true the driver will generate a SQLServerException when the statement is executed. The default implementation will throw SQLFeatureNotSupportedException.- Specified by:
updateObjectin interfaceISQLServerResultSet- Parameters:
columnName- the label for the column specified with the SQL AS clause. If the SQL AS clause was not specified, then the label is the name of the columnobj- the new column valuetargetSqlType- the SQL type to be sent to the databasescale- for an object of java.math.BigDecimal , this is the number of digits after the decimal point. For Java Object types InputStream and Reader, this is the length of the data in the stream or reader. For all other types, this value will be ignored.forceEncrypt- If the boolean forceEncrypt is set to true, the query parameter will only be set if the designation column is encrypted and Always Encrypted is enabled on the connection or on the statement.If the boolean forceEncrypt is set to false, the driver will not force encryption on parameters.- Throws:
SQLServerException- If any errors occur.
-
updateObject
public void updateObject(java.lang.String columnName, java.lang.Object obj, java.sql.SQLType targetSqlType) throws SQLServerException- Specified by:
updateObjectin interfacejava.sql.ResultSet- Throws:
SQLServerException
-