Hibernate Criteria API: Multi-Criteria Search Made Easy: "Hibernate Criteria API: Multi-Criteria Search Made Easy
The Hibernate Criteria API, a powerful and flexible alternative to traditional HQL queries, makes writing all those tricky multi-criteria search functions—as well as dynamic queries in general—much easier.
by John Ferguson Smart July 27, 2005
Get comprehensive solutions for building software.
Multi-criteria search functionalities, which allow combinations of many optional criteria fields, are common in modern Web-enabled business applications (see Sidebar 1. When to Use Multi-Criteria Searches). An example of this functionality is an online accommodations database (see Figure 1) that allows users to search accommodations by country, availability, type (hotel, bed and breakfast, etc.), and capacity. All the criteria are optional, and the user may use any combination of criteria."
No comments:
Post a Comment