Guest User

Untitled

a guest
Oct 31st, 2018
141
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.24 KB | None | 0 0
  1. dataSource:
  2. pooled: true
  3. jmxExport: true
  4. driverClassName: 'org.Postgresql.Driver'
  5. dialect: 'org.hibernate.dialect.PostgreSQLDialect'
  6. username: 'okcomputer'
  7. password: ''
  8.  
  9. environments:
  10. development:
  11. dataSource:
  12. dbCreate: create-drop
  13. url: jdbc:postgresql://localhost:5432/test
  14. test:
  15. dataSource:
  16. dbCreate: update
  17. url: jdbc:postgresql://localhost:5432/test
  18. production:
  19. dataSource:
  20. dbCreate: none
  21. url: jdbc:postgresql://localhost:5432/test
  22. properties:
  23. jmxEnabled: true
  24. initialSize: 5
  25. maxActive: 50
  26. minIdle: 5
  27. maxIdle: 25
  28. maxWait: 10000
  29. maxAge: 600000
  30. timeBetweenEvictionRunsMillis: 5000
  31. minEvictableIdleTimeMillis: 60000
  32. validationQuery: SELECT 1
  33. validationQueryTimeout: 3
  34. validationInterval: 15000
  35. testOnBorrow: true
  36. testWhileIdle: true
  37. testOnReturn: false
  38. jdbcInterceptors: ConnectionState
  39. defaultTransactionIsolation: 2 # TRANSACTION_READ_COMMITTED
Add Comment
Please, Sign In to add comment