April 3rd 2008 Archives

Apr 3, 2008

Hibernate Filters

Posted by Anandhan Subbiah in Java, Programming Concepts 1 comment

Hibernate filters provide you with a programmatic way to restrict the result of your query.The advantage is that you can programmatically change filters even though you can’t do it at runtime it is still a better approach. In the following code sample I created a filter called activatedFilter and added it to the User class. [...]