Deciding between database server filtering and writing a filtering algorithm inside the business logic.
Sigiloso
Why hibernate's annotations combined with database engine's inbuilt indexing and searching capabilities make it a no-brainer that filtering should be done at the database level.