spring boot mysql autoconfiguration (#1639)

* spring boot mysql autoconfiguration

* exclude autoconfig from other main classes

* update property condition
This commit is contained in:
lor6
2017-04-20 01:49:09 +03:00
committed by KevinGilmore
parent 87bc04ae98
commit aa08d1262b
21 changed files with 286 additions and 14 deletions
@@ -1 +1,3 @@
org.springframework.boot.diagnostics.FailureAnalyzer=com.baeldung.failureanalyzer.MyBeanNotOfRequiredTypeFailureAnalyzer
org.springframework.boot.diagnostics.FailureAnalyzer=com.baeldung.failureanalyzer.MyBeanNotOfRequiredTypeFailureAnalyzer
org.springframework.boot.autoconfigure.EnableAutoConfiguration=com.baeldung.autoconfiguration.MySQLAutoconfiguration
@@ -0,0 +1,5 @@
usemysql=local
mysql-hibernate.dialect=org.hibernate.dialect.MySQLDialect
mysql-hibernate.show_sql=true
mysql-hibernate.hbm2ddl.auto=create-drop