user1285252
user1285252

Reputation: 127

Auto generate JHipster entities from existing database

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?

Upvotes: 5

Views: 6954

Answers (1)

Julien Dubois
Julien Dubois

Reputation: 3688

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.

Upvotes: 6

Related Questions