BAEL-2200 Sample application for auto-configuration report. (#5335)

* BAEL-2200 Sample application for auto-configuration report.

* BAEL-2200 Sample application for auto-configuration report fixes.

* Fix formatting.
This commit is contained in:
Kuba 2018-10-13 17:02:22 +02:00 committed by KevinGilmore
parent 435af770b3
commit 03e0627cff
2 changed files with 16 additions and 1 deletions

View File

@ -0,0 +1,14 @@
package com.baeldung.h2db.auto.configuration;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
@SpringBootApplication(scanBasePackages = "com.baeldung.h2db.auto-configuration")
public class AutoConfigurationDemo {
public static void main(String[] args) {
SpringApplication.run(AutoConfigurationDemo.class, args);
}
}

View File

@ -4,4 +4,5 @@ spring.datasource.username=sa
spring.datasource.password=
spring.jpa.hibernate.ddl-auto=create
spring.h2.console.enabled=true
spring.h2.console.path=/h2-console
spring.h2.console.path=/h2-console
debug=true