Method setBytes(int parameterIndex, byte[] x)
Return type: void
Member of: java.sql.PreparedStatement
[api documentation ] [ main menu]

Examples of how the element is used (one line per example):
[add your own example]

1 ps.setBytes(1, content);
2 ps.setBytes(1, baos.toByteArray());
3 ps.setBytes(2, baos.toByteArray());
4 pstmt.setBytes(3, docData);
5 ps.setBytes(3, data.getBytes());
6 public void setBytes(int parameterIndex, byte[] x) throws SQLException { _stmt.setBytes( parameterIndex, x); }
7 _cs.setBytes(p1, p2);
8 prepStmtPassthru.setBytes(p0,p1);
9 preparedStatement.setBytes(parameterIndex, x);
10 p.setBytes(4, b1);
11 m_pstmt.setBytes (parameterIndex, x);
12 delegate_.setBytes( parameterIndex, x );
13 ps.setBytes(index, buf);
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.