Annotation Type Tsid
The
@Tsid annotation can be added to entity identifiers or other fields,
indicating that the value will be assigned a time-sorted TSID automatically.
On identifier fields, TsidGenerator is used for value generation.
On non-identifier fields, TsidValueGenerator is used.
@Tsid annotation to annotate Long, String,
or TSID fields, including entity identifiers and general columns.- Author:
- Vlad Mihalcea
-
Nested Class Summary
Nested Classes -
Optional Element Summary
Optional Elements
-
Element Details
-
value
Specify the class that can provide the customTSID.Factory. By default, theTsid.FactorySupplieris used.- Returns:
- the
TSID.Factorysupplier.
- Default:
- io.hypersistence.utils.hibernate.id.Tsid.FactorySupplier.class
-