Yes, I do want to delete all previous content.
My mistake. root.deleteContent() is an API in my custom DataRoot class. It is not part of EclipseStore. So, I will ask differently. Is there an EclipseStore API that I should call at startup in my scenario?
Thanks
From: store-dev <store-dev-bounces@xxxxxxxxxxx> on behalf of Florian Habermann via store-dev <store-dev@xxxxxxxxxxx>
Sent: Thursday, August 21, 2025 7:16 AM
To: store developer discussions <store-dev@xxxxxxxxxxx>
Cc: Florian Habermann <f.habermann@xxxxxxxxxxxxxxx>
Subject: Re: [store-dev] Should deleteContent() be called?
Hi,
Just to go sure. Do you want to erase the previous content on each startup, or is this not on purpose?
And what exactly do you mean with root.deleteContent?
Von: store-dev <store-dev-bounces@xxxxxxxxxxx> im Auftrag von Robert Rodini via store-dev <store-dev@xxxxxxxxxxx>
Gesendet: Mittwoch, 20. August 2025 19:45
An: store developer discussions <store-dev@xxxxxxxxxxx>
Cc: Robert Rodini <rrodini@xxxxxxxxxxx>
Betreff: [store-dev] Should deleteContent() be called?
Hello,
In my application I have a program that reads text files and processes them into Java data structures that are then saved to Eclipse Store (it works!).
Each time the application runs it just erases the previous contents of the store. In this scenario should I call root.deleteContent() at start up? If I don't do this, is there a harmful effect on the store?
Thank you
|