@Target(value=FIELD)
@Retention(value=RUNTIME)
public @interface JmixGeneratedValue
The annotated attribute must be of Long
, Integer
or UUID
type.
Entity cannot have more than one UUID
attribute marked with this annotation.
Modifier and Type | Optional Element and Description |
---|---|
boolean |
sequenceCache
If this attribute is true and the
sequenceName() is set, the sequence will be incremented
by jmix.data.numberIdCacheSize to cache intermediate values in memory. |
java.lang.String |
sequenceName
Defines an existing database sequence name to use for number generation.
|
public abstract java.lang.String sequenceName
public abstract boolean sequenceCache
sequenceName()
is set, the sequence will be incremented
by jmix.data.numberIdCacheSize
to cache intermediate values in memory.