Springboot
未读
SpringBoot+@Async 异步调用提升效率
Springboot
未读
springboot整合定时任务task
在springboot启动类上开启定时任务开关@EnableScheduling新建一个要执行的任务@Scheduled(cron = "0/5 * * * * ?")表示要执行的频率@Scheduled(cron = "0/5 * * * * ?")
springboot连接MySQL8.X 注意事项
MySQL8.X驱动强制要求设置时区修改数据库连接url,添加serverTimezone设定url: jdbc:mysql://xxxxxx:3306/demo01?serverTimezone=UTC驱动类型过时,提醒更换com.mysql.cj.jdbc.Driverdriver-class-