|
|
|
|
@ -16,12 +16,9 @@
@@ -16,12 +16,9 @@
|
|
|
|
|
package org.springframework.data.relational.core.conversion; |
|
|
|
|
|
|
|
|
|
import java.util.ArrayList; |
|
|
|
|
import java.util.Comparator; |
|
|
|
|
import java.util.List; |
|
|
|
|
import java.util.function.Consumer; |
|
|
|
|
|
|
|
|
|
import org.springframework.data.mapping.PersistentPropertyPath; |
|
|
|
|
import org.springframework.data.relational.core.mapping.RelationalPersistentProperty; |
|
|
|
|
import org.springframework.util.Assert; |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
@ -35,9 +32,6 @@ import org.springframework.util.Assert;
@@ -35,9 +32,6 @@ import org.springframework.util.Assert;
|
|
|
|
|
*/ |
|
|
|
|
public class SaveBatchingAggregateChange<T> implements BatchingAggregateChange<T, RootAggregateChange<T>> { |
|
|
|
|
|
|
|
|
|
private static final Comparator<PersistentPropertyPath<RelationalPersistentProperty>> pathLengthComparator = //
|
|
|
|
|
Comparator.comparing(PersistentPropertyPath::getLength); |
|
|
|
|
|
|
|
|
|
private final Class<T> entityType; |
|
|
|
|
private final List<DbAction<?>> rootActions = new ArrayList<>(); |
|
|
|
|
/** |
|
|
|
|
|