setBinaryStream Method (SQLServerCallableStatement)
Sets the designated parameter to the given input stream, which will have the specified number of bytes.
public void setBinaryStream(java.lang.String sCol,
java.io.InputStream is,
int n)
매개 변수
sCol
A String that contains the name of the parameter.
is
An InputStream object.
n
An int that indicates the length in number of bytes.
예외
주의
This setBinaryStream method is specified by the setBinaryStream method in the java.sql.CallableStatement interface.
When the length (n) is set to -1, a stream is allowed, but a specific length is not required. If the InputStream passes a stream of a different length than what is specified, the JDBC driver will stop the update while it tries to preserve the connection and the current transaction.
참고 항목
참조
SQLServerCallableStatement Class
개념
SQLServerCallableStatement Methods
SQLServerCallableStatement Members