Advertisement
Guest User

Untitled

a guest
Mar 1st, 2017
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.96 KB | None | 0 0
  1. evolutionplugin = disabled
  2. # the value below matches the config tag in line 10
  3. play.db.default = "oracle"
  4.  
  5. jpa {
  6. default = devPersistenceUnit # should match the value of persistence-unit#name in persistence.xml
  7. }
  8.  
  9. db {
  10. # the value below should match the value of property "play.db.default"
  11. oracle {
  12. # You can expose this datasource via JNDI if needed (Useful for JPA)
  13. jndiName = LocalDevDS
  14. # Set a connection's default autocommit setting
  15. autocommit = true
  16. hikaricp {
  17. dataSourceClassName = oracle.jdbc.pool.OracleDataSource
  18.  
  19. dataSource {
  20. serverName = ${DB_HOST}
  21. user = ${DB_USER}
  22. password = ${DB_PASS}
  23. databaseName = ${DB_NAME}
  24. portNumber = ${DB_PORT}
  25. networkProtocol = tcp
  26. driverType = thin
  27. }
  28. maximumPoolSize = 8
  29. registerMbeans = true
  30. # 15 minutes
  31. maxLifetime = 450000
  32. # 5 minutes
  33. idleTimeout = 300000
  34. connectionTimeout = 60000
  35. }
  36. }
  37. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement