PersistenceManager pm = new PersistenceManager(driver, database, login, password);
// drop all tables
pm.dropTable(Object.class);
// create two OriginalObject, store them.
pm.saveObject(new OriginalObject());
pm.saveObject(new OriginalObject());
// rename OriginalObject to ChangedInheritance
pm.changeName(OriginalObject.class, ChangedInheritance.class);
// change the database schema, adding interface Serialized.
pm.updateSchema(ChangedInheritance.class);