Method setBoolean(int parameterIndex, boolean 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.setBoolean(1, true);
2 ps.setBoolean(1, true);
3 ps.setBoolean(3, true);
4 ps.setBoolean(3, true);
5 p.setBoolean(3, true);
6 p.setBoolean(3, false);
7 stmt.setBoolean(5, nullable);
8 stmt.setBoolean(4, unique);
9 ps.setBoolean(index, ((Boolean) value).booleanValue());
10 public void setBoolean(int parameterIndex, boolean x) throws SQLException { _stmt.setBoolean( parameterIndex, x); }
11 prepStmtPassthru.setBoolean(p0,p1);
12 preparedStatement.setBoolean(parameterIndex, x);
13 m_pstmt.setBoolean (parameterIndex, x);
14 delegate_.setBoolean( parameterIndex, x );
15 _ps.setBoolean(_ind, field.booleanValue());
16 preparedStatement.setBoolean(position, ((java.lang.Boolean) value).booleanValue());
17 callableStatement.setBoolean(i + 2, ((Boolean) p_parameters[i]).booleanValue());
18 stmt.setBoolean(i++, ((Boolean) o).booleanValue());
19 ps.setBoolean(index, ((Boolean) value).booleanValue());
20 statement.setBoolean(count, row.getBooleanColumn(column));
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.