Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @RunWith(SpringRunner.class)
- @SpringBootTest
- dependencies {
- compile('org.springframework.boot:spring-boot-starter-data-jpa')
- runtime('com.h2database:h2')
- testCompile 'p6spy:p6spy:3.0.0'
- testCompile('org.springframework.boot:spring-boot-starter-test')
- }
- spring:
- application:
- name: persistence
- datasource:
- url: jdbc:p6spy:h2:mem:persistence;DB_CLOSE_ON_EXIT=FALSE
- username: sa
- password:
- driver-class-name: com.p6spy.engine.spy.P6SpyDriver
- jpa:
- database: H2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement