_pm.flush();
endTx(_pm);
}
OpenJPAEntityManager pm = getPM();
InstanceCallbacksTest callbacks = (InstanceCallbacksTest)
pm.find(InstanceCallbacksTest.class, oid);
assertNoCallbacksInvoked(callbacks);
assertEquals("getonetoone strng is not jdoprestore", "jdoPreStore",
callbacks.getOneOne().getStringField());
endEm(pm);
}