public void testObjectForPKTemporary() throws Exception {
DataContext context = createDataContext();
Persistent o1 = context.newObject(Artist.class);
Persistent o2 = context.newObject(Artist.class);
assertSame(o1, DataObjectUtils.objectForPK(context, o1.getObjectId()));
assertSame(o2, DataObjectUtils.objectForPK(context, o2.getObjectId()));
try {
assertNull(DataObjectUtils.objectForPK(context, new ObjectId(