Commit 73296658 by Administrator

Update techheroshop-project-interface-dev.yml

parent ba52c3ed
......@@ -2,22 +2,15 @@ spring:
main:
allow-bean-definition-overriding: true
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
username: root
password: root
###################以下为jpa的配置###########################
jpa:
show-sql: true
hibernate:
naming:
implicit-strategy: org.hibernate.boot.model.naming.ImplicitNamingStrategyJpaCompliantImpl
physical-strategy: org.hibernate.boot.model.naming.PhysicalNamingStrategyStandardImpl
ddl-auto: update
# use-new-id-generator-mappings: false # @GeneratedValue(strategy = GenerationType.IDENTITY)效果相同,不然出现序列号
database: mysql
database-platform: org.hibernate.dialect.MySQL5InnoDBDialect
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