Where (attribute of property)

From JRapid

(Redirected from Where)
Jump to: navigation, search

where is an attribute of property.

Contents

Description

The where attribute is used with collection properties. It restricts the domain of the rows that the collection contains through the use of an HQL query.

Usage

<property
   ...
   collection = "set | list | sortedset"
   where = HQL
   ...
/>

Example

 <property name="Sellers" collection = "set" where =  />

See also

Personal tools