Method setLong(int parameterIndex, long 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 storeDelta.setLong(3, System.currentTimeMillis());
2 ps.setLong(2, checkInTime);
3 statement.setLong(1,artistId);
4 statement.setLong(1,this.getId());
5 ps.setLong(4, time);
6 ps.setLong(1, entry.getId());
7 ps.setLong(1, value);
8 stmt.setLong(1, theEntryId);
9 ps.setLong(2, fileSize);
10 pstmt.setLong(1, id);
11 ps.setLong(5, l.longValue());
12 ps.setLong(index, ((Long) value).longValue());
13 public void setLong(int parameterIndex, long x) throws SQLException { _stmt.setLong( parameterIndex, x); }
14 _cs.setLong(p1, p2);
15 prepStmtPassthru.setLong(p0,p1);
16 statement.setLong(index, _value);
17 ps.setLong(position, value);
18 preparedStatement.setLong(parameterIndex, x);
19 ps.setLong(3, java.lang.Long.MAX_VALUE);
20 m_pstmt.setLong (parameterIndex, x);
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.