仅在create / create-drop

时间:2017-08-23 12:31:42

标签: sql spring hibernate spring-boot

我正在使用SpringBoot和Hibernate。我在资源中有data.sql,它每次启动应用程序时都会运行。是否可以将其设置为仅在

时运行
    spring.jpa.hibernate.ddl-auto=create-drop

是否在create / create-drop上设置? 谢谢你的回答。

0 个答案:

没有答案