diff --git a/persistence-modules/spring-boot-persistence-h2-console/src/main/resources/application.properties b/persistence-modules/spring-boot-persistence-h2-console/src/main/resources/application.properties new file mode 100644 index 0000000000..82a2e24211 --- /dev/null +++ b/persistence-modules/spring-boot-persistence-h2-console/src/main/resources/application.properties @@ -0,0 +1,16 @@ +spring.datasource.url=jdbc:h2:mem:mydb;DB_CLOSE_ON_EXIT=FALSE +spring.datasource.driverClassName=org.h2.Driver +spring.datasource.username=sa +spring.datasource.password= +spring.datasource.data=classpath:data-trans.sql + +# JPA +spring.jpa.hibernate.ddl-auto=create-drop +spring.jpa.show-sql=true +spring.jpa.properties.hibernate.format_sql=true +spring.jpa.properties.hibernate.validator.apply_to_ddl=false +#spring.jpa.properties.hibernate.check_nullability=true + +spring.h2.console.enabled=true +spring.h2.console.path=/h2-console +debug=true