Method setNull(int parameterIndex, int sqlType)
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
mockCallable.setNull(1, Types.VARCHAR);
2
cstmt.setNull(5, Types.INTEGER); // C_AcctSchema_ID
3
ps.setNull(1, Types.VARCHAR);
4
stmt.setNull(7, Types.LONGVARCHAR);
5
ps.setNull(index, sqlType);
6
public void setNull(int parameterIndex, int sqlType) throws SQLException { _stmt.setNull( parameterIndex, sqlType); }
7
_cs.setNull(p1, p2);
8
prepStmtPassthru.setNull(p0,p1);
9
cstmt.setNull(6, Types.NUMERIC);
10
preparedStatement.setNull(parameterIndex, sqlType);
11
p.setNull(6, Types.DATE);
12
statement.setNull(index, Types.VARCHAR);
13
stmt.setNull(stmtNumber, 0);
14
ps.setNull(index, type);
15
ps.setNull(position, Types.INTEGER);
16
delegate_.setNull( parameterIndex, sqlType );
17
_ps.setNull(_ind, Types.VARCHAR);
18
pst.setNull(i+1, table.types[i]);
19
preparedStatement.setNull(position, type);
20
stmt.setNull(i + 1, Types.OTHER);
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.