Something went wrong, root() is always empty after start #461
-
|
Hello, According tho debug log, my data are stored, but never restored.
What can be wrong? Attaching the sources for retry help. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
Hello, Here in your example, you are using the Api method storeAll, but just check the documentation:
So you have to store the instance of the list too. Just add: And it should work. But in this case is sufficient only to store the collection itself: |
Beta Was this translation helpful? Give feedback.
Hello,
We're pleased to hear of your interest in Microstream and that you've tried it.
Here in your example, you are using the Api method storeAll, but just check the documentation:
https://api.docs.microstream.one/one/microstream/persistence/binary/types/BinaryStorer.Default.html#storeAll(java.lang.Iterable)
Convenience method to store(Object) all instances of an Iterable type, usually a collection. The passed instance itself is NOT stored. ...So you have to store the instance of the list too. Just add: