Spring H2 Support: Difference between revisions
Jump to navigation
Jump to search
Line 14: | Line 14: | ||
runtimeOnly('com.h2database:h2') | runtimeOnly('com.h2database:h2') | ||
} | } | ||
</syntaxhighlight> | |||
=Spring Configuration= | |||
<syntaxhighlight lang=''> | |||
spring.datasource.url=jdbc:postgresql://localhost:5432/postgres | |||
spring.datasource.username=something | |||
spring.datasource.password=somethingelse | |||
</syntaxhighlight> | </syntaxhighlight> | ||
Revision as of 05:28, 19 October 2018
Internal
Overview
Dependencies
dependencies {
implementation('org.springframework.boot:spring-boot-starter-data-jpa')
runtimeOnly('com.h2database:h2')
}
Spring Configuration
spring.datasource.url=jdbc:postgresql://localhost:5432/postgres
spring.datasource.username=something
spring.datasource.password=somethingelse