config.application.properties Maven / Gradle / Ivy
The newest version!
default.datasource.url=jdbc:mysql://47.94.16.140:3306/base4j?useSSL=false
default.datasource.username=base4j
default.datasource.password=base4j2017
default.datasource.driverClassName=com.mysql.jdbc.Driver
default.datasource.maxWait=10000
default.datasource.minIdle=5
default.datasource.initialSize=5
default.datasource.validationQuery=SELECT 1
default.datasource.testOnBorrow=false
default.datasource.testWhileIdle=true
default.datasource.timeBetweenEvictionRunsMillis=18800
#数据库链接超时开始关闭空闲连接 秒为单位
default.datasource.removeAbandonedTimeout=300
#对于长时间不使用的连接强制关闭
default.datasource.removeAbandoned=true
#是否缓存preparedStatement,也就是PSCache,在mysql5.5以下的版本中没有PSCache功能,建议关闭掉
default.datasource.poolPreparedStatements=false
automapper-locations=com.base4j.**.mapper
mybatis-mapper-locations=classpath*:com/base4j/**/mapper/xml/*.xml
spring.thymeleaf.cache=false
spring.thymeleaf.mode=LEGACYHTML5
spring.mvc.throw-exception-if-no-handler-found=true
logging.level.com.base4j=info
server.port=8888
server.display-name=base4j
server.context-path=/
security.ignored=/**/*,/js/**,/css/**,/lib/**
security.headers.frame=false
#mybatisMapperGenPath=D:/Code/SourceCode/seed/demo/target/xml