JPA3--双向与级联操作JPA3–双向与级联操作
JPA3–双向与级联操作一 、单向一对多1.1配置在一方配置onetomany@Entity@Table(name="t_productDir")public class ProductDir { @Id @GeneratedValue private Long id; private String name; //配置多方 List/Set...