application-dev.yml 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. server:
  2. port: 9100
  3. spring:
  4. application:
  5. name: huimv-hy-erp-datasource
  6. datasource:
  7. driver-class-name: com.microsoft.sqlserver.jdbc.SQLServerDriver
  8. # url: jdbc:sqlserver://115.238.57.190:1433;DatabaseName=qlyz
  9. url: jdbc:sqlserver://192.168.1.20:1433;DatabaseName=qlyz
  10. username: sa
  11. password: hm123456@
  12. maxActive: 20
  13. initialSize: 1
  14. maxWait: 60000
  15. minIdle: 1
  16. timeBetweenEvictionRunsMillis: 60000
  17. minEvictableIdleTimeMillis: 300000
  18. validationQuery: select 1
  19. testWhileIdle: true
  20. testOnBorrow: true
  21. testOnReturn: true
  22. poolPreparedStatements: true
  23. maxOpenPreparedStatements: 20
  24. jpa:
  25. show-sql: true
  26. properties:
  27. hibernate:
  28. default_schema: dbo
  29. hibernate:
  30. naming:
  31. physical-strategy: com.huimv.production.datasource.configuration.UpperTableStrategy
  32. # database-platform: com.huimv.production.datasource.configuration.SqlServerDialect # Error
  33. # datasource:
  34. # url: jdbc:sqlserver://localhost:1433;DatabaseName=test
  35. # username: sa
  36. # password: hm123456@
  37. # driver-class-name: com.microsoft.sqlserver.jdbc.SQLServerDriver
  38. # jpa:
  39. # show-sql: true
  40. ## database: mysql
  41. # database-platform: com.ford.configuration.SqlServerDialect
  42. # open-in-view: true
  43. # properties:
  44. # hibernate:
  45. # default_schema: dbo
  46. # naming:
  47. # physical-strategy: com.ford.configuration.UpperTableStrategy
  48. # hibernate:
  49. # ddl-auto: update