DotConnect dc = new DotConnect();
dc.setSQL(sql);
dc.addParam(REINDEX_JOURNAL_PRIORITY_CONTENT_REINDEX);
dc.addParam(REINDEX_ACTION_REINDEX_OBJECT);
dc.addParam(host.getIdentifier());
dc.loadResult();
// https://github.com/dotCMS/dotCMS/issues/2229
sql = " INSERT INTO dist_reindex_journal(inode_to_index,ident_to_index,priority,dist_action) "+
" SELECT asset_id, asset_id, ?, ? " +
" FROM permission_reference "+