|
|
@@ -25,14 +25,22 @@ spring:
|
|
|
url: jdbc:mysql://106.14.123.58:3306/pay?useUnicode=true&characterEncoding=UTF-8&useSSL=false
|
|
|
username: root
|
|
|
password: NJU67seecoder
|
|
|
+ driverClassName: com.mysql.cj.jdbc.Driver
|
|
|
# url: jdbc:mysql://mooc.seecoder.cn/seecoder?useUnicode=true&characterEncoding=UTF-8&useSSL=false
|
|
|
# username: root
|
|
|
# password: NJU67mysql
|
|
|
jpa:
|
|
|
- database-platform: org.hibernate.dialect.MySQL57InnoDBDialect
|
|
|
hibernate:
|
|
|
+ ddl-auto: update
|
|
|
naming:
|
|
|
- physical-strategy: org.hibernate.boot.model.naming.PhysicalNamingStrategyStandardImpl
|
|
|
+ implicit-strategy: org.springframework.boot.orm.jpa.hibernate.SpringImplicitNamingStrategy
|
|
|
+ physical-strategy: org.hibernate.boot.model.naming.PhysicalNamingStrategyStandardImpl
|
|
|
+ database-platform: org.hibernate.dialect.MySQL57InnoDBDialect
|
|
|
+ # show-sql: true
|
|
|
+ properties:
|
|
|
+ hibernate.enable_lazy_load_no_trans: true
|
|
|
+ # hibernate.format_sql: true
|
|
|
+ open-in-view: true
|
|
|
|
|
|
root:
|
|
|
name: root
|