Added ViewEntry support to Factory.getParentDatabase