" SET conv_id = ? WHERE " + (DebugConfig.enableMailboxGroup ? "mailbox_id = ? AND " : "") + "conv_id = ?");
" SET conv_id = ? WHERE " + IN_THIS_MAILBOX_AND + "conv_id = ?");
    public static void changeOpenTarget(MailItem oldTarget, MailItem newTarget) throws ServiceException {        Connection conn = oldTarget.getMailbox().getOperationConnection();        PreparedStatement stmt = null;        try {            stmt = conn.prepareStatement("UPDATE " + getConversationTableName(oldTarget.getMailboxId()) +                " SET conv_id = ? WHERE " +                (DebugConfig.enableMailboxGroup ? "mailbox_id = ? AND " : "") +                "conv_id = ?");            int pos = 1;            stmt.setInt(pos++, newTarget.getId());            if (DebugConfig.enableMailboxGroup)                stmt.setInt(pos++, oldTarget.getMailboxId());            stmt.setInt(pos++, oldTarget.getId());            stmt.executeUpdate();        } catch (SQLException e) {            throw ServiceException.FAILURE("switching open conversation association for item " + oldTarget.getId(), e);        } finally {            DbPool.closeStatement(stmt);        }    }