mybatis--1hello world

1、接口式编程 原生:                   Dao====>DaoImpl mybatis:              Mapper====>xxMapper. xml 2、SqlSession代表和数据库的一次会话:用完必须关闭; 3、SqlSession和connection样她都是非线程安全。每次使用都应该去获取新的对象。 4、mapper接口没有实现类,但是mybatis会
相关文章
相关标签/搜索