[odb-users] problem dereferncing result pointer ...

Boris Kolpackov boris at codesynthesis.com
Fri Oct 7 11:14:37 EDT 2016


Hi Roberto,

Roberto Alejandro Espi Munoz <raespi at icid.cu> writes:

> If I might suggest something, is there any way that you can throw an
> exception in this point that warns users about circular relationships and
> not using session objects at runtime?

I don't think there is an easy way to detect infinite recursion.


> It's very hard to capture this problem since the application behaviour
> is to just hang and wait to crash. The produced framestack is also
> useless btw.

I think the stack trace will have a large number of repeating fragments
which always indicates an infinite recursion. This should be a good hint.

Boris



More information about the odb-users mailing list