January 2020
Intermediate to advanced
428 pages
10h 34m
English
Now let's take a look at what has been generated. Let's open the application code in our favorite IDE/editor and look at what has been generated for the Product entity.
You might have noticed that there is a .jhipster folder at the root of the project, and if you look inside it, you will see a bunch of JSON files. Let's look at Product.json; it holds metadata about the generated entity and is used by JHipster to regenerate and edit an entity when needed:
{ "name": "Product", "fields": [ { "fieldName": "name", "fieldType": "String", "fieldValidateRules": [ "required" ] }, { ... }, { "fieldName": "price", "fieldType": "BigDecimal", "fieldValidateRules": [ "required", "min" ], "fieldValidateRulesMin": 0 }, { "fieldName": ...Read now
Unlock full access