[odb-users] _cache_persist not called

Boris Kolpackov boris at codesynthesis.com
Fri Jun 5 12:51:02 EDT 2015

Hi Konstantin,

Konstantin Tarovik <konstantin.tarovik at ab-soft.net> writes:

> I have an issue with implementing custom session and receiving
> notifications. The problem is that I receive _cache_insert,
> _cache_find and _cache_erase calls but _cache_persist is never
> called even though a lot of objects are stored to DB.

Take a look at the common/session/custom test in odb-tests. It
implements a custom session, including _cache_persist(). See if
you can spot what you are doing differently, if anything.

If that doesn't help, then I would need a test case that I
can debug myself. Without it I would be just guessing.


More information about the odb-users mailing list