application.properties 707 字节
Newer Older
L
test  
lepdou 已提交
1 2 3 4 5
spring.http.converters.preferred-json-mapper=gson

# DataSource
spring.datasource.testWhileIdle=true
spring.datasource.testOnBorrow=true
6 7
spring.datasource.validatorClassName=com.ctrip.framework.apollo.common.utils.DataSourceValidator
spring.datasource.validationInterval=5000
J
Jason Song 已提交
8
spring.datasource.initSQL=set names utf8mb4
L
test  
lepdou 已提交
9 10 11 12 13 14 15

# Naming strategy
spring.jpa.hibernate.naming_strategy=org.hibernate.cfg.EJB3NamingStrategy
spring.jpa.hibernate.globally_quoted_identifiers=true
spring.jpa.properties.hibernate.globally_quoted_identifiers=true

# Tomcat configuration
16
server.tomcat.accept-count=5000
17 18
# Increase tomcat header size for longer GET query parameter, should be n * 1024
server.tomcat.maxHttpHeaderSize=10240