Package org.conserve.objects

Examples of org.conserve.objects.ListContainingObject


  {
    PersistenceManager pm = new PersistenceManager(driver, database, login, password);
    // drop all tables
    pm.dropTable(Object.class);

    ListContainingObject a = new ListContainingObject();
    a.addStr("1");
    a.addStr("2");
    a.addStr("3");
    a.addStr("4");
    pm.saveObject(a);
    ListContainingObject b = new ListContainingObject();
    b.addStr("5");
    b.addStr("6");
    b.addStr("7");
    b.addStr("8");
    pm.saveObject(b);
    pm.close();

    pm = new PersistenceManager(driver, database, login, password);
View Full Code Here

TOP

Related Classes of org.conserve.objects.ListContainingObject

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.