the entity can have any type of id, remove sql detail