Entity

Using entity node you can add field/column and make relation with another entity. First, select the id generation strategies such as AUTO, IDENTITY, SEQUENCE or TABLE. Here, you can also specify the variable name of the id and its type (Integer / Long). In order to add an entity field you can press the add column button, select the type and input any variable and column's name whatever you like. Press X if you wish to remove the variable.

Entity Relation

An entity can be related to another one, supported with all relation types: OneToOne, OneToMany, ManyToOne, ManyToMany. However, currently we only support unidirectional relation. As shown in the video above in order to create a relation, you can press 'Add relation' button and specify the entity class name. Once selected, an edge between two entity will be created automatically. Removing the relation will also remove the edge between the source and target node and vice versa.

image

Spring boot and Java code generator. It helps Java Spring developer to generate code by simple drag and drop the component using the designer tool

© Copyright Codern.io. All Rights Reserved