switchDatasource(PersistenceManagerFactoryName.nontransactional);
getExecutionContext().setProperty(PROP_DETACH_ON_CLOSE, true);
testAddQueriedParentToBidirChild(NEW_PM_START_END);
}
private void testAddQueriedParentToBidirChild(StartEnd startEnd) throws EntityNotFoundException {
testAddQueriedParentToBidirChild(new HasOneToManySet(), new BidirMiddle(), startEnd,
getEntityKind(BidirTop.class));
testAddQueriedParentToBidirChild(new HasOneToManySet(), new BidirTop(), startEnd,
getEntityKind(BidirTop.class));
testAddQueriedParentToBidirChild(new HasOneToManySet(), new BidirBottom(), startEnd,
getEntityKind(BidirTop.class));
}