title: Best way to see if an entity exists in the database given a condition in Grails/Hibernate
body: <p>What is the best way to see if an entity/domain is already existing in the database given a condition? Wherein the conditions are checked against the attributes of the entity/domain.</p>
  
  <p>The straight forward way is to query them and check, but in my case, I just need to see if one entity satisfies a condition. So I was thinking if there is a another way?</p>