@@ -177,48 +177,6 @@ public String toString() {
177
177
}
178
178
}
179
179
180
- /**
181
- * Represents a merge statement for a single entity that is not the root of an aggregate.
182
- *
183
- * @param <T> type of the entity for which this represents a database interaction.
184
- */
185
- final class Merge <T > implements WithDependingOn <T >, WithPropertyPath <T > {
186
-
187
- private final T entity ;
188
- private final PersistentPropertyPath <RelationalPersistentProperty > propertyPath ;
189
- private final WithEntity <?> dependingOn ;
190
-
191
- private final Map <PersistentPropertyPath <RelationalPersistentProperty >, Object > qualifiers = Collections .emptyMap ();
192
-
193
- public Merge (T entity , PersistentPropertyPath <RelationalPersistentProperty > propertyPath ,
194
- WithEntity <?> dependingOn ) {
195
- this .entity = entity ;
196
- this .propertyPath = propertyPath ;
197
- this .dependingOn = dependingOn ;
198
- }
199
-
200
- public T getEntity () {
201
- return this .entity ;
202
- }
203
-
204
- public PersistentPropertyPath <RelationalPersistentProperty > getPropertyPath () {
205
- return this .propertyPath ;
206
- }
207
-
208
- public DbAction .WithEntity <?> getDependingOn () {
209
- return this .dependingOn ;
210
- }
211
-
212
- public Map <PersistentPropertyPath <RelationalPersistentProperty >, Object > getQualifiers () {
213
- return this .qualifiers ;
214
- }
215
-
216
- public String toString () {
217
- return "DbAction.Merge(entity=" + this .getEntity () + ", propertyPath=" + this .getPropertyPath () + ", dependingOn="
218
- + this .getDependingOn () + ", qualifiers=" + this .getQualifiers () + ")" ;
219
- }
220
- }
221
-
222
180
/**
223
181
* Represents a delete statement for all entities that that a reachable via a give path from the aggregate root.
224
182
*
0 commit comments