Project

General

Profile

Anomalie #8553

Can't generate entities with cyclic

Added by Erwan L. over 4 years ago. Updated almost 4 years ago.

Status:
Fermé
Priority:
Normal
Assignee:
Nicolas R.
Category:
-
Target version:
Start date:
07/05/2016
Due date:
% Done:

100%

Estimated time:

Description

class EntityA {
    /** Entity's technical id. */
    @Id
    @Column(type = Column.Type.INTEGER)
    @GeneratedValue(strategy = GeneratedValue.Strategy.MODE_IDENTITY)
    private int id;

    /** Description EntityA. */
    @Column(type = Column.Type.STRING)
    private String description;

    @Column(nullable = true)
    @ManyToOne(targetEntity = "EntityA")
    private Place original;
}
>> Analyse Models...
[WARNING]    Erroneous relation between Place.originalPlace AND Place. Entity Place must be an entity and declare an @Id.

Recurrences

History

Also available in: Atom PDF

Go to top
Add picture from clipboard (Maximum size: 200 MB)