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
0
votes
1 answer

How to use the data type "text" in Jhipster jdl

Good Morning, pls I wish to know if it is possible to use the data type 'text' in Jhipster jdl.If Yes, pls help me. I 've try by inserting "text" but it seems not been recognize by the Jdl I wish to store the data as "text" by using the datatype…
Sazang Ze
  • 1
  • 1
0
votes
0 answers

ContextMapper to JDL using JHipster - incomplete jdl file creation

CML to JDL file using JHipster is not working and the file that is generated using the templates are incomplete below the details of the code The CML file that I used for this JDL generation is…
0
votes
1 answer

OneToMany relationship generated with JHipster causes Exceptions

I have written the following JDL: enter code here entity A { name String required } entity B { name String unique required, } relationship OneToMany { B{children} to A{owner} } application { config { applicationType monolith …
juwi
  • 389
  • 3
  • 16
0
votes
0 answers

How to use Java Deep Library within Eclipse

I'm trying to install Java Deep Library. There seem to be about a million different ways to accomplish this. I am using the Eclipse IDE. Thus far I have tried to import the project using Gradle, however I am unfamiliar with Gradle and I do not know…
0
votes
1 answer

How to have a data type be the name of a field in JDL file (jHipster)

I have an entity in a JDL file. entity Person { Name String, Duration Integer } The word 'Duration' is a data type in the Jhipster Domain Language. https://www.jhipster.tech/jdl/entities-fields However, I need my entity to have this field…
cluis92
  • 664
  • 12
  • 35
0
votes
0 answers

how can I add this child field to parentDTO?

I have this two entities entity Country { name String } entity Regions { name…
0
votes
1 answer

How can a table be a field type in jHipster jdl?

Tables I'm having a problem generating these tables using JHipster jdl with mysql. I need to know if I can create a field with a table as type or if a field can have a JSON type and how. If there's any other solution feel free to contribute, Thanks…
0
votes
1 answer

import-jdl fails when pasring entities

JHipster 7.7.0 I am trying to import the following JDL file: entity UploadedResource { fileName String required, owner String required, uploadedBy String required, uploadTime Instant required, description String, fileSize…
PeterB
  • 71
  • 1
  • 5
0
votes
1 answer

jhipster generates required fields as not required in typescript types

I am using the jhipster generator to automatically generate Typescript types. Recently I've noticed that the generator has some behavior I did not expect. I have the following jdl code: entity MeasurementResult { frequencies Float…
Soeren
  • 15
  • 3
0
votes
0 answers

Missing class DefaultPersistenceUnitManager

when I run ./mvnw liquibase:diff The error I get is [ERROR] Failed to execute goal org.liquibase:liquibase-maven-plugin:4.2.2:diff (default-cli) on project engine-7: Execution default-cli of goal org.liquibase:liquibase-maven-plugin:4.2.2:diff…
Mrugesh Vaghela
  • 195
  • 1
  • 1
  • 11
0
votes
0 answers

Problem during code generating after using JHipster JDL-Studio

Here is an error I get. Please help. I do not have any idea what to do at the moment. Thank you [...]$ jhipster jdl ~/Pobrane/awex.jdl INFO! Using JHipster version installed globally INFO! Executing import-jdl…
user15545005
0
votes
0 answers

Why my microservice does not automatically add user information?

I created application with the following jdl. And then, I ran the test with cypress when it was created successfully. Most of them pass but get some errors in entities that have relationship with User entity in microservice. I noticed that the…
loc.dang
  • 374
  • 3
  • 19
0
votes
0 answers

Jhipster ParentDTO does not have list of Child DTO

am generating enties some thing like below, Person entity Employee { firstName String lastName String } entity Role { Name String } relationship OneToMany { Employee{role} to Role{employee required} } The generated Employee does…
0
votes
1 answer

How to add custome/ java annotation in jdl JHipster Domain Language

With this code entity Person { id String name String post String } It will give me like @Id private String id; @Field("name") private String name; @Field("post") private String post; but i want like @Id private String…
0
votes
1 answer

Add functions in JDL Jhipster for angular project

For Example I want to add functions like onChange, focosout, onblur, onClick with passing extra parameter in jdl as entity Student { studentId Integer, studentRegNum String maxlength(50) (onChange)="SomeChangeAction()", firstName…
swamy.js
  • 21
  • 8
1 2 3
8 9