Use db entity to show form

Otherwise the PKs of entities in relations might not be set.