다음을 통해 공유


setBinaryStream Method (SQLServerBlob)

Retrieves a stream that can be used to write to the BLOB value.

public java.io.OutputStream setBinaryStream(long pos)

매개 변수

Pos

The position in the BLOB value at which to start writing)

반환 값

An output stream.

예외

java.sql.SQLException

주의

This setBinaryStream method is specified by the setBinaryStream method in the java.sql.Blob interface.

Data in the BLOB is overwritten by the output stream starting at the specified position and can over-run the initial length of the BLOB. Specifying a position+1 value will append bytes. Passing a position+2 or greater (or zero or less) value will cause a position error to be thrown.

참고

참조

SQLServerBlob Class

개념

SQLServerBlob Methods
SQLServerBlob Members