Commit db3010f1 by Administrator

Update techheroshop-project-interface-dev.yml

parent a06a5f72
spring: spring:
main:
allow-bean-definition-overriding: true
datasource: datasource:
driver-class-name: com.mysql.jdbc.Driver driver-class-name: com.mysql.cj.jdbc.Driver
url: jdbc:mysql://127.0.0.1:3306/ecommerce?useUnicode=true&characterEncoding=utf-8&serverTimezone=GMT%2B8 url: jdbc:mysql://127.0.0.1:3306/ecommerce?useUnicode=true&characterEncoding=utf-8&serverTimezone=GMT%2B8
username: root username: root
password: root password: root
###################以下为jpa的配置###########################
jpa: jpa:
show-sql: true show-sql: true
hibernate: hibernate:
...@@ -12,9 +14,7 @@ spring: ...@@ -12,9 +14,7 @@ spring:
implicit-strategy: org.hibernate.boot.model.naming.ImplicitNamingStrategyJpaCompliantImpl implicit-strategy: org.hibernate.boot.model.naming.ImplicitNamingStrategyJpaCompliantImpl
physical-strategy: org.hibernate.boot.model.naming.PhysicalNamingStrategyStandardImpl physical-strategy: org.hibernate.boot.model.naming.PhysicalNamingStrategyStandardImpl
ddl-auto: update ddl-auto: update
# use-new-id-generator-mappings: false # @GeneratedValue(strategy = GenerationType.IDENTITY)效果相同,不然出现序列号
database: mysql database: mysql
database-platform: org.hibernate.dialect.MySQL5InnoDBDialect database-platform: org.hibernate.dialect.MySQL5InnoDBDialect
\ No newline at end of file
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment