Skip to content

Instantly share code, notes, and snippets.

@linhvovn
Created February 1, 2019 13:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save linhvovn/60f5434b9a335e50c499c9c1bdab56be to your computer and use it in GitHub Desktop.
Save linhvovn/60f5434b9a335e50c499c9c1bdab56be to your computer and use it in GitHub Desktop.
spring.datasource.url=jdbc:h2:mem:testdb;DB_CLOSE_ON_EXIT=FALSE
spring.datasource.username=sa
spring.datasource.password=
spring.datasource.driverClassName=org.h2.Driver
spring.jpa.hibernate.ddl-auto=update
spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.H2Dialect
spring.h2.console.path=/myconsole
spring.h2.console.enabled=true
spring.datasource.initialize=true
spring.datasource.schema=classpath:data/database.sql
spring.datasource.data=classpath:data/data.sql
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment