January 2020
Intermediate to advanced
428 pages
10h 34m
English
Entity declaration is done using the following syntax:
[<entity javadoc>][<entity annotation>*]entity <entity name> [(<table name>)] { [<field javadoc>] [<field annotation>*] <field name> <field type> [<validation>*]}
The <entity name> phrase is the name of the entity and will be used for class names and table names. Table names can be overridden using the optional <table name> parameter.
The <field name> phrase is the name of the fields (attributes) you want for the entity and <field type> is the field type, such as string, integer, and so on. Refer to https://www.jhipster.tech/jdl/entities-fields#field-types-and-validations for all supported field types. The ID field will be automatically created and so does not ...
Read now
Unlock full access