摘要:
1、总中的配置文件 2、映射文件,ibatis 可以将sql语句写在配置文件中insert into Student(name,major)values (#name#,#major#)delete from Student where id=#id#3、实体类public class Student {private int id;private String name;//名字private String major;//专业public int getId() {return id;}public void setId(int id) {this.id = id;}public Str. 阅读全文