jpa:
database-platform: org.hibernate.dialect.MySQL5InnoDBDialect #不加这句则默认为myisam引擎
properties.hibernate.hbm2ddl.auto: update
database: mysql
hibernate:
#设置自定义列名
naming:
implicit-strategy: org.hibernate.boot.model.naming.ImplicitNamingStrategyComponentPathImpl
physical-strategy: org.hibernate.boot.model.naming.PhysicalNamingStrategyStandardImpl
show-sql: false
springboot jpa设置InnoDB引擎,mysql,与设置自定义列名
最新推荐文章于 2023-01-05 09:28:59 发布