Package org.conserve.objects

Examples of org.conserve.objects.SelfContainingObject


   */
  @Test
  public void testSelfContaining() throws Exception
  {
    PersistenceManager persist = new PersistenceManager(driver, database, login, password);
    SelfContainingObject sco = new SelfContainingObject();
    sco.setSelf(sco);
    persist.saveObject(sco);

    persist = new PersistenceManager(driver, database, login, password);
    List<SelfContainingObject> scos = persist.getObjects(SelfContainingObject.class, new All());
    assertEquals(1, scos.size());
View Full Code Here

TOP

Related Classes of org.conserve.objects.SelfContainingObject

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.