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:
parent
435af770b3
commit
03e0627cff
|
@ -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);
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
|
@ -5,3 +5,4 @@ spring.datasource.password=
|
||||||
spring.jpa.hibernate.ddl-auto=create
|
spring.jpa.hibernate.ddl-auto=create
|
||||||
spring.h2.console.enabled=true
|
spring.h2.console.enabled=true
|
||||||
spring.h2.console.path=/h2-console
|
spring.h2.console.path=/h2-console
|
||||||
|
debug=true
|
Loading…
Reference in New Issue