Sunday, October 02, 2005

Hibernate Criteria API

http://www.devx.com/Java/Article/28754

Sometimes we use Hibernate but don't know exactly why it is there, since all the work is done as we were using JDBC directly. Check this article for a very nice feature when you are doing a multi-criteria search in your application.

Note that the Expression class is deprecated. Use the Restrictions instead.
Post a Comment