ObjectIOException, ObjectIODataCorruptedException, TestException,
FilePersistenceTooBigForSerializationException, HeapException {
final IExclusiveDataAccessSession session = filePersistence
.createExclusiveDataAccessSession();
session.open();
final IInstanceFactory instanceFactory = session.getInstanceFactory();
Bob1 bob1 = Bob1.newInstance(instanceFactory, true);
bob1.setVal(10);
session.save();
final DataRecordIdentifier dataRecordIdentifier = filePersistence
.getCurrentDataRecordIdentifierAssociatedToObject(bob1);