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