This bug is still in effect in 5.2 for JoinColumn. And @org.hibernate.annotations.ForeignKey no longer has any effect.