首页 > 编程语言 > 详细

第二章 SpringBoot 集成框架(一)

时间:2019-09-10 09:34:56      阅读:82      评论:0      收藏:0      [点我收藏+]
SpringBoot 集成 Quartz 框架:
<!-- pom文件 Spring Quartz依赖 -->
 
@EnableScheduling //启动定时任务
@Scheduled(表达式): 放在方法前,定义某个定时任务;
 
SpringBoot 集成 Mybatis 框架:
需要添加
<!-- Spring Boot Mybatis 依赖 -->;
<!-- MySQL 连接驱动依赖 -->
 
@EnableTransactionManagement 注解启动事务

第二章 SpringBoot 集成框架(一)

原文:https://www.cnblogs.com/fg99/p/11495414.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!