1
0
mirror of synced 2025-01-18 06:21:40 +03:00

Added documentation notice regarding @version in combination with @id (DDC-873)

This commit is contained in:
Timo A. Hummel 2010-11-11 02:43:57 +08:00 committed by Benjamin Eberlei
parent 87c1c50bfa
commit 69d4e185d8

View File

@ -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: