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> ObjectCascadingDataAccessStrategy.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> ObjectDataAccessStrategy.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> ObjectDefaultDataAccessStrategy.insert(T instance, Class<T> domainType, Identifier identifier, IdValueSource idValueSource) <T> Object[]DelegatingDataAccessStrategy.insert(List<InsertSubject<T>> insertSubjects, Class<T> domainType, IdValueSource idValueSource) <T> ObjectDelegatingDataAccessStrategy.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> ObjectMyBatisDataAccessStrategy.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> IdValueSourceIdValueSource.forInstance(Object instance, RelationalPersistentEntity<T> persistentEntity) Returns the appropriateIdValueSourcefor the instance:NONEwhen the entity has no id property,PROVIDEDwhen the value of the id property is not null and when it is a primitive type, not zero, andGENERATEDotherwise.DbAction.Insert.getIdValueSource()DbAction.InsertRoot.getIdValueSource()DbAction.UpdateRoot.getIdValueSource()DbAction.WithEntity.getIdValueSource()static IdValueSourceReturns 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) InsertRoot(T entity, IdValueSource idValueSource)