code: public void setTimestamp(final int parameterIndex, final Timestamp x) throws SQLException {
          if(x == null) {
              setNull(parameterIndex, Types.TIMESTAMP);
              return;
          }
  
  
          setParameter(parameterIndex, new TimestampParameter(x.getTime()));
      }
docs: Sets the designated parameter to the given <code>java.sql.Timestamp</code> value. The driver converts this to an
  SQL <code>TIMESTAMP</code> value when it sends it to the database.
  
  @param parameterIndex the first parameter is 1, the second is 2, ...
  @param x              the parameter value
  @throws java.sql.SQLException if parameterIndex does not correspond to a parameter marker in the SQL statement;
  if a database access error occurs or this method is called on a closed
  <code>PreparedStatement</code>