Added documentation notice regarding @version in combination with @id (DDC-873)
This commit is contained in:
parent
87c1c50bfa
commit
69d4e185d8
@ -599,7 +599,8 @@ Example:
|
|||||||
+++ @Version
|
+++ @Version
|
||||||
|
|
||||||
Marker annotation that defines a specified column as version attribute used in an optimistic locking scenario.
|
Marker annotation that defines a specified column as version attribute used in an optimistic locking scenario.
|
||||||
It only works on [@Column](#ann_column) annotations that have the type integer or datetime.
|
It only works on [@Column](#ann_column) annotations that have the type integer or datetime. Combining @Version
|
||||||
|
with [@Id](#ann_id) is not supported.
|
||||||
|
|
||||||
Example:
|
Example:
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user