Added documentation notice regarding @version in combination with @id (DDC-873)
This commit is contained in:
parent
87c1c50bfa
commit
69d4e185d8
1 changed files with 2 additions and 1 deletions
|
@ -599,7 +599,8 @@ Example:
|
|||
+++ @Version
|
||||
|
||||
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:
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue