Commit 73296658 by Administrator

Update techheroshop-project-interface-dev.yml

parent ba52c3ed
...@@ -2,23 +2,16 @@ spring: ...@@ -2,23 +2,16 @@ spring:
main: main:
allow-bean-definition-overriding: true allow-bean-definition-overriding: true
datasource: datasource:
driver-class-name: com.mysql.cj.jdbc.Driver driver-class-name: com.mysql.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: jpa:
show-sql: true show-sql: true
hibernate: hibernate:
naming:
implicit-strategy: org.hibernate.boot.model.naming.ImplicitNamingStrategyJpaCompliantImpl
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-platform: org.hibernate.dialect.MySQL5InnoDBDialect
\ 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