when i create an Entity ,I modify the code in the Entity file .and then I add some fields in the jdl file and import . How can I keep the changes and add the fields in the Entity rather than override or not override.
Asked
Active
Viewed 421 times
0
-
Work in a branch using git and merge, consider JHipster generator as a member of dev team. Get some inspiration about the upgrade generator explanations http://www.jhipster.tech/upgrading-an-application/ – Gaël Marziou Jan 16 '18 at 09:46
-
thanks a lot ,but I mean I use import-jdl to create an entity ,and I modify the entity class directly. then I add some fields in the jdl file and import,it will make my changes when I modify the entity class directly restore – zhuyuehui Jan 16 '18 at 10:03
-
My comment still applies – Gaël Marziou Jan 16 '18 at 12:45
-
Is it? Let me think it over ,thank you very much. – zhuyuehui Jan 17 '18 at 04:42