opencirclesolutions-wove commented on code in PR #2412: URL: https://github.com/apache/causeway/pull/2412#discussion_r1608146100
########## api/applib/src/main/java/org/apache/causeway/applib/services/repository/RepositoryService.java: ########## @@ -84,6 +84,14 @@ public interface RepositoryService { */ <T> T detachedEntity(@NonNull T entity); + /** + * Suspends flushing transaction for {@param aClass} instances until the {@param bulkMode} is turned off again. + * <p> + * Usage should be wrapped in a try {} finally {} construction. + * + */ + <T extends Class> void setBulkMode(final T aClass, final Boolean bulkMode); Review Comment: Fixed ########## core/runtimeservices/src/main/java/org/apache/causeway/core/runtimeservices/publish/EntityPropertyChangePublisherDefault.java: ########## @@ -66,6 +67,9 @@ public class EntityPropertyChangePublisherDefault implements EntityPropertyChang private Can<EntityPropertyChangeSubscriber> enabledSubscribers = Can.empty(); + @Value("${entity.property.change.publisher.bulk.threshold:1}") Review Comment: Fixed -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@causeway.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org