try (GigiPreparedStatement stmt = new GigiPreparedStatement("UPDATE `emailPinglog` SET `status`='success'::`pingState`, `when` = (now() - interval '1 months' * ?::INTEGER) WHERE `email`=? ")) {
stmt.setInt(1, TimeConditions.getInstance().getEmailPingMonths());
stmt.setString(2, furtherEmail);
try (GigiPreparedStatement stmt = new GigiPreparedStatement("UPDATE `emailPinglog` SET `status`='success'::`pingState`, `when` = (now() - interval '1 months' * ?::INTEGER) WHERE `email`=? ")) {
stmt.setInt(1, TimeConditions.getInstance().getEmailPingMonths());
stmt.setString(2, furtherEmail);