Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Contradiction on jpaDerivedIdentifier #22851

Closed
1 task
vw98075 opened this issue Jul 13, 2023 · 0 comments · Fixed by jhipster/jhipster.github.io#1297
Closed
1 task

Contradiction on jpaDerivedIdentifier #22851

vw98075 opened this issue Jul 13, 2023 · 0 comments · Fixed by jhipster/jhipster.github.io#1297

Comments

@vw98075
Copy link
Contributor

vw98075 commented Jul 13, 2023

Overview of the issue

Following the online document, I use "with jpaDerivedIdentifier" for one-to-one relationships in a JDL file. There is a related message during the JDL file import process,

info Option useJPADerivedIdentifier is deprecated, use id instead

Based on this message, I make the change. With the change, however, I get an error message during the import process:

Error: EarlyExitException: Expecting: expecting at least one iteration which starts with one of these possible Token sequences::
  <['jpaDerivedIdentifier']>
but found: 'id'

The above two messages contradict each other.

Motivation for or Use Case
Reproduce the error
Related issues
Suggest a Fix
JHipster Version(s)

7.9.3

JHipster configuration
Entity configuration(s) entityName.json files generated in the .jhipster directory
Browsers and Operating System
  • Checking this box is mandatory (this is just to show you read everything)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants