Package com.google.appengine.datanucleus.test.jpa.UnownedUpgradeJPA

Examples of com.google.appengine.datanucleus.test.jpa.UnownedUpgradeJPA.HasOneToOneWithUnowned


    props.put("datanucleus.appengine.storageVersion", StorageVersion.PARENTS_DO_NOT_REFER_TO_CHILDREN.name());
    switchDatasource(EntityManagerFactoryName.originalStorageVersion, props);

    // Now read it back as an unowned relationship
    beginTxn();
    HasOneToOneWithUnowned withUnowned = em.find(HasOneToOneWithUnowned.class, withKey.getId());
    assertNotNull(withUnowned.getOther());
    assertEquals(sideB1.getId(), withUnowned.getOther().getId());
    commitTxn();
  }
View Full Code Here

TOP

Related Classes of com.google.appengine.datanucleus.test.jpa.UnownedUpgradeJPA.HasOneToOneWithUnowned

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.