From bdc67f81b15e9a707b64cde5a83f4249203bbb9d Mon Sep 17 00:00:00 2001 From: Gavin Date: Sun, 4 Dec 2022 12:13:44 +0100 Subject: [PATCH] clarify some javadoc for @Immutable and optimistic locking stuff --- .../org/hibernate/annotations/Immutable.java | 8 ++++--- .../hibernate/annotations/OptimisticLock.java | 11 +++++---- .../annotations/OptimisticLocking.java | 19 +++++++++++---- .../cfg/annotations/PropertyBinder.java | 24 +++++++++---------- 4 files changed, 38 insertions(+), 24 deletions(-) diff --git a/hibernate-core/src/main/java/org/hibernate/annotations/Immutable.java b/hibernate-core/src/main/java/org/hibernate/annotations/Immutable.java index 1c40084012..86faf0403e 100644 --- a/hibernate-core/src/main/java/org/hibernate/annotations/Immutable.java +++ b/hibernate-core/src/main/java/org/hibernate/annotations/Immutable.java @@ -13,13 +13,15 @@ import java.lang.annotation.RetentionPolicy; import static java.lang.annotation.ElementType.*; /** - * Marks an entity, collection, or attribute as immutable. The absence of this annotation - * means the element is mutable. + * Marks an entity, collection, or attribute of an entity as immutable. The absence of this + * annotation means the element is mutable. *