@Override
public ObjectAdapter getObject(final Oid oid, final ObjectSpecification hint) throws ObjectNotFoundException,
ObjectPersistenceException {
LOG.debug("getObject " + oid);
final ObjectStoreInstances ins = instancesFor(hint);
final ObjectAdapter object = ins.retrieveObject(oid);
if (object == null) {
throw new ObjectNotFoundException(oid);
} else {
setupReferencedObjects(object);
return object;