Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- evolutionplugin = disabled
- # the value below matches the config tag in line 10
- play.db.default = "oracle"
- jpa {
- default = devPersistenceUnit # should match the value of persistence-unit#name in persistence.xml
- }
- db {
- # the value below should match the value of property "play.db.default"
- oracle {
- # You can expose this datasource via JNDI if needed (Useful for JPA)
- jndiName = LocalDevDS
- # Set a connection's default autocommit setting
- autocommit = true
- hikaricp {
- dataSourceClassName = oracle.jdbc.pool.OracleDataSource
- dataSource {
- serverName = ${DB_HOST}
- user = ${DB_USER}
- password = ${DB_PASS}
- databaseName = ${DB_NAME}
- portNumber = ${DB_PORT}
- networkProtocol = tcp
- driverType = thin
- }
- maximumPoolSize = 8
- registerMbeans = true
- # 15 minutes
- maxLifetime = 450000
- # 5 minutes
- idleTimeout = 300000
- connectionTimeout = 60000
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement