摘要:
SpringBoot支持了两种数据库迁移工具,一个是flyway,一个是liquibase。其本身也支持sql script,在初始化数据源之后执行指定的脚本。 flyway flyway.baseline-description对执行迁移时基准版本的描述. flyway.baseline-on-m 阅读全文
posted @ 2017-12-19 14:03
爷的眼睛闪亮
阅读(870)
评论(0)
推荐(0)
摘要:
序 spring security是springboot支持的权限控制系统。 security.basic.authorize-mode要使用权限控制模式. security.basic.enabled是否开启基本的鉴权,默认为true security.basic.path需要鉴权的path,多个 阅读全文
posted @ 2017-12-19 14:02
爷的眼睛闪亮
阅读(10807)
评论(0)
推荐(2)
摘要:
activemq spring.activemq.broker-url指定ActiveMQ broker的URL,默认自动生成. spring.activemq.in-memory是否是内存模式,默认为true. spring.activemq.password指定broker的密码. spring 阅读全文
posted @ 2017-12-19 14:01
爷的眼睛闪亮
阅读(2073)
评论(0)
推荐(0)
摘要:
cache spring.cache.cache-names指定要创建的缓存的名称,逗号分隔(若该缓存实现支持的话) spring.cache.ehcache.config指定初始化EhCache时使用的配置文件的位置指定. spring.cache.guava.spec指定创建缓存要使用的spec 阅读全文
posted @ 2017-12-19 14:00
爷的眼睛闪亮
阅读(2039)
评论(0)
推荐(0)
摘要:
datasource spring.dao.exceptiontranslation.enabled是否开启PersistenceExceptionTranslationPostProcessor,默认为true spring.datasource.abandon-when-percentage-f 阅读全文
posted @ 2017-12-19 13:59
爷的眼睛闪亮
阅读(13749)
评论(0)
推荐(0)
摘要:
server配置 server.address指定server绑定的地址 server.compression.enabled是否开启压缩,默认为false. server.compression.excluded-user-agents指定不压缩的user-agent,多个以逗号分隔,默认值为:t 阅读全文
posted @ 2017-12-19 13:58
爷的眼睛闪亮
阅读(17042)
评论(0)
推荐(0)
摘要:
序 主要是mvc相关的一些配置 mvc spring.mvc.async.request-timeout设定async请求的超时时间,以毫秒为单位,如果没有设置的话,以具体实现的超时时间为准,比如tomcat的servlet3的话是10秒. spring.mvc.date-format设定日期的格式 阅读全文
posted @ 2017-12-19 13:57
爷的眼睛闪亮
阅读(333)
评论(0)
推荐(0)
浙公网安备 33010602011771号