add message/@deprecated a member that Hibernate ignores

This commit is contained in:
Gavin 2022-11-25 19:34:31 +01:00 committed by Gavin King
parent 13f4c8c285
commit dd50e1e28e
1 changed files with 3 additions and 0 deletions

View File

@ -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 "";
}