MybatisPlus分页
使用分页前先引用分页的拦截器在配置类用引用mybatisplus的分页@Configurationpublic class MPConfig { @Bean public MybatisPlusInterceptor mybatisPlusInterceptor(){ My
springboot连接MySQL8.X 注意事项
MySQL8.X驱动强制要求设置时区修改数据库连接url,添加serverTimezone设定url: jdbc:mysql://xxxxxx:3306/demo01?serverTimezone=UTC驱动类型过时,提醒更换com.mysql.cj.jdbc.Driverdriver-class-
springboot配置文件yml数据读取
yml示例数据如下country: chinastudent: name: xuesheng01 age: 20user: - name: zhangsan age: 18 - name: lisi age: 19baseDir: c:\windowstempDir: ${b