Uses of Enum Class
org.springframework.data.relational.core.conversion.IdValueSource
Packages that use IdValueSource
Package
Description
JDBC-specific conversion classes.
-
Uses of IdValueSource in org.springframework.data.jdbc.core.convert
Methods in org.springframework.data.jdbc.core.convert with parameters of type IdValueSourceModifier 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
Methods in org.springframework.data.jdbc.mybatis with parameters of type IdValueSourceModifier 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
Methods in org.springframework.data.relational.core.conversion that return IdValueSourceModifier 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.InsertBatch.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.Constructors in org.springframework.data.relational.core.conversion with parameters of type IdValueSourceModifierConstructorDescriptionInsert
(T entity, PersistentPropertyPath<RelationalPersistentProperty> propertyPath, DbAction.WithEntity<?> dependingOn, Map<PersistentPropertyPath<RelationalPersistentProperty>, Object> qualifiers, IdValueSource idValueSource) InsertBatch
(List<DbAction.Insert<T>> inserts, IdValueSource idValueSource) InsertRoot
(T entity, IdValueSource idValueSource)