[Edit]
+
0
-
0
Spring Boot 2 - H2 database connection configuration (configure in application.properties file and run in memory)
1 2 3 4 5 6 7spring.datasource.driver-class-name=org.h2.Driver spring.datasource.url=jdbc:h2:mem:testdb spring.datasource.username=sa spring.datasource.password=password # Hint: to know how to add H2 database as Maven dependency go to https://dirask.com/snippets/p5gX41