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 How to control entitie generation to microservice? or How to do JDL properly to get the entities generated into the right micorservice folder

I am trying to prototype a microservice application with JHipster and I have tried to collect all the information what I was able in order to do it properly, but it is not totally clear how to put together a JDL to have the right entities in the…
laci1210
  • 99
  • 1
  • 3
1
vote
0 answers

Convert Sql Schema to a JDL format

I am searching how to convert my PostgreSQL data base schema to a jdl format. I used a project that I found on the internet which uses the jooq library: https://github.com/Blackdread/sql-to-jdl, but this one contains many errors and I couldn't run…
Hana_CH
  • 105
  • 1
  • 12
1
vote
0 answers

JDL: Found groupable relationship "OneToOne"

I am new to JHipster and am creating a new project with the following Entity definition: enum AccountType { CHECKING, SAVINGS } enum TransactionType { CHECK, DEPOSIT, WITHDRAWAL } enum EnvelopeType { INCOME, EXPENSE } // The name…
Paul Waldo
  • 1,131
  • 10
  • 26
1
vote
0 answers

OpenAPI / JDL and Avro schema: what is the best practice to generate entities/object definitions?

I am building a microservice piece of software with the API-first approach, I would like to re-use some of the entities in some other microservices. I can generate the object definitions at 3 different places: DTO from the open-api, Entities from…
Laurent
  • 31
  • 4
1
vote
0 answers

Are DTO classes generated from JDL meant to be serializable?

Inconsistent use of Serialiable interface. When I generate a project from this JDL, the DTO class (ThingDTO.java) implements Serializable but does not contain a serialVersionUID. The UserDTO and PasswordChangeDTO classes do not implement…
William
  • 11
  • 2
1
vote
0 answers

How to crypt data of JHIPSTER application directly in JDL?

Is there a simple way to say directly in the JDL of a JHISPter application that a given field is crypted? How to configure the application to crypt data of a specific field of an entity? with Spring, and for instance Jasypt, Bouncy Castle. It will…
flefevre
  • 57
  • 1
  • 11
1
vote
1 answer

JHipster - import-jdl - Field has jhi_ added to name

I've created a new JHipster project, used JDL Studio to create a .jh schema file, and added it to the project. After doing the import-jdl and project rebuild, one of my fields has had 'jhi_' added to the name. Can anyone shed light on this? I'm…
1
vote
1 answer

Relationship in Jhipster with cascade removing (JDL)

I want to create relationship between two entities - for example Directory and File. Its really similiar to example from JDL JHipster. Directory have 0, one or more files. And one file has only one directory. But in this case, I want to store in…
Greggy
  • 617
  • 3
  • 9
  • 20
1
vote
2 answers

jHipster: how to generate only entities during jdl import

jHipster: how to generate only entities during jdl import or entities plus dto and mappers? jhipster import-jdl jhipster-jdl.jh
Arthur
  • 1,156
  • 3
  • 20
  • 49
1
vote
1 answer

JHipster without JDL

I'm quite interested in exploring JHipster in depth since I like the idea of having a framework for generating a spring-microservice backend with modern react/angular. HOWEVER, I'm put off by the fact that JHipster uses its own language 'JDL' -- I…
1
vote
1 answer

Use case and difference between JHipster UML and JDL

JHipster provides some great tools for generating JPA entities and related objects and classes. The site showcases and describes comparisons between a few of these options: Using a simple questionnaire entity-subgenerator (via jhipster entity) for…
Dovmo
  • 8,121
  • 3
  • 30
  • 44
1
vote
1 answer

How to use class abstraction with JDL?

I'm doing a project for my last year of university. I have to make a commercial website using JHipster (in my case Angluar + Spring + PostgreSQL). Using JDL, I figured out that abstract classes seems to not be supported, therefore it seems…
Kyron
  • 315
  • 1
  • 2
  • 10
1
vote
1 answer

hipster - importing JDL

I'm new to jhipster. so I'm sorry if the answer is obvious. I'm trying to import my JDL with the command : import-jdl ~/Downloads/jhipster-jdl.jh --debug my JDL: entity Package{ origin String, destination String, amORpm String, …
1
vote
1 answer

Working with JDL in jhipster java change database structure

I try do work on a side project with jhipster. I like the way to change the Database structure in JDL Studio (Web version). But i have some struggle to work nice with changes. What i do, i have now my basic Database structure for example Book And…
Helltux
  • 11
  • 3
1
vote
1 answer

When I import jdl files just client-side is generated

I'm working with jhipster and for some reason when I perform jhipster import-jdl db/jhipster-jdl.jh or jhipster:entity someEntity jhipster just generate the client-side, any java file is generated. I also figured out that any file related to…
1 2 3
8 9