|
@@ -0,0 +1,51 @@
|
|
|
+server:
|
|
|
+ port: 9100
|
|
|
+spring:
|
|
|
+ application:
|
|
|
+ name: huimv-hy-erp-datasource
|
|
|
+ datasource:
|
|
|
+ driver-class-name: com.microsoft.sqlserver.jdbc.SQLServerDriver
|
|
|
+ url: jdbc:sqlserver://115.238.57.190:1433;DatabaseName=qlyz
|
|
|
+ username: sa
|
|
|
+ password: hm123456@
|
|
|
+ maxActive: 20
|
|
|
+ initialSize: 1
|
|
|
+ maxWait: 60000
|
|
|
+ minIdle: 1
|
|
|
+ timeBetweenEvictionRunsMillis: 60000
|
|
|
+ minEvictableIdleTimeMillis: 300000
|
|
|
+ validationQuery: select 1
|
|
|
+ testWhileIdle: true
|
|
|
+ testOnBorrow: true
|
|
|
+ testOnReturn: true
|
|
|
+ poolPreparedStatements: true
|
|
|
+
|
|
|
+ maxOpenPreparedStatements: 20
|
|
|
+ jpa:
|
|
|
+ show-sql: true
|
|
|
+ properties:
|
|
|
+ hibernate:
|
|
|
+ default_schema: dbo
|
|
|
+ hibernate:
|
|
|
+ naming:
|
|
|
+ physical-strategy: com.huimv.production.datasource.configuration.UpperTableStrategy
|
|
|
+# database-platform: com.huimv.production.datasource.configuration.SqlServerDialect # Error
|
|
|
+
|
|
|
+# datasource:
|
|
|
+# url: jdbc:sqlserver://localhost:1433;DatabaseName=test
|
|
|
+# username: sa
|
|
|
+# password: hm123456@
|
|
|
+# driver-class-name: com.microsoft.sqlserver.jdbc.SQLServerDriver
|
|
|
+# jpa:
|
|
|
+# show-sql: true
|
|
|
+## database: mysql
|
|
|
+# database-platform: com.ford.configuration.SqlServerDialect
|
|
|
+# open-in-view: true
|
|
|
+# properties:
|
|
|
+# hibernate:
|
|
|
+# default_schema: dbo
|
|
|
+# naming:
|
|
|
+# physical-strategy: com.ford.configuration.UpperTableStrategy
|
|
|
+# hibernate:
|
|
|
+# ddl-auto: update
|
|
|
+
|