I hope you guys forgive me ... I know this is simple but its proving impossible to google.
I want to write the following hql query: "Are there any instances of Person with name = 'Bob'"
I know I can do a count but that seems like it will unnecessarily chew up processing power when I don't actually need to enumerate all rows.
What is the hql query to do this?