At the moment we use annotations in the ACEM-dal-relational-database module to prevent infinite loops (e.g. @JsonIgnore, @JsonManagedReference and @JsonBackReference).
However, the structure of the /rest/resources/categories is not the same when we use the graph database.
A solution would be to use DTOs, as mentionned in https://stackoverflow.com/questions/33451029/how-can-web-services-be-independant-from-the-dal-implementations
At the moment we use annotations in the ACEM-dal-relational-database module to prevent infinite loops (e.g. @JsonIgnore, @JsonManagedReference and @JsonBackReference).
However, the structure of the /rest/resources/categories is not the same when we use the graph database.
A solution would be to use DTOs, as mentionned in https://stackoverflow.com/questions/33451029/how-can-web-services-be-independant-from-the-dal-implementations