Home >Database >Mysql Tutorial >mysql-关于Hibernate 关联同一个表的两个字段的配置

mysql-关于Hibernate 关联同一个表的两个字段的配置

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-06-06 09:33:00967browse

mysqlhibernate

譬如我要A B多对多关联,然后我就加多一个表C作为中间表。
在C中,有两个外键需要关联表A。那么C的hbm.xml需要怎么配置这两个外键呢??

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn