session mapper: fetchByCode()