From dd50e1e28ef9b56992b394e53eb570308d5ea06a Mon Sep 17 00:00:00 2001 From: Gavin Date: Fri, 25 Nov 2022 19:34:31 +0100 Subject: [PATCH] add message/@deprecated a member that Hibernate ignores --- .../src/main/java/org/hibernate/annotations/ForeignKey.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/hibernate-core/src/main/java/org/hibernate/annotations/ForeignKey.java b/hibernate-core/src/main/java/org/hibernate/annotations/ForeignKey.java index 0bc839b280..375d15899f 100644 --- a/hibernate-core/src/main/java/org/hibernate/annotations/ForeignKey.java +++ b/hibernate-core/src/main/java/org/hibernate/annotations/ForeignKey.java @@ -36,6 +36,9 @@ public @interface ForeignKey { /** * Used for the non-owning side of a {@code ManyToMany} association. * Ignored for other association cardinalities. + * + * @deprecated this member is currently ignored and has no effect */ + @Deprecated String inverseName() default ""; }