Uses of Enum Class
org.springframework.data.relational.core.conversion.IdValueSource
Packages that use 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)