Allows the persistence properties of a record component to be configured.
This annotation is only relevant in case the record is going to be persisted using an INSERT or UPDATE statement.
-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionbooleanWhether the component will be inserted when the record is persisted.booleanWhether the component will be updated when the record is persisted.
-
Element Details
-
insertable
boolean insertableWhether the component will be inserted when the record is persisted.- Returns:
- true if the component will be inserted, false otherwise.
- Default:
true
-
updatable
boolean updatableWhether the component will be updated when the record is persisted.- Returns:
- true if the component will be updated, false otherwise.
- Default:
true
-