Re: more setNull issues

2005-02-08 Thread Daniel John Debrunner
Jeremiah Jahn wrote: Thoughts on this one? This follows the examples given in the replies exactly. if (currentIteration %2 == 0){ insertPreparedStatement.setTimestamp(5,new Timestamp(new Date().getTime())); } else { insertPreparedStatement.setNull(5,Types.TIMESTAMP); <-proble

more setNull issues

2005-02-08 Thread Jeremiah Jahn
Thoughts on this one? This follows the examples given in the replies exactly. if (currentIteration %2 == 0){ insertPreparedStatement.setTimestamp(5,new Timestamp(new Date().getTime())); } else { insertPreparedStatement.setNull(5,Types.TIMESTAMP); <-problem code } java.sql.Ba