Add a fetch query to test if is realy a new entity (for integrity constraint)