spring boot集成mybatis案例之:入门配置
文章目录
本文当记录了spring boot和mybatis集成的一种方式
本案例用到的技术或框架
spring boot
mybatis(ORM层技术)
spring boot web(SPRING MVC技术)
spring boot thymeleaf(VIEW层框架,和spring完美集成)
alibaba druid(数据源)
oracle 数据库和对应的jar驱动(数据库)设置mybatis依赖库
设置mybatis的alibaba数据源依赖
设置mybatis的配置
配置mybatis的Model类和映射文件
编写mybatis的DAO层示例代码
编写mybatis的CONTROLLER示例代码
编写mybatis的VIEW示例代码
测试运行
评论
登录后参与技术讨论,分享你的经验与见解。
登录 / 注册暂无评论