Uses of Enum Class
org.springframework.data.relational.core.conversion.IdValueSource
Package
Description
JDBC-specific conversion classes.
-
Uses of IdValueSource in org.springframework.data.jdbc.core.convert
Modifier and TypeMethodDescription<T> Object[]
CascadingDataAccessStrategy.insert
(List<InsertSubject<T>> insertSubjects, Class<T> domainType, IdValueSource idValueSource) <T> Object
CascadingDataAccessStrategy.insert
(T instance, Class<T> domainType, Identifier identifier, IdValueSource idValueSource) <T> Object[]
DataAccessStrategy.insert
(List<InsertSubject<T>> insertSubjects, Class<T> domainType, IdValueSource idValueSource) Inserts the data of multiple entities.<T> Object
DataAccessStrategy.insert
(T instance, Class<T> domainType, Identifier identifier, IdValueSource idValueSource) Inserts the data of a single entity.<T> Object[]
DefaultDataAccessStrategy.insert
(List<InsertSubject<T>> insertSubjects, Class<T> domainType, IdValueSource idValueSource) <T> Object
DefaultDataAccessStrategy.insert
(T instance, Class<T> domainType, Identifier identifier, IdValueSource idValueSource) <T> Object[]
DelegatingDataAccessStrategy.insert
(List<InsertSubject<T>> insertSubjects, Class<T> domainType, IdValueSource idValueSource) <T> Object
DelegatingDataAccessStrategy.insert
(T instance, Class<T> domainType, Identifier identifier, IdValueSource idValueSource) -
Uses of IdValueSource in org.springframework.data.jdbc.mybatis
Modifier and TypeMethodDescription<T> Object[]
MyBatisDataAccessStrategy.insert
(List<InsertSubject<T>> insertSubjects, Class<T> domainType, IdValueSource idValueSource) <T> Object
MyBatisDataAccessStrategy.insert
(T instance, Class<T> domainType, Identifier identifier, IdValueSource idValueSource) -
Uses of IdValueSource in org.springframework.data.relational.core.conversion
Modifier and TypeMethodDescriptionstatic <T> IdValueSource
IdValueSource.forInstance
(Object instance, RelationalPersistentEntity<T> persistentEntity) Returns the appropriateIdValueSource
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, andGENERATED
otherwise.DbAction.Insert.getIdValueSource()
DbAction.InsertRoot.getIdValueSource()
DbAction.UpdateRoot.getIdValueSource()
DbAction.WithEntity.getIdValueSource()
static IdValueSource
Returns the enum constant of this class with the specified name.static IdValueSource[]
IdValueSource.values()
Returns an array containing the constants of this enum class, in the order they are declared.ModifierConstructorDescriptionInsert
(T entity, PersistentPropertyPath<RelationalPersistentProperty> propertyPath, DbAction.WithEntity<?> dependingOn, Map<PersistentPropertyPath<RelationalPersistentProperty>, Object> qualifiers, IdValueSource idValueSource) InsertRoot
(T entity, IdValueSource idValueSource)