Class DbAction.Update<T>
java.lang.Object
org.springframework.data.relational.core.conversion.DbAction.Update<T>
- Type Parameters:
T
- type of the entity for which this represents a database interaction.
- All Implemented Interfaces:
DbAction<T>
,DbAction.WithEntity<T>
Represents an update statement for a single entity that is not the root of an aggregate.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.springframework.data.relational.core.conversion.DbAction
DbAction.AcquireLockAllRoot<T>, DbAction.AcquireLockRoot<T>, DbAction.Delete<T>, DbAction.DeleteAll<T>, DbAction.DeleteAllRoot<T>, DbAction.DeleteRoot<T>, DbAction.Insert<T>, DbAction.InsertBatch<T>, DbAction.InsertRoot<T>, DbAction.Update<T>, DbAction.UpdateRoot<T>, DbAction.WithDependingOn<T>, DbAction.WithEntity<T>, DbAction.WithGeneratedId<T>, DbAction.WithPropertyPath<T>
-
Constructor Summary
ConstructorDescriptionUpdate
(T entity, PersistentPropertyPath<RelationalPersistentProperty> propertyPath) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.springframework.data.relational.core.conversion.DbAction.WithEntity
getEntityType
-
Constructor Details
-
Update
-
-
Method Details
-
getEntity
- Specified by:
getEntity
in interfaceDbAction.WithEntity<T>
- Returns:
- the entity to persist. Guaranteed to be not
null
.
-
getPropertyPath
-
toString
-