Default spring.datasource.jmx-enabled to false
Change the default value of spring.datasource.jmx-enabled to false to prevent InstanceAlreadyExistsException problems when using the Spring Test Framework. Fixes gh-1590
This commit is contained in:
@@ -203,7 +203,7 @@ content into your application; rather pick only the properties that you need.
|
||||
spring.datasource.time-between-eviction-runs-millis=
|
||||
spring.datasource.min-evictable-idle-time-millis=
|
||||
spring.datasource.max-wait=
|
||||
spring.datasource.jmx-enabled=true # Export JMX MBeans (if supported)
|
||||
spring.datasource.jmx-enabled=false # Export JMX MBeans (if supported)
|
||||
|
||||
# DATASOURCE ({sc-spring-boot-autoconfigure}/dao/PersistenceExceptionTranslationAutoConfiguration.{sc-ext}[PersistenceExceptionTranslationAutoConfiguration]
|
||||
spring.dao.exceptiontranslation.enabled=true
|
||||
|
||||
Reference in New Issue
Block a user