updateBinaryStream 方法 (int, java.io.InputStream)
使用二进制流值更新指定列。
语法
public void updateBinaryStream(int columnIndex,
java.io.InputStream x)
parameters
columnIndex
指示列索引的 int 。
x
InputStream 对象。
例外
备注
此 updateBinaryStream 方法是由 java.sql.ResultSet 接口中的 updateBinaryStream 方法指定的。
将此方法应用于 image、text 和 ntextSQL Server 数据类型可能会影响性能。
此方法将来自 InputStream 对象的字节传递给所选的 SQL Server 二进制列,例如 binary、varbinary、varbinary(max)、image、xml 和 udt。 此方法不支持更新字符列。 若要使用 InputStream 更新字符列,请使用 updateAsciiStream 方法。
另请参阅
updateBinaryStream 方法 (SQLServerResultSet)
SQLServerResultSet 成员
SQLServerResultSet 类