Package io.jmix.data.impl
Class NumberIdWorker
java.lang.Object
io.jmix.data.impl.NumberIdWorker
Generates ids for entities with long/integer PK using database sequences.
-
Field Summary
Modifier and TypeFieldDescriptionprotected DataProperties
protected Metadata
protected MetadataTools
protected Sequences
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreateCachedLongId
(String entityName, String sequenceName) createLongId
(String entityName, String sequenceName) protected String
getDataStore
(String entityName) protected String
getSequenceName
(String entityName, String sequenceName) void
reset()
INTERNAL.
-
Field Details
-
metadata
-
metadataTools
-
sequences
-
dataProperties
-
-
Constructor Details
-
NumberIdWorker
public NumberIdWorker()
-
-
Method Details
-
createLongId
-
createCachedLongId
-
reset
public void reset()INTERNAL. Used by tests. -
getDataStore
-
getSequenceName
-