| Annotation Type | Description |
|---|---|
| AfterDelete |
Used to mark methods in
Mixables which will be called once an entity was deleted. |
| AfterSave |
Used to mark methods in
Mixables which will be called once an entity was saved. |
| BeforeDelete |
Used to mark methods in
Mixables which will be called before an entity is deleted. |
| BeforeSave |
Used to mark methods in
Mixables which will be called before an entity is saved. |
| DefaultValue |
Defines a default value which is added to the CREATE TABLE statement when generating the schema.
|
| Engine |
Can be placed on a
SQLEntity to specify the database engine to use. |
| Index |
Defines an additional index on an
SQLEntity. |
| Indices |
Provides a container to make
Index repeatable. |
| Length |
Specifies the column length, most probably of string (CHAR) columns.
|
| Lob |
Marks a CHAR column as CLOB / TEXT which can store very large amounts of data.
|
| Mixin | |
| NullAllowed |
Determines the nullability of a column.
|
| Numeric |
Specifies the numeric precision of a NUMBER column.
|
| OnValidate |
Used to mark methods in
Mixables which will be called once is validated. |
| Ordinal |
Marker annotation used on enums to make
EnumProperty store the ordinal index of
the enum constant in the database instead of the name. |
| Realm |
Specifies the realm to use for an entity.
|
| RelationName |
Specifies the relation name to used for an entity.
|
| Transient |
Fields marked with this annotation are not transformed into a property.
|
| Trim |
Marks a string property as auto trimmed.
|
| Unique |
Marks a property as unique.
|
| Versioned |
Marks an entity as versioned and therefore elibile for optimitic locking
|
Copyright © 2018. All rights reserved.