| Package | Description |
|---|---|
| org.springframework.data.relational.core.conversion |
| Modifier and Type | Method and Description |
|---|---|
static <T> IdValueSource |
IdValueSource.forInstance(Object instance,
RelationalPersistentEntity<T> persistentEntity)
Returns the appropriate
IdValueSource for the instance: NONE when the entity has no
id property, PROVIDED when the value of the id property is not null and when it is a
primitive type, not zero, and GENERATED otherwise. |
IdValueSource |
DbAction.Insert.getIdValueSource() |
IdValueSource |
DbAction.InsertRoot.getIdValueSource() |
IdValueSource |
DbAction.InsertBatch.getIdValueSource() |
static IdValueSource |
IdValueSource.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static IdValueSource[] |
IdValueSource.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
void |
DbAction.InsertRoot.updateAction(T newAggregateRoot,
IdValueSource idValueSource)
Deprecated.
This method exists only to support a temporary workaround. It will be removed completely without
replacement.
|
| Constructor and Description |
|---|
Insert(T entity,
org.springframework.data.mapping.PersistentPropertyPath<RelationalPersistentProperty> propertyPath,
DbAction.WithEntity<?> dependingOn,
Map<org.springframework.data.mapping.PersistentPropertyPath<RelationalPersistentProperty>,Object> qualifiers,
IdValueSource idValueSource) |
InsertBatch(List<DbAction.Insert<T>> inserts,
IdValueSource idValueSource) |
InsertRoot(T entity,
IdValueSource idValueSource) |
Copyright © 2017–2023 Pivotal Software, Inc.. All rights reserved.