MyBatis经常使用注解

MyBatis经常使用注解:        这是基于注解的映射方式,实现对数据的增删改查,将sql语句直接写在注解的括号中 这是一个接口,其不须要类去实现它 @Insert简单插入 @Insert("insert into student(name,age) values(#{name},#{age})") public void addStudent(Student student) throw
相关文章
相关标签/搜索