Properly emit domain events from calls to saveAll(…).
We now treat CrudRepository.saveAll(…) properly by unwrapping the given *Iterable*. This previously already worked for collections handed into the method but not for types only implementing Iterable directly (like Page or Window).
Fixes#3153.
Related tickets #2931, #2927.
@ -54,7 +54,15 @@ public class EventPublishingRepositoryProxyPostProcessor implements RepositoryPr
@@ -54,7 +54,15 @@ public class EventPublishingRepositoryProxyPostProcessor implements RepositoryPr
Assert.notNull(publisher,"Object must not be null");
this.publisher=publisher;
}
@ -103,9 +111,9 @@ public class EventPublishingRepositoryProxyPostProcessor implements RepositoryPr
@@ -103,9 +111,9 @@ public class EventPublishingRepositoryProxyPostProcessor implements RepositoryPr
@ -177,22 +185,18 @@ public class EventPublishingRepositoryProxyPostProcessor implements RepositoryPr
@@ -177,22 +185,18 @@ public class EventPublishingRepositoryProxyPostProcessor implements RepositoryPr
@ -261,6 +265,8 @@ public class EventPublishingRepositoryProxyPostProcessor implements RepositoryPr
@@ -261,6 +265,8 @@ public class EventPublishingRepositoryProxyPostProcessor implements RepositoryPr
@ -269,17 +275,20 @@ public class EventPublishingRepositoryProxyPostProcessor implements RepositoryPr
@@ -269,17 +275,20 @@ public class EventPublishingRepositoryProxyPostProcessor implements RepositoryPr