Fast Object Database for Java - with JPA/JDO support

where(restriction) - JPA CriteriaQuery's method

Modify the query to restrict the query result according to the specified boolean expression. Replaces the previously added restriction(s), if any. This method only overrides the return type of the corresponding AbstractQuery method.
restriction - a simple or compound boolean expression
the modified query
JPA 2.0