Hi I'm using db4o in an android application. I want to store multiple objects in a database so I have a loop that adds my objects in the db but if I don't put the close() IN the loop (after each store()), all the objects won't persist the next time I open the db. How is this possible? And how can I put only one close() AFTER the loop without having that problem?
I want to do only one close() because this is expensive in IO and it slows down the application initialization on the phone.
Thanks!