generate concrete entity if not exists