The JDL regenerated through the jhipster info or through the jhipster export-jdl doesn't come with the 'jpaDerivedIdentifier' directive.
Motivation for or Use Case
I was reporting a bug to the jhipster-generator and found this problem. It may cause problems for people that try to regenerate the project through this JDL.
Reproduce the error
Created a new project, imported the JDL, exported the JDL.
The MyEntityUserExtra.json in the .jhipster folder has the relation with "useJPADerivedIdentifier": true, so I think it is just a missing feature in the export.
JHipster Version(s)
6.0.0-beta.0 (but the test error also happens on the 5.8.2, the Liquibase error is new)
Overview of the issue
The JDL regenerated through the
jhipster info
or through thejhipster export-jdl
doesn't come with the 'jpaDerivedIdentifier' directive.Motivation for or Use Case
I was reporting a bug to the jhipster-generator and found this problem. It may cause problems for people that try to regenerate the project through this JDL.
Reproduce the error
Created a new project, imported the JDL, exported the JDL.
Related issues
This feature was implemented in the #294
Suggest a Fix
The MyEntityUserExtra.json in the .jhipster folder has the relation with "useJPADerivedIdentifier": true, so I think it is just a missing feature in the export.
JHipster Version(s)
6.0.0-beta.0 (but the test error also happens on the 5.8.2, the Liquibase error is new)
JHipster configuration, a
.yo-rc.json
file generated in the root folder.yo-rc.json file
JDL for the Entity configuration(s)
entityName.json
files generated in the.jhipster
directoryJDL entity definitions
Environment and Tools
openjdk version "11.0.2" 2019-01-15 OpenJDK Runtime Environment 18.9 (build 11.0.2+9) OpenJDK 64-Bit Server VM 18.9 (build 11.0.2+9, mixed mode)
git version 2.11.0
node: v10.15.3
npm: 6.4.1
yeoman: 2.0.5
yarn: 1.15.2
Docker version 18.09.5, build e8ff056dbc
docker-compose version 1.24.0, build 0aa59064
Browsers and Operating System
Using Debian 9.8. Generated the project with --yarn.