问题
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