Method setInt(int parameterIndex, int 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 call.setInt (2, 4);
2 pstat.setInt(1,1);
3 selp.setInt(1, 1000000);
4 pstmt.setInt(1,2);
5 ps.setInt(2,6);
6 cleanDeltas.setInt(1, cleanupNumbers.first);
7 ps.setInt(position, value ? 1 : 0);
8 stmt.setInt(1, oid);
9 pstmt.setInt(1, result);
10 ps.setInt(1,dbid);
11 ps.setInt(1, nextThreadMsgNo);
12 pstmt.setInt(1, parameter);
13 stmt.setInt(4, scope);
14 preparedStatement.setInt(position, b.booleanValue() ? 1 : 0);
15 selp.setInt(2, key);
16 ps.setInt(3, trigger.getRepeatCount());
17 pstat.setInt(1,memberID);
18 insertIdStatement.setInt(4, initialValue);
19 stmt.setInt(1,liParent);
20 statement.setInt(6,inheritable);
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.