Spring Jpa

一对多

1、application.properties

2、Dao层

3.Controller

3.1级联添加数据

  

3.2查询数据

3.3删除数据

多对多

1.查询

2.添加

原文地址:https://www.cnblogs.com/szhhhh/p/11996227.html