Open yingw opened 6 years ago
建议提供初始化rest需要的8个表的sql脚本,在运行 scca-use-case-db\half-separation\scca-ui-rest-server-db 项目时会缺少表而启动失败,加上配置:spring.jpa.hibernate.ddl-auto=update 可以自动创建表。
spring.jpa.hibernate.ddl-auto=update
但是也在 plugin-db 中看到该配置,但是在case 项目中不起作用,不知为何。
spring.jpa.show-sql= true spring.jpa.hibernate.ddl-auto=update spring.jpa.hibernate.dialect=org.hibernate.dialect.MySQL5Dialect spring.jackson.serialization.indent_output=false
我是这么配置的
建议提供初始化rest需要的8个表的sql脚本,在运行 scca-use-case-db\half-separation\scca-ui-rest-server-db 项目时会缺少表而启动失败,加上配置:
spring.jpa.hibernate.ddl-auto=update
可以自动创建表。但是也在 plugin-db 中看到该配置,但是在case 项目中不起作用,不知为何。