
spring框架
mathlpz666
一介码农
展开
-
springBoot多数据源配置,如mysql、hive,使用druid连接池
总共需要以下几个类:package com.config.datasource;import com.alibaba.druid.pool.DruidDataSource;import lombok.extern.slf4j.Slf4j;import org.springframework.beans.factory.annotation.Value;import org.springframework.context.annotation.Bean;import org.springfr原创 2020-09-22 14:39:38 · 1873 阅读 · 0 评论 -
解决logback日志配置SizeAndTimeBasedRollingPolicy文件大小分割不生效问题,配置分离
查询了很多网上的帖子,尝试各种配置都没有生效。本人项目文件配置:官方操作文档说明:<configuration> <appender name="ROLLING" class="ch.qos.logback.core.rolling.RollingFileAppender"> <file>mylog.txt</file> <rollingPolicy class="ch.qos.logback.core.rol.原创 2020-07-14 18:05:30 · 29426 阅读 · 4 评论 -
Quartz V2.3.1版本sql初始化文件
## Quartz seems to work best with the driver mm.mysql-2.0.7-bin.jar## PLEASE consider using mysql with innodb tables to avoid locking issues## In your Quartz properties file, you'll need to set#...原创 2019-10-24 16:38:55 · 1358 阅读 · 0 评论