如何为现有的jhipster项目重新生成新的JPA实体(和不同数据库模式中的数据库表)?

时间:2018-11-30 09:23:15

标签: spring-boot jpa jhipster

对于使用Spring Boot和AngularJS作为技术堆栈生成的现有Jhipster(4.6.2)项目,我如何在默认公共模式之外的其他模式下生成实体(和数据库表)。 [数据库-Postgresql]

1 个答案:

答案 0 :(得分:0)

如果可能的话,我非常感兴趣。否则,一种简单的实现方法:您可以尝试使用jhipster命令jhipster entity <entityName> --[options] see生成实体,以获取更多详细信息。

按照以下出色的文章,自定义您的应用程序以使用多个数据库:https://www.baeldung.com/spring-data-jpa-multiple-databases

相关问题