In JPA there is a an attribute called referencedColumnName that can be set on @JoinColumn, @PrimaryK.
確定! 回上一頁