application.yml 1.53 KB
Newer Older
楊慶堂's avatar
init  
楊慶堂 committed
1
spring:
楊慶堂's avatar
楊慶堂 committed
2 3 4 5 6 7
  devtools:
    restart:
      enabled: true
    livereload:
      enabled: true
  datasource:
楊慶堂's avatar
楊慶堂 committed
8 9 10 11
    url: jdbc:jdbcdslog:sqlserver://10.32.86.125:443;databaseName=H4UDBv4_ARCH_UAT;sendStringParametersAsUnicode=false;targetDriver=com.microsoft.sqlserver.jdbc.SQLServerDriver
    driver-class-name: org.jdbcdslog.DriverLoggingProxy
    #url: jdbc:sqlserver://10.32.86.125:443;databaseName=TestDB;sendStringParametersAsUnicode=false;
    #driver-class-name: com.microsoft.sqlserver.jdbc.SQLServerDriver
楊慶堂's avatar
楊慶堂 committed
12 13 14 15 16 17 18 19 20 21
    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:
楊慶堂's avatar
楊慶堂 committed
22
        show_sql: false
楊慶堂's avatar
楊慶堂 committed
23
        format_sql: false
24
        dialect: org.ylhealth.ym.springtest.hibernate.SqlServerDialectWithNvarchar
楊慶堂's avatar
楊慶堂 committed
25
        globally_quoted_identifiers: true
楊慶堂's avatar
楊慶堂 committed
26 27 28
        cache.use_second_level_cache: true
        cache.use_query_cache: true
        cache.region.factory_class: org.hibernate.cache.ehcache.SingletonEhCacheRegionFactory
楊慶堂's avatar
楊慶堂 committed
29
        generate_statistics: false
楊慶堂's avatar
楊慶堂 committed
30 31 32 33 34 35 36 37 38 39 40
        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