阅读背景:

使用非标识符属性来连接列的Hibernate多对多关系

来源:互联网 

Is it possible to create a many-to-many relationship in Hibernate using annotations if one of the join columns is not the identifier attribute for that entity? The parent entity has two different unique attributes, and I would like to be able to use either one as the join column, but I'm afraid Hibernate may not allow this.Is it possible to create a many-to-many relatio




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: