ModifyFuture<ProjectEntity> projectPersistFuture = session.insertAsync(project);
ModifyFuture<AggregatorModuleEntity> parentModulePersistFuture = session.insertAsync(parentModule);
ModifyFuture<CodeModuleEntity> moduleCorePersistFuture = session.insertAsync(moduleCore);
ModifyFuture<CodeModuleEntity> moduleDemoPersistFuture = session.insertAsync(moduleDemo);
ModifyFuture<CodeModuleEntity> moduleTestPersistFuture = session.insertAsync(moduleTest);
ListenableFuture<List<Object>> combinedFuture =
Futures.allAsList(projectPersistFuture, parentModulePersistFuture,
moduleCorePersistFuture, moduleDemoPersistFuture, moduleTestPersistFuture);
Uninterruptibles.getUninterruptibly(combinedFuture);