The solution to the problem is that we changed the database model so that we got rid of the circular references. Then we had no problems loading all the data

Dealing with circular reference in Java

In an uni project we had a complex data structure with 2 circular references. We built an android app with a maven spring java backend using docker. The problem was that we could not load all the informations in an entity with cicular references. In this cases we always only got null if we tried to get the correct values from our backend.
Subscribe to references