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
0 answers

JHipster JDL Parse Error with Fractions Values in field min

I am developing JDL file to generate my entites in JHipster. I have this entity: entity Currency { name String required, conversionRate Double required min(0.0001) } I got this error: Executing jhipster:import-jdl entities.jdl Options:…
Ahmed Hammad
  • 622
  • 8
  • 17
1
vote
2 answers

How to create a read-only entity using Jhipster?

I have an existing view in a relational database and I'd like to add it as an existing entity in the model with jhipster using jdl-import. How can I mark the entity as readOnly using jdl-import generator?
aQ123
  • 560
  • 1
  • 8
  • 19
1
vote
0 answers

JHipster - Separate back-end and front-ends, how to glue together

my aim is to have one back-end, but some front-ends. Creating separate back-end and front-end with JHipster using: jhipster --skip-client jhipster --skip-server --db="mssql" --auth"jwt" When the back-end ist created, navigating into the project…
neblaz
  • 683
  • 10
  • 32
1
vote
3 answers

JHipster how to change the view from an entity to Pageable

I am looking for the easiest way for including Pagination for one of the entities I have created with the help of JDL Studio which JHipster provides. I have not chosen the Pagination option in the jdl file as I do not need Pagination in general,…
curlie
  • 275
  • 2
  • 6
  • 17
1
vote
0 answers

How to generate MongoDB entities with JDL with @DBRef annotation in Jhipster

I'm trying to generate MongoDB entities with jdl-studio and I need to define @DBRef annotation for one entity which is related to another. I couldn't find any information in documentation so I hope you can help me. Let's suppose we have two…
1
vote
1 answer

How Jhipster uses JDL-studio to add relationships in the "Authority" entity

I am now developing an organization, but when I use JDL-studio to add a many-to-many relationship to the authority, I can not find the authority entity. But can find this User entity class. please help me, thank you! I'm using jhipstter 4.6.1…
uqing
  • 11
  • 4
1
vote
1 answer

Error adding a jHipster entity form a JDL file

I am new here. I am trying to use JHispter to create a new application. I have used the "yo jhipster" command to generate the application. I have used the JDL studio to develop my entities, however, when I use the JDL with "yo jhipster:import-jdl…
Anu
  • 43
  • 9
1
vote
1 answer

how to generate uml image from jdl

JDL-Studio is a great tool but you have to have an internet connection to use it. How do you create an UML image from a JDL file from the commandline? I searched the jhipster-uml help section, the jhipster-uml documentation site, and google to try…
axiopisty
  • 4,972
  • 8
  • 44
  • 73
0
votes
1 answer

Relationships not saved with Microservices

I've been struggling to get my relationships to be saved when I converted my application from a monolith to microservices. I can update them via the webapp but on refresh or viewing the database the change is not visible. Basically nothing happens…
jelharou
  • 86
  • 5
0
votes
2 answers

importing jdl file creates a lot of conflicts

I am new to jhipster and was trying out the import-jdl feature. I created a sample application which uses mysql as database and angular for front end. i used the following configuration to create it. Please not that i didnt choose any cache…
Sanal M
  • 187
  • 4
  • 17
0
votes
1 answer

Creating a custom option in jdl

My question here is flashing in my mind,how to create a custom option in jdl file? My use case is to add a pipeline like this pipeline : [Jenkins,Azure,Gitlab,Travis] And I know that there is a command present in jhipster ci-cd with a specific…
0
votes
0 answers

I have an error while creating Jhipster Microservice app

** ERROR! Error: spawn git ENOENT at ChildProcess._handle.onexit (node:internal/child_process:283:19) at onErrorNT (node:internal/child_process:476:16) at process.processTicksAndRejections (node:internal/process/task_queues:82:21) ** I am very new…
0
votes
0 answers

Jhipster Auditing Entities

Hello I am using Jhipster to generate my backend code and I'm trying to add auditing fields to my entities, I am aware that my custom entity should extend the AbstractAuditingEntity class, but the added fields are not showing in the database but are…
0
votes
2 answers

How to create columns in JDL, that only accepts two values, Y or N? Y meaning Yes and N meaning No

entity Platform { platformName String required maxlength(100), onPermiseFlag String maxlength(1), cloudFlag String maxlength(1) } The column 'onPermiseFlag' and 'cloudFlag' can have only two value either 'Y' or 'N'? How to add…
0
votes
1 answer

How to create multiple FK from one table reference same column of other table using JDL?

There are two tables Period_Type & Product_Subscription Period_Type ->ID ->Period_Type_Name --------------------------------------- Product_Subscription -> RENEWAL_PERIOD_TYPE_ID ->…
1 2 3
8 9