props.put("datanucleus.appengine.datastoreEnableXGTransactions", Boolean.TRUE.toString());
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();
HasOneToManyWithUnowned withUnowned =
em.find(HasOneToManyWithUnowned.class, withKey.getId());
assertEquals(2, withUnowned.getOthers().size());
assertEquals(sideB1.getId(), withUnowned.getOthers().get(0).getId());
assertEquals(sideB2.getId(), withUnowned.getOthers().get(1).getId());
commitTxn();
}