触发sql文件生成

时间:2019-03-09 15:27:36

标签: mysql spring spring-boot jpa gradle

Spring Boot个应用程序属性:

spring.jpa.properties.javax.persistence.schema-generation.create-source=metadata
spring.jpa.properties.javax.persistence.schema-generation.scripts.action=create
spring.jpa.properties.javax.persistence.schema-generation.scripts.create-target=sql/create.sql

如何触发sql/create.sql的生成?也许有一些带有生成命令的spring / gradle插件?

0 个答案:

没有答案