| Prev Class | Next Class | Frames | No Frames |
| Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Objectorg.hibernate.criterion.NaturalIdentifierMethod Summary | |
TypedValue[] |
|
NaturalIdentifier |
|
String |
|
public TypedValue[] getTypedValues(Criteria criteria, CriteriaQuery criteriaQuery) throws HibernateException
Return typed values for all parameters in the rendered SQL fragment
- Specified by:
- getTypedValues in interface Criterion
- Parameters:
criteria- The local criteriacriteriaQuery- The overal criteria query
- Returns:
- The types values (for binding)
- Throws:
HibernateException- Problem determining types.
public String toSqlString(Criteria criteria, CriteriaQuery criteriaQuery) throws HibernateException
Render the SQL fragment
- Specified by:
- toSqlString in interface Criterion
- Parameters:
criteria- The local criteriacriteriaQuery- The overal criteria query
- Returns:
- The generated SQL fragment
- Throws:
HibernateException- Problem during rendering.