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());
// create two NotSubClass, store them
NotSubClass ns = new NotSubClass();
ns.setName("foo");
pm.saveObject(ns);