Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- dataSource:
- pooled: true
- jmxExport: true
- driverClassName: 'org.Postgresql.Driver'
- dialect: 'org.hibernate.dialect.PostgreSQLDialect'
- username: 'okcomputer'
- password: ''
- environments:
- development:
- dataSource:
- dbCreate: create-drop
- url: jdbc:postgresql://localhost:5432/test
- test:
- dataSource:
- dbCreate: update
- url: jdbc:postgresql://localhost:5432/test
- production:
- dataSource:
- dbCreate: none
- url: jdbc:postgresql://localhost:5432/test
- properties:
- jmxEnabled: true
- initialSize: 5
- maxActive: 50
- minIdle: 5
- maxIdle: 25
- maxWait: 10000
- maxAge: 600000
- timeBetweenEvictionRunsMillis: 5000
- minEvictableIdleTimeMillis: 60000
- validationQuery: SELECT 1
- validationQueryTimeout: 3
- validationInterval: 15000
- testOnBorrow: true
- testWhileIdle: true
- testOnReturn: false
- jdbcInterceptors: ConnectionState
- defaultTransactionIsolation: 2 # TRANSACTION_READ_COMMITTED
Add Comment
Please, Sign In to add comment