Auto generate JHipster entities from existing database

时光总嘲笑我的痴心妄想 提交于 2019-12-21 19:56:12

问题


As part of JHispster 2.11.0, the entity configuration is saved in a specific .json file, in the .jhipster directory. These files can be used to regenerate entities and related files in JHipster application using the below command.

yo jhipster:entity ENTITY_NAME

Is there any way to auto generate those .json files from existing database?


回答1:


We are currently working to generate those files from a UML model, see our JHipster UML project.

So if you can export your database schema to UML, this could be doable, but I don't think this can work as smoothly as expected.



来源:https://stackoverflow.com/questions/30390545/auto-generate-jhipster-entities-from-existing-database

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!