Method setTimestamp(int parameterIndex, Timestamp 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.setTimestamp(3, new Timestamp(finishDate.getTime()));
2 cstmt.setTimestamp(3, p_vo.DateAcct);
3 pstat.setTimestamp(2,getCurrentTimestamp());
4 pstmt.setTimestamp(1, TS1WTZ);
5 pstmt.setTimestamp(1, TS1WOTZ);
6 pstat.setTimestamp(2,getCurrentTimestamp());
7 statement.setTimestamp( 1, timeStamp );
8 stmt.setTimestamp(5, new Timestamp(startDate.getTime()));
9 cstmt.setTimestamp(4, ConvDate); // ConvDate IN DATE
10 ps.setTimestamp(2, createDate);
11 ps.setTimestamp(2, new Timestamp(date.getTime()));
12 stmt.setTimestamp(1, new Timestamp(message.time));
13 public void setTimestamp(int parameterIndex, Timestamp x) throws SQLException { _stmt.setTimestamp( parameterIndex, x); }
14 prepStmtPassthru.setTimestamp(p0,p1);
15 ps.setTimestamp(
16 statement.setTimestamp(index, _timestamp);
17 preparedStatement.setTimestamp(parameterIndex, x);
18 ps.setTimestamp(position, sqlTimestamp);
19 delegate_.setTimestamp( parameterIndex, x );
20 _ps.setTimestamp(_ind, field);
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.