Spring和Mybatis整合

springmvc+mybaits的系统架构: 第一步:整合dao层          mybatis和spring整合,通过spring管理mapper接口。          使用mapper的扫描器自动扫描mapper接口在spring中进行注册。 第二步:整合service层          通过spring管理 service接口。          使用配置方式将service接口配
相关文章
相关标签/搜索