application.yml 1.08 KB
Newer Older
楊慶堂's avatar
init  
楊慶堂 committed
1
spring:
楊慶堂's avatar
楊慶堂 committed
2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34
  devtools:
    restart:
      enabled: true
    livereload:
      enabled: true
  datasource:
    url: jdbc:sqlserver://10.32.86.125:443;databaseName=TestDB;sendStringParametersAsUnicode=false;
    driver-class-name: com.microsoft.sqlserver.jdbc.SQLServerDriver
    username: archuser
    password: archuser
    jmx-enabled: true
  jpa:
    hibernate:
      naming:
        physical-strategy: org.hibernate.boot.model.naming.PhysicalNamingStrategyStandardImpl
        implicit-strategy: org.hibernate.boot.model.naming.ImplicitNamingStrategyLegacyJpaImpl
    properties:
      hibernate:
        show_sql: true
        format_sql: false
        dialect: org.hibernate.dialect.SQLServer2012Dialect
        globally_quoted_identifiers: true
        temp:
          use_jdbc_metadata_defaults: false
          
logging:
  level:
    org:
      ylhealth.ym.springtest: DEBUG
      springframework: 
        orm.jpa.JpaTransactionManager: DEBUG # 設為 DEBUG 可查看 transaction
        transaction: DEBUG # 設為 DEBUG 可查看 transaction
        web.filter.CommonsRequestLoggingFilter: DEBUG