在本文档中(向下滚动到"单向"部分):
http://docs.jboss.org/hibernate/stable/annotations/reference/en/html_single/#entity-mapping-association-collections
它表示与连接表的单向一对多关联比仅在自有实体中使用外键列更受欢迎.我的问题是,为什么它更受欢迎?
hibernate foreign-keys associations one-to-many
associations ×1
foreign-keys ×1
hibernate ×1
one-to-many ×1