Advertisement
Guest User

Untitled

a guest
Oct 9th, 2017
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.48 KB | None | 0 0
  1. @RunWith(SpringRunner.class)
  2. @SpringBootTest
  3.  
  4. dependencies {
  5. compile('org.springframework.boot:spring-boot-starter-data-jpa')
  6. runtime('com.h2database:h2')
  7.  
  8. testCompile 'p6spy:p6spy:3.0.0'
  9. testCompile('org.springframework.boot:spring-boot-starter-test')
  10. }
  11.  
  12. spring:
  13. application:
  14. name: persistence
  15. datasource:
  16. url: jdbc:p6spy:h2:mem:persistence;DB_CLOSE_ON_EXIT=FALSE
  17. username: sa
  18. password:
  19. driver-class-name: com.p6spy.engine.spy.P6SpyDriver
  20. jpa:
  21. database: H2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement