Package org.springframework.data.annotation
@NonNullApi
package org.springframework.data.annotation
Core annotations being used by Spring Data.
-
ClassDescriptionAnnotation to define how Spring Data shall access values of persistent properties.Declares a field as the one representing the principal that created the entity containing the field.Declares a field as the one representing the date the entity containing the field was created.Demarcates an identifier.Annotation for persistent entities to indicate the class is designed in immutable way.Declares a field as the one representing the principal that recently modified the entity containing the field.Declares a field as the one representing the date the entity containing the field was recently modified.Deprecated, for removal: This API element is subject to removal in a future version.Marker annotation to declare a constructor or factory method annotation as factory/preferred constructor annotation.Annotation to generally identify persistent types, fields and parameters.Meta-Annotation to mark a store specific annotation as a query annotation.Marks a field to be read-only for the mapping framework and therefore will not be persisted.Meta-annotation to be used to annotate annotations that mark references to other objects.Marks a field to be transient for the mapping framework.Annotation to allow
String
based type aliases to be used when writing type information forPersistentEntity
s.Demarcates a property to be used as version field to implement optimistic locking on entities.
PersistenceCreator
since 3.0, to be removed in 3.1