From 69d4e185d8d5b0699474fca5d7741363b963b355 Mon Sep 17 00:00:00 2001 From: "Timo A. Hummel" Date: Thu, 11 Nov 2010 02:43:57 +0800 Subject: [PATCH] Added documentation notice regarding @version in combination with @id (DDC-873) --- manual/en/annotations-reference.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/manual/en/annotations-reference.txt b/manual/en/annotations-reference.txt index 9a54949a6..8df9ab2c2 100644 --- a/manual/en/annotations-reference.txt +++ b/manual/en/annotations-reference.txt @@ -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: