| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Criterion
An object-oriented representation of a query criterion that may be used as a restriction in a Criteria query. Built-in criterion types are provided by the Restrictions factory class. This interface might be implemented by application classes that define custom restriction criteria.
Restrictions, 
Criteria| Method Summary | |
|---|---|
|  TypedValue[] | getTypedValues(Criteria criteria,
               CriteriaQuery criteriaQuery)Return typed values for all parameters in the rendered SQL fragment | 
|  String | toSqlString(Criteria criteria,
            CriteriaQuery criteriaQuery)Render the SQL fragment | 
| Method Detail | 
|---|
String toSqlString(Criteria criteria,
                   CriteriaQuery criteriaQuery)
                   throws HibernateException
criteria - The local criteriacriteriaQuery - The overal criteria query
HibernateException - Problem during rendering.
TypedValue[] getTypedValues(Criteria criteria,
                            CriteriaQuery criteriaQuery)
                            throws HibernateException
criteria - The local criteriacriteriaQuery - The overal criteria query
HibernateException - Problem determining types.| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||