I saved some objects in mapdb like:
import org.mapdb.*;
//open (or create) database
File file = new File(“dbFileName”);
DB db = DBMaker
.newFileDB(file)
.make();
//use map
Map<Integer, MyClass> map = db.hashMap(“mapName”);
map.put(1, myClassInstance);
//commit and close database
db.commit();
db.close();
After that, I changed MyClass, added/removed some fields. How can I access old objects stored in mapdb so I can convert them to new/refactored MyClass and save them again?