hibernate 关联映射

1.多对一

  客户和订单之间的关系(一个可与有多个订单)

  

  

  

 使用 <many-to-one> 标签,进行关联。

原文地址:https://www.cnblogs.com/da-peng/p/5917847.html