Questions tagged [jdl]

JDL is the Domain Language of the application generator "JHipster". It is used to describe entities and their relations so that JHipster generates code for these entities.

For more info, see https://www.jhipster.tech/jdl/

131 questions
1
vote
1 answer

JHipster: configuring log levels through jdl file

I am looking for a way to configure the microservices generated by jhipster using jdl file to precide which level of loggins i want to have. Is there a way to do this using jdl file? Hope to shed some lights about this!
Khadija
  • 55
  • 5
1
vote
2 answers

Entity relations JDL-Studio

I´m creating a project in jhipster and I need to access to this metrics and structure: Structure: Of the players we want to save: Nickname (unique) can only be formed by: letters, numbers and underscore. Name Surname Date of birth Secondly, we…
1
vote
1 answer

How to put @beanmapping ignored by default to false from JDL

I'm trying to generate my entities and dtos from a JDL file, and I need that mapper files put @BeanMapping(ignoreByDefault=false) for recovering all the properties of a relationship's dto and not only the id. But when I generate dtos from JDL file…
1
vote
1 answer

How to disable authenticationType in Jhipster?

I want to have no authenticationType, in final microservice, how do I achieve in JDL ? How to define such that there will no authentication ? application { config { baseName AweseomApp, applicationType microservice, packageName…
ajayramesh
  • 3,576
  • 8
  • 50
  • 75
1
vote
0 answers

How do I specify Map or List properties in JHipster JDL?

I've just started using JHipster to jumpstart a new Java/Spring Boot application. The new application needs to replicate entities and services from an existing app. One of the entities has List and Map properties: List tagCodes = new…
1
vote
0 answers

JHipster 7.0.1 Generating Application from Blueprint Error

I am getting below error when trying to use a locally-linked blueprint. The command I run is also below. Please advise. Environment: node --version -> v14.17.0 npm --version -> 6.14.13 jhipster --version -> 7.0.1 yo --version -> 3.1.1 Command I…
Amar Premsaran Patel
  • 1,293
  • 7
  • 17
  • 26
1
vote
0 answers

JHIPSTER JDL: Confusion between join field and display field

I'm confused with the JHipster documentation here relationship (OneToMany | ManyToOne | OneToOne | ManyToMany) { [{[()]}] to [{[()]}]+ }
Carlos Garces
  • 829
  • 1
  • 11
  • 24
1
vote
2 answers

How to make JHipster JDL Import to skip regenerating existing entities

I have a Monolith application generated by JHipster 6.7.0. My Local version of JHipster is 7.0.1. When I try to import a new entity using jhipster import-jdl app.jdl command, I am getting an issue with the the entities which are already…
robinrjoe
  • 329
  • 2
  • 14
1
vote
1 answer

jhipster import jdl error when importing JDL

I'm new in Jhipster. After install it last version 7 got this error when try to import JDL: ERROR! Cannot find module 'ajv/dist/compile/context' Try downgradring to version 6, but same error. Any advice? Thanks Complete stack error: ERROR! Cannot…
1
vote
0 answers

Jhipster import-jdl controlling what gets generated

I have a simple JHipster JDL file that looks like below entity Student { name String, age Integer } and I have this saved in a file called student.jh Now I am trying to make use of the JHipster CLI and generate the entities needed for my dummy…
Krishnan Mahadevan
  • 14,121
  • 6
  • 34
  • 66
1
vote
1 answer

Why do I get "Referential integrity constraint violation" with jpaDerivedIdentifier

After using Jhipster to generate app from jdl file, I got error below at app startup. I only got this issue when I used jpaDerivedIdentifier on the OneToOne relationship to user table. liquibase.exception.MigrationFailedException: Migration failed…
Menglun Li
  • 13
  • 4
1
vote
1 answer

JHipster jdl import entity generator failing to create relationship between entities

I am generating entities using JHipster JDL. INFO! Using JHipster version installed locally in current project's node_modules 6.10.1 JDL used to generate entities entity Products{ name String required brand String required quantity…
Mahesh Vemula
  • 145
  • 2
  • 14
1
vote
2 answers

Generate front-end based on database or java model

I need to migrate the front-end of an application to angular. I want to use jhipster and reuse all existing java back-end and database. My questions are: Is it possible to generate the front-end based on java model or i need to have the JDL…
l1nk
  • 21
  • 2
1
vote
1 answer

Splitting JDL file to extend model step by step

A freshly generated JHipster application contains already a basic model (e.g. with an User entity), lets call it m0. I extended m0 by defining a model m1 with the JHipster Domain Language (JDL) and generating the entities. For the authorization…
1
vote
2 answers

Jhipster - setting up many to many relationship for user-entities

Want to create entity called Friendship and want to leverage the User entity that's part of Jhipster, But I keep getting this invalid-relationship error (full error below). User has friends (user entities) and vice-versa entity UserExtended…
Satish
  • 6,457
  • 8
  • 43
  • 63
1 2
3
8 9