Skip to content

Instantly share code, notes, and snippets.

@RanKey1496
Created January 30, 2019 03:58
Show Gist options
  • Save RanKey1496/e20fe6d07002d719a23df2676a734f5a to your computer and use it in GitHub Desktop.
Save RanKey1496/e20fe6d07002d719a23df2676a734f5a to your computer and use it in GitHub Desktop.
spring:
datasource:
type: com.zaxxer.hikari.HikariDataSource
url: jdbc:postgresql://host:5432/database
username: 123
password: 123
hikari:
minimum-idle: 9
maximum-pool-size: 9
idle-timeout: 30000
pool-name: LogApprovalJPAPool
max-lifetime: 200000
connection-timeout: 30000
cachePrepStmts: true
prepStmtCacheSize: 250
prepStmtCacheSqlLimit: 2048
useServerPrepStmts: true
jpa:
show-sql: false
database-platform: org.hibernate.dialect.PostgreSQL9Dialect
hibernate:
ddl-auto: update
naming:
strategy: org.hibernate.cfg.ImprovedNamingStrategy
connection:
provider_class: org.hibernate.hikaricp.internal.HikariCPConnectionProvider
properties:
hibernate.temp.use_jdbc_metadata_defaults: false
hibernate.id.new_generator_mappings: true
hibernate.cache.use_second_level_cache: true
hibernate.cache.use_query_cache: false
hibernate.generate_statistics: true
hibernate.cache.hazelcast.instance_name: RapicreditCore
hibernate.cache.use_minimal_puts: true
hibernate.cache.hazelcast.use_lite_member: true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment