There is a way in Spring Data to find if exists a Name that not contains a Code?
Something like:
existsNameWithDifferentCode(String name, Long code);