adding abstract entity with long id