Skip to content
This repository was archived by the owner on Jan 9, 2025. It is now read-only.
Discussion options

You must be logged in to vote

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:

    @Override
    public void onApplicationEvent(final ApplicationReadyEvent event) {
        DataRoot dataRoot = (DataRoot) storageManager.root();
        log.warn("before: {}", dataRoo…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by zdenek-jonas
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants