Revert "EntityDao::saveAllTypes() flushes entity manager"

This reverts commit 6de551f2ad630368679b9a3519b5f5f1433ea010.