How do you cause the criteria.list() to return 0 if nothing is "added" to the hibernate criteria? (The criteria returns all entries in the table.)
How do you cause the criteria.list() to return 0 if nothing is "added" to the hibernate criteria? (The criteria returns all entries in the table.)