|
Hi Esteban, All,
could you please give me some little explanations about the mechanism between the database and the objects in my image:
1) I see that after
VOMongoRepository allInstancesDo: #reset.
all objects are re-loaded from mongo, is this correct?
2) How can I ask voyage to only re-load a certain object from Database and not all objects
3) How can I ask voyage to only re-load all objects from a certain class
4) what about the image size and the memory? When are the loaded instances thrown away? Is this done automatically? Do I have to do something for this? How to avoid my image getting bigger and bigger?
I ask because since working with voyage, I had several times an image which became slower and slower and at the end freezed. I assume that I make something wrong here.
And, as a last point, after
VOMongoRepository allInstancesDo: #reset.
saving an Instance from inspector (or from my application) which was opened before the #reset will be saved as a new object in mongo. So it duplicates the objects in the database. Is this ok?
Regards
Sabine
|