• 博客园logo
  • 会员
  • 周边
  • 新闻
  • 博问
  • 闪存
  • 众包
  • 赞助商
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
子轩、破译者
博客园    首页    新随笔    联系   管理    订阅  订阅
2017年7月11日
Spring Boot注解方式集成Mybatis
摘要: 一、无配置文件注解版 1.pom文件必要jar包的引入 1 <dependency> 2 <groupId>mysql</groupId> 3 <artifactId>mysql-connector-java</artifactId> 4 </dependency> 5 <dependency> 6 阅读全文
posted @ 2017-07-11 17:01 子轩、破译者 阅读(8221) 评论(0) 推荐(0)
Spring Boot简单xml配置集成mybatis
摘要: 一、xml配置版 1.properties文件中增加的配置: mybatis.config-locations=classpath:mybatis/mybatis-config.xml mybatis.mapper-locations=classpath:mybatis/mapper/*.xml 2 阅读全文
posted @ 2017-07-11 16:52 子轩、破译者 阅读(4759) 评论(2) 推荐(0)
博客园  ©  2004-2026
浙公网安备 33010602011771号 浙ICP备2021040463号-3