code: private void addModifiedObjectsToEntityManager(List<JPAObject> modified, Long timestamp) {
          for (JPAObject update : modified) {
              update.setTimestamp(timestamp);
              entityManager.persist(update);
          }
      }
docs: Updates all modified EDBObjects with the timestamp and persist them through the entity manager.