Handling circular dependencies
If you are using a SQL database to store your data records, you may encounter an error during initialization because a circular dependency is detected. This means that, for example, EntityA references EntityB, EntityB references EntityC, and EntityC references EntityA.
To fix the data model in such a case, simply turn off Foreign Key integrity checking for the relation, as described in Enabling foreign key integrity checking.