Class RelationalEntityUpsertWriter<T>

java.lang.Object
org.springframework.data.relational.core.conversion.RelationalEntityUpsertWriter<T>
All Implemented Interfaces:
EntityWriter<T, RootAggregateChange<T>>

public class RelationalEntityUpsertWriter<T> extends Object implements EntityWriter<T, RootAggregateChange<T>>
Converts an aggregate represented by its root into a RootAggregateChange for an upsert operation. Always emits a DbAction.UpsertRoot as the root action regardless of whether the entity is new or existing, followed by delete and insert actions for any referenced entities.
Since:
4.1
Author:
Christoph Strobl