//call PostPersist on all involved entities (including the entity)
for (Map.Entry<Object, DBObject> e : involvedObjects.entrySet()) {
Object ent = e.getKey();
DBObject dbO = e.getValue();
MappedClass mc = mapr.getMappedClass(ent);
mc.callLifecycleMethods(PostPersist.class, ent, dbO, mapr);
}
}
/**
* @param query