File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
src/main/asciidoc/object-mapping Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -46,9 +46,13 @@ See <<conversions>> for more information on that.
4646* `@CreatedDate`: Applied at the field level to indicate the creation date of a node.
4747* `@LastModifiedBy`: Applied at the field level to indicate the author of the last change to a node.
4848* `@LastModifiedDate`: Applied at the field level to indicate the last modification date of a node.
49- * `@PersistenceConstructor`: Applied at one constructor to mark it as a the preferred constructor when reading entities.
49+ * `@PersistenceConstructor`: Applied at one constructor to mark it as the preferred constructor when reading entities.
5050* `@Persistent`: Applied at the class level to indicate this class is a candidate for mapping to the database.
51- * `@Version`: Applied at field level is used for optimistic locking and checked for modification on save operations.
51+ * `@Version`: Applied at field level it is used for optimistic locking and checked for modification on save operations.
52+ * `@ReadOnlyProperty`: Applied at field level to mark a property as read only. The property will be hydrated during database reads,
53+ but not be subject to writes. When used on relationships be aware that no related entity in that collection will be persisted
54+ if not related otherwise.
55+
5256The initial value is zero which is bumped automatically on every update.
5357
5458Have a look at <<auditing>> for all annotations regarding auditing support.
You can’t perform that action at this time.
0 commit comments