All Downloads are FREE. Search and download functionalities are using the official Maven repository.

al_sh.springBoot-multiTenant.1.0.2.source-code.application.yml Maven / Gradle / Ivy

There is a newer version: 1.0.4
Show newest version
spring:
  main:
    allow-bean-definition-overriding: true
  datasource:
    url: ${BUDGET_DATASOURCE_URL:jdbc:postgresql://localhost:5432/postgres}
    username: ${DB_USERNAME:postgres}
    password: ${DB_PASSWORD:postgres}
    driver-class-name: org.postgresql.Driver
    hikari:
      minimum-idle: 5
      maximum-pool-size: 10
      connection-timeout: 30000
      idle-timeout: 600
      max-lifetime: 360000
      #leak-detection-threshold: 200000
      data-source-properties:
        reWriteBatchedInserts: true
  jpa:
    show_sql: true
    properties:
      pageSize: 50
      hibernate:
        order_inserts: true
        order_updates: true
        jdbc:
          batch_size: 20
    hibernate:
      format_sql: true
      ddl-auto: update
      naming:
        physical-strategy: org.hibernate.boot.model.naming.PhysicalNamingStrategyStandardImpl
      package-to-scan: com.rujal.multitenant.domain
      multi-tenancy: SCHEMA
    database-platform: org.hibernate.dialect.PostgreSQLDialect




© 2015 - 2024 Weber Informatics LLC | Privacy Policy