[odb-users] Recursive Loading Issue with Mutual Aggregation in ODB Classes

Boris Kolpackov boris at codesynthesis.com
Tue Aug 6 08:40:39 EDT 2024


xuewen wang <xuewen.ok at gmail.com> writes:

> I am writing to report a potential issue with the ODB ORM system when two
> model classes include or aggregate each other. This mutual aggregation can
> lead to recursive loading problems when querying records from the database.

You need use a session to load such relationships:

https://www.codesynthesis.com/products/odb/doc/manual.xhtml#11



More information about the odb-users mailing list