有 Java 编程相关的问题?

你可以在下面搜索框中键入要查询的问题!

java在M:N关系上使用Jdbc插入列表

我很难用它实现多对多功能

enter image description here

这是Matiere模型,其中包含Professor列表:

 public class Matiere implements Serializable{

        private static final long serialVersionUID =1L;
        private int idMatier;
        private String nomMatiere;
        private List<Professeur> professeurs;
        getter and setter ...
    }

我的问题是如何使用jdbc在关联表中插入Matiere_professeur


共 (0) 个答案