| Annotation Type | Description |
|---|---|
| CodecToBeUsed | |
| Discriminator |
If you want to choose your discriminator manually you can annotate your pojo classes with this annotation.
|
| DiscriminatorFallback |
This annotation can be used to decode objects from the database that do not provide a discriminator.
|
| DiscriminatorKey |
A discriminator key is useful if you want to control the property name for which the discriminator is persisted.
|
| FieldMapping |
An entity class that implements
SpecialFieldsMap can have methods
that define the value being encoded/decoded by their return type. |
| Id |
Use this annotation to mark the id field.
|
| LockingVersion | |
| Polymorphic |
Use this annotation at classes that you want to declare as polymorphic
This is especially useful if at present only one single base class is yet defined for your desired hierarchy
|
| PostLoad | |
| PreSave | |
| Transient |
Copyright © 2017 BILD GmbH & Co. KG. All rights reserved.