@org.hibernate.annotations.ForeignKey has been deprecated, but I cannot find any examples how the JPA 2.1 equivalent would have to look like?
@org.hibernate.annotations.ForeignKey
@ManyT
As the documentation indicates, this annotation can't be applied to anything:
@Target(value={})
It can thus only be used as part of another annotation (listed in the See Also section):
@JoinColumn(foreignKey = @ForeignKey(name = "FK_USER"))