Package io.jmix.core.entity.annotation
Annotation Interface JmixGeneratedValue
Indicates an entity attribute that must be assigned by the framework right after creating an entity instance.
 
 The annotated attribute must be of Long, Integer or UUID type.
 
 Entity cannot have more than one UUID attribute marked with this annotation.
- 
Optional Element SummaryOptional ElementsModifier and TypeOptional ElementDescriptionbooleanIf this attribute is true and thesequenceName()is set, the sequence will be incremented byjmix.data.numberIdCacheSizeto cache intermediate values in memory.Defines an existing database sequence name to use for number generation.
- 
Element Details- 
sequenceNameString sequenceNameDefines an existing database sequence name to use for number generation.- Default:
- ""
 
- 
sequenceCacheboolean sequenceCacheIf this attribute is true and thesequenceName()is set, the sequence will be incremented byjmix.data.numberIdCacheSizeto cache intermediate values in memory.- Default:
- false
 
 
-