* Updates all deleted objects with the timestamp, mark them as deleted and persist them through the entity manager.
*/
private void updateDeletedObjectsThroughEntityManager(List<String> oids, Long timestamp) {
for (String id : oids) {
EDBObject o = new EDBObject(id);
o.updateTimestamp(timestamp);
o.setDeleted(true);
JPAObject j = EDBUtils.convertEDBObjectToJPAObject(o);
entityManager.persist(j);
}
}