application-include_jpa.properties
867 Bytes
#------------- jpa profile ---------------#
# core数据源jpa配置
# dialect
spring.jpa.database= MYSQL
# 是否显示sql,格式化sql
#spring.jpa.core.show-sql= false
spring.jpa.properties.hibernate.show_sql= false
spring.jpa.properties.hibernate.format_sql= false
# ddl schema是否更新
#spring.jpa.core.hibernate.ddl-auto= none (自定义多数据源,这种写法没作用,使用下面的属性)
spring.jpa.properties.hibernate.hbm2ddl.auto= none
# hibernate5的命名策略
spring.jpa.properties.hibernate.implicit_naming_strategy= org.springframework.boot.orm.jpa.hibernate.SpringImplicitNamingStrategy
spring.jpa.properties.hibernate.physical_naming_strategy= org.springframework.boot.orm.jpa.hibernate.SpringPhysicalNamingStrategy
spring.jpa.database-platform=com.bsth.control_v3.plan_module.service.data_sync.vehicle.batch.MySQL5InnoDBDialectExt