File tree 1 file changed +6
-2
lines changed
src/main/asciidoc/object-mapping
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.
46
46
* `@CreatedDate`: Applied at the field level to indicate the creation date of a node.
47
47
* `@LastModifiedBy`: Applied at the field level to indicate the author of the last change to a node.
48
48
* `@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.
50
50
* `@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
+
52
56
The initial value is zero which is bumped automatically on every update.
53
57
54
58
Have a look at <<auditing>> for all annotations regarding auditing support.
You can’t perform that action at this time.
0 commit comments