-
Hi, I already opened a support Ticket regarding this topic, but I figured this might be of interest to others as well, therefore I'm crossposting here too: Currently I'm trying to test our data schema which we persist with Microstream. For this I usually write a test where I create an Object in memory, then restart the DB, then fetch the same object again and then recursively compare those two via AssertJ's recursive comparison. Now we have made some fields of such an object Therefore my question is: Kind regards, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hello, the LazyReferenceManager has an iterate method that iterates over all registered LazyReferences. Optionally you can also deactivate the LazyReferenceManager at any time after starting the storage to prevent it from clearing LazyReferences automatically if necessary.
Best regards |
Beta Was this translation helpful? Give feedback.
Hello,
the LazyReferenceManager has an iterate method that iterates over all registered LazyReferences.
you could use this method to load all lazy references.
Optionally you can also deactivate the LazyReferenceManager at any time after starting the storage to prevent it from clearing LazyReferences automatically if necessary.
Best regards