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

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

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-06 09:33:00
Original
983 people have browsed it

mysqlhibernate

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

Related labels:
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template