Class DbAction.UpsertRoot<T>

java.lang.Object
org.springframework.data.relational.core.conversion.DbAction.UpsertRoot<T>
Type Parameters:
T - type of the entity for which this represents a database interaction.
All Implemented Interfaces:
DbAction<T>, DbAction.WithEntity<T>, DbAction.WithRoot<T>
Enclosing interface:
DbAction<T>

public static class DbAction.UpsertRoot<T> extends Object implements DbAction.WithRoot<T>
Represents an upsert statement for the aggregate root. The entity must carry a provided id since upsert requires a known identity to determine whether to insert or update.
Since:
4.1
Author:
Christoph Strobl