File tree Expand file tree Collapse file tree 2 files changed +8
-6
lines changed
hibernate-core/src/main/java/org/hibernate/annotations Expand file tree Collapse file tree 2 files changed +8
-6
lines changed Original file line number Diff line number Diff line change 1111
1212/**
1313 * Specifies whether mutating the annotated attribute should trigger an increment
14- * to the {@link jakarta.persistence.Version version} of the entity instance. Or,
15- * if {@link OptimisticLockType#ALL} or {@link OptimisticLockType#DIRTY} are used,
16- * specifies whether the attribute should be included or excluded from the list of
17- * checked attributes.
14+ * to the {@linkplain jakarta.persistence.Version version} of the entity instance.
15+ * Or, when {@link OptimisticLockType#ALL @OptimisticLocking(type = ALL)} or
16+ * {@link OptimisticLockType#DIRTY @OptimisticLocking(type = DIRTY)} is used,
17+ * specifies whether the annotated attribute should be included or excluded from
18+ * the list of checked attributes.
1819 * <p>
19- * If this annotation is not present, mutating an attribute <em>does</em> cause the
20- * version to be incremented.
20+ * If this annotation is not present, mutating an attribute <em>does</em> cause
21+ * the version to be incremented.
2122 *
2223 * @author Logi Ragnarsson
2324 */
Original file line number Diff line number Diff line change 4545 *
4646 * @see org.hibernate.LockMode
4747 * @see jakarta.persistence.LockModeType
48+ * @see OptimisticLock
4849 */
4950@ Target ( TYPE )
5051@ Retention ( RUNTIME )
You can’t perform that action at this time.
0 commit comments